Skip to content

Commit 3500089

Browse files
update test to remove logic for zkevm-node (#14143)
1 parent 8cea1b2 commit 3500089

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

integration-tests/contracts/ethereum_contracts_automation.go

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,12 +1368,7 @@ func deployRegistry22(client *seth.Client, opts *KeeperRegistryOpts) (KeeperRegi
13681368
return nil, err
13691369
}
13701370

1371-
var allowedReadOnlyAddress common.Address
1372-
if chainId == networks.PolygonZkEvmMainnet.ChainID || chainId == networks.PolygonZkEvmCardona.ChainID {
1373-
allowedReadOnlyAddress = common.HexToAddress("0x1111111111111111111111111111111111111111")
1374-
} else {
1375-
allowedReadOnlyAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")
1376-
}
1371+
allowedReadOnlyAddress := common.HexToAddress("0x0000000000000000000000000000000000000000")
13771372

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

1459-
var allowedReadOnlyAddress common.Address
1460-
if chainId == networks.PolygonZkEvmMainnet.ChainID || chainId == networks.PolygonZkEvmCardona.ChainID {
1461-
allowedReadOnlyAddress = common.HexToAddress("0x1111111111111111111111111111111111111111")
1462-
} else {
1463-
allowedReadOnlyAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")
1464-
}
1454+
allowedReadOnlyAddress := common.HexToAddress("0x0000000000000000000000000000000000000000")
14651455

14661456
logicCAbi, err := registrylogicc23.AutomationRegistryLogicCMetaData.GetAbi()
14671457
if err != nil {

0 commit comments

Comments
 (0)