Skip to content

Commit

Permalink
update test to remove logic for zkevm-node
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier committed Aug 19, 2024
1 parent 326c1d4 commit 9de821c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions integration-tests/contracts/ethereum_contracts_automation.go
Original file line number Diff line number Diff line change
Expand Up @@ -1368,12 +1368,7 @@ func deployRegistry22(client *seth.Client, opts *KeeperRegistryOpts) (KeeperRegi
return nil, err
}

var allowedReadOnlyAddress common.Address
if chainId == networks.PolygonZkEvmMainnet.ChainID || chainId == networks.PolygonZkEvmCardona.ChainID {
allowedReadOnlyAddress = common.HexToAddress("0x1111111111111111111111111111111111111111")
} else {
allowedReadOnlyAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")
}
allowedReadOnlyAddress := common.HexToAddress("0x0000000000000000000000000000000000000000")

logicBAbi, err := registrylogicb22.AutomationRegistryLogicBMetaData.GetAbi()
if err != nil {
Expand Down Expand Up @@ -1456,12 +1451,7 @@ func deployRegistry23(client *seth.Client, opts *KeeperRegistryOpts) (KeeperRegi
return nil, err
}

var allowedReadOnlyAddress common.Address
if chainId == networks.PolygonZkEvmMainnet.ChainID || chainId == networks.PolygonZkEvmCardona.ChainID {
allowedReadOnlyAddress = common.HexToAddress("0x1111111111111111111111111111111111111111")
} else {
allowedReadOnlyAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")
}
allowedReadOnlyAddress := common.HexToAddress("0x0000000000000000000000000000000000000000")

logicCAbi, err := registrylogicc23.AutomationRegistryLogicCMetaData.GetAbi()
if err != nil {
Expand Down

0 comments on commit 9de821c

Please sign in to comment.