Skip to content

Commit

Permalink
Adapt address-getters to op-geth library changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezdac committed Jan 7, 2025
1 parent 367a2c7 commit e4269e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions op-chain-ops/cmd/celo-migrate/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ var (
BaklavaNetworkID: common.HexToAddress("0x022c5d5837E177B6d145761feb4C5574e5b48F5e"),
}
celoTokenAddressMap = map[uint64]common.Address{
AlfajoresNetworkID: addresses.CeloTokenAlfajoresAddress,
BaklavaNetworkID: addresses.CeloTokenBaklavaAddress,
MainnetNetworkID: addresses.CeloTokenAddress,
AlfajoresNetworkID: addresses.MainnetAddresses.CeloToken,
BaklavaNetworkID: addresses.BaklavaAddresses.CeloToken,
MainnetNetworkID: addresses.MainnetAddresses.CeloToken,
}
)

Expand Down
2 changes: 1 addition & 1 deletion op-e2e/system/fees/fees_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func testFees(t *testing.T, cfg e2esys.SystemConfig) {

baseFeeRecipient := predeploys.BaseFeeVaultAddr
if sys.RollupConfig.IsCel2(sys.L2GenesisCfg.Timestamp) {
baseFeeRecipient = addresses.FeeHandlerAddress
baseFeeRecipient = addresses.GetAddresses(cfg.L2ChainIDBig()).FeeHandler
}
// BaseFee Recipient
baseFeeRecipientStartBalance, err := l2Seq.BalanceAt(context.Background(), baseFeeRecipient, big.NewInt(rpc.EarliestBlockNumber.Int64()))
Expand Down

0 comments on commit e4269e9

Please sign in to comment.