Skip to content

Commit 8cf90f5

Browse files
authored
Merge branch 'main' into expand-npm-job-triggers
2 parents 86b332f + 9f41818 commit 8cf90f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/08_configure_keep_registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import { DeployFunction } from "hardhat-deploy/types"
33

44
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
55
const { getNamedAccounts, deployments } = hre
6-
const { keepRegistryKeeper } = await getNamedAccounts()
6+
const { keepRegistryKeeper, deployer } = await getNamedAccounts()
77
const { execute, log } = deployments
88

99
const TokenStaking = await deployments.get("TokenStaking")
1010

1111
await execute(
1212
"KeepRegistry",
13-
{ from: keepRegistryKeeper },
13+
{ from: keepRegistryKeeper || deployer },
1414
"approveOperatorContract",
1515
TokenStaking.address
1616
)

0 commit comments

Comments
 (0)