Skip to content

Commit

Permalink
fix: deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Agilulfo1820 committed Oct 12, 2024
1 parent 913527b commit d9d7ad7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/deploy/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,12 @@ export async function deployAll(config: ContractsConfig) {
.toggleCheck(4)
.then(async tx => await tx.wait())

// Assign ACTION_REGISTRAR_ROLE to X2EarnRewardsPool
await veBetterPassport
.connect(deployer)
.grantRole(await veBetterPassport.ACTION_REGISTRAR_ROLE(), await x2EarnRewardsPool.getAddress())
.then(async tx => await tx.wait())

// ---------- Configure contract roles for setup ---------- //

console.log("================ Configuring contract roles for setup")
Expand Down

0 comments on commit d9d7ad7

Please sign in to comment.