Skip to content

Commit

Permalink
op-chain-ops: add L2ToL2CrossDomainMessenger to genesis config
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfuturistic committed Mar 22, 2024
1 parent 5a9cff5 commit e087e4c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions op-chain-ops/genesis/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,9 @@ func NewL2ImmutableConfig(config *DeployConfig, block *types.Block) (*immutables
}{
Name: "EAS",
},
Create2Deployer: struct{}{},
CrossL2Inbox: struct{}{},
Create2Deployer: struct{}{},
CrossL2Inbox: struct{}{},
L2ToL2CrossDomainMessenger: struct{}{},
}

if err := cfg.Check(); err != nil {
Expand Down Expand Up @@ -942,6 +943,9 @@ func NewL2StorageConfig(config *DeployConfig, block *types.Block) (state.Storage
storage["ProxyAdmin"] = state.StorageValues{
"_owner": config.ProxyAdminOwner,
}
storage["L2ToL2CrossDomainMessenger"] = state.StorageValues{
"msgNonce": 0,
}
return storage, nil
}

Expand Down

0 comments on commit e087e4c

Please sign in to comment.