Skip to content

Commit

Permalink
update test to remove logic for zkevm-node (#14143)
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier authored Aug 27, 2024
1 parent 8cea1b2 commit 3500089
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 3500089

Please sign in to comment.