From a287f33fd702927969223e1e1a20309a02fa049c Mon Sep 17 00:00:00 2001 From: "marko.b" Date: Tue, 3 Oct 2023 23:01:33 +0200 Subject: [PATCH] make comment better --- deploy/006_deploy_roles_redistribution.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/006_deploy_roles_redistribution.ts b/deploy/006_deploy_roles_redistribution.ts index 6a3ca28e..199b2641 100644 --- a/deploy/006_deploy_roles_redistribution.ts +++ b/deploy/006_deploy_roles_redistribution.ts @@ -7,7 +7,8 @@ const func: DeployFunction = async function ({ deployments, getNamedAccounts }) log('Setting Redistribution roles'); const redisAddress = (await get('Redistribution')).address; - // This Role executions are also done in other steps for, but tests will fail if this is not used unless they are changed + // This Role executions are also done in other steps, but tests will fail as currently round numbers are coded with this + // transactions happening, each transaction mines one block, so some tests fail as they are bounded by mining of this trx/blocks const redistributorRoleStakeRegistry = await read('StakeRegistry', 'REDISTRIBUTOR_ROLE'); await execute('StakeRegistry', { from: deployer }, 'grantRole', redistributorRoleStakeRegistry, redisAddress);