From d9d7ad7b6b98531ab18408baa47271b185dc55af Mon Sep 17 00:00:00 2001 From: Dan Rusnac Date: Sat, 12 Oct 2024 15:03:34 +0200 Subject: [PATCH] fix: deploy script --- scripts/deploy/deploy.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/deploy/deploy.ts b/scripts/deploy/deploy.ts index f05f64d..c1c0206 100644 --- a/scripts/deploy/deploy.ts +++ b/scripts/deploy/deploy.ts @@ -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")