Commit 3cbd9fe2 authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: initialize L2StandardBridge in state

https://github.com/ethereum-optimism/optimism/pull/8377 is very
important because it would catch the regression of this not
being caught
parent 32e59853
...@@ -828,7 +828,10 @@ func NewL2StorageConfig(config *DeployConfig, block *types.Block) (state.Storage ...@@ -828,7 +828,10 @@ func NewL2StorageConfig(config *DeployConfig, block *types.Block) (state.Storage
"xDomainMsgSender": "0x000000000000000000000000000000000000dEaD", "xDomainMsgSender": "0x000000000000000000000000000000000000dEaD",
"msgNonce": 0, "msgNonce": 0,
} }
storage["L2StandardBridge"] = state.StorageValues{} storage["L2StandardBridge"] = state.StorageValues{
"_initialized": 1,
"_initializing": false,
}
storage["L1Block"] = state.StorageValues{ storage["L1Block"] = state.StorageValues{
"number": block.Number(), "number": block.Number(),
"timestamp": block.Time(), "timestamp": block.Time(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment