We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86b332f + 9f41818 commit 8cf90f5Copy full SHA for 8cf90f5
deploy/08_configure_keep_registry.ts
@@ -3,14 +3,14 @@ import { DeployFunction } from "hardhat-deploy/types"
3
4
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
5
const { getNamedAccounts, deployments } = hre
6
- const { keepRegistryKeeper } = await getNamedAccounts()
+ const { keepRegistryKeeper, deployer } = await getNamedAccounts()
7
const { execute, log } = deployments
8
9
const TokenStaking = await deployments.get("TokenStaking")
10
11
await execute(
12
"KeepRegistry",
13
- { from: keepRegistryKeeper },
+ { from: keepRegistryKeeper || deployer },
14
"approveOperatorContract",
15
TokenStaking.address
16
)
0 commit comments