Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Nov 28, 2023
1 parent fc25c49 commit 3548b65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions deploy/60_validate_upgrade_token_staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
TokenStaking,
{
constructorArgs: tokenStakingConstructorArgs,
}
},
)

log(`Current TokenStaking implementation is compatible with existing deployment at ${TokenStakingDeployment.address}`)
log(
`Current TokenStaking implementation is compatible with existing deployment at ${TokenStakingDeployment.address}`,
)
}
}

Expand Down
8 changes: 4 additions & 4 deletions deploy/61_prepare_upgrade_token_staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
TokenStaking,
{
constructorArgs: tokenStakingConstructorArgs,
kind: 'transparent',
}
kind: "transparent",
},
)

log(`Deployed new TokenStaking implementation contract at ${implAddress}`)
Expand All @@ -50,15 +50,15 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
if (err) {
console.log(err)
}
}
},
)

// initialize implementation
const { deployer } = await getNamedAccounts()
await execute(
"TokenStaking",
{ from: deployer, to: implAddress },
"initialize"
"initialize",
)
}
}
Expand Down

0 comments on commit 3548b65

Please sign in to comment.