From 9475e1c2e2fe3a4a6f3e9c9e16b968ec30c0127f Mon Sep 17 00:00:00 2001 From: anirudhwarrier <12178754+anirudhwarrier@users.noreply.github.com> Date: Thu, 2 Nov 2023 19:13:08 +0400 Subject: [PATCH] fix switch case in DeployKeeperRegistry --- integration-tests/contracts/contract_deployer.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/integration-tests/contracts/contract_deployer.go b/integration-tests/contracts/contract_deployer.go index 993fd3ac248..e203d8318f2 100644 --- a/integration-tests/contracts/contract_deployer.go +++ b/integration-tests/contracts/contract_deployer.go @@ -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)