Skip to content

Commit

Permalink
fix switch case in DeployKeeperRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier committed Nov 2, 2023
1 parent de58d57 commit 9475e1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions integration-tests/contracts/contract_deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -876,20 +876,20 @@ func (e *EthereumContractDeployer) DeployKeeperRegistry(
opts *KeeperRegistryOpts,
) (KeeperRegistry, error) {
var mode uint8
switch e.client.GetChainID() {
switch e.client.GetChainID().Int64() {
//Arbitrum payment model
//Goerli Arbitrum
case big.NewInt(421613):
case 421613:
mode = uint8(1)
//Sepolia Arbitrum
case big.NewInt(421614):
case 421614:
mode = uint8(1)
//Optimism payment model
//Goerli Optimism
case big.NewInt(420):
case 420:
mode = uint8(2)
//Goerli Base
case big.NewInt(84531):
case 84531:
mode = uint8(2)
default:
mode = uint8(0)
Expand Down

0 comments on commit 9475e1c

Please sign in to comment.