Skip to content

Commit

Permalink
make comment better
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError committed Oct 3, 2023
1 parent c0b09b0 commit a287f33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/006_deploy_roles_redistribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a287f33

Please sign in to comment.