Skip to content

Commit 497d267

Browse files
committed
Remove renounceRole logic since it is not neccesary
1 parent 098e534 commit 497d267

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

deployment/vault/changeset/ethbalmon_renounce_ownership.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

deployment/vault/changeset/ethbalmon_setKeeperRegistryAddress.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66

77
"github.com/Masterminds/semver/v3"
88
"github.com/ethereum/go-ethereum/common"
9+
cldf_evm "github.com/smartcontractkit/chainlink-deployments-framework/chain/evm"
910
cldf "github.com/smartcontractkit/chainlink-deployments-framework/deployment"
1011
"github.com/smartcontractkit/chainlink-deployments-framework/operations"
1112
"github.com/smartcontractkit/chainlink-evm/gethwrappers/generated/eth_balance_monitor_wrapper"
@@ -32,7 +33,17 @@ func (sk setKeeperRegistryAddress) Apply(
3233
"numChains", len(config.Chains),
3334
)
3435

36+
evmChains := e.BlockChains.EVMChains()
37+
38+
var primaryChain cldf_evm.Chain
39+
for chainSelector := range config.Chains {
40+
primaryChain = evmChains[chainSelector]
41+
break
42+
}
43+
3544
deps := VaultDeps{
45+
Auth: primaryChain.DeployerKey,
46+
Chain: primaryChain,
3647
Environment: e,
3748
DataStore: e.DataStore,
3849
}
@@ -123,6 +134,7 @@ var SetKeeperRegistryOperation = operations.NewOperation(
123134

124135
evmChains := deps.Environment.BlockChains.EVMChains()
125136

137+
// Move this to the sequence
126138
for chainSelector, chainConfig := range input.Chains {
127139
chain, ok := evmChains[chainSelector]
128140
if !ok {

0 commit comments

Comments
 (0)