@@ -13,10 +13,9 @@ import (
1313)
1414
1515type InteropDevRecipe struct {
16- L1ChainID uint64
17- L2ChainIDs []uint64
18- GenesisTimestamp uint64
19- MessageExpiryTime uint64
16+ L1ChainID uint64
17+ L2ChainIDs []uint64
18+ GenesisTimestamp uint64
2019}
2120
2221func (r * InteropDevRecipe ) Build (addrs devkeys.Addresses ) (* WorldConfig , error ) {
@@ -90,7 +89,7 @@ func (r *InteropDevRecipe) Build(addrs devkeys.Addresses) (*WorldConfig, error)
9089 L2s : make (map [string ]* L2Config ),
9190 }
9291 for _ , l2ChainID := range r .L2ChainIDs {
93- l2Cfg , err := InteropL2DevConfig (r .L1ChainID , l2ChainID , addrs , r . MessageExpiryTime )
92+ l2Cfg , err := InteropL2DevConfig (r .L1ChainID , l2ChainID , addrs )
9493 if err != nil {
9594 return nil , fmt .Errorf ("failed to generate L2 config for chain %d: %w" , l2ChainID , err )
9695 }
@@ -126,7 +125,7 @@ func prefundL2Accounts(l1Cfg *L1Config, l2Cfg *L2Config, addrs devkeys.Addresses
126125 return nil
127126}
128127
129- func InteropL2DevConfig (l1ChainID , l2ChainID uint64 , addrs devkeys.Addresses , messageExpiryTime uint64 ) (* L2Config , error ) {
128+ func InteropL2DevConfig (l1ChainID , l2ChainID uint64 , addrs devkeys.Addresses ) (* L2Config , error ) {
130129 // Padded chain ID, hex encoded, prefixed with 0xff like inboxes, then 0x02 to signify devnet.
131130 batchInboxAddress := common .HexToAddress (fmt .Sprintf ("0xff02%016x" , l2ChainID ))
132131 chainOps := devkeys .ChainOperatorKeys (new (big.Int ).SetUint64 (l2ChainID ))
0 commit comments