Skip to content

Commit

Permalink
Merge pull request #16 from malba-blockchain/patch-1
Browse files Browse the repository at this point in the history
Improvement opportunities on deployment script
  • Loading branch information
Aboudjem authored Jun 4, 2024
2 parents efdcc96 + e400398 commit 72fbe27
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/fixtures/deploy-full-suite.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export async function deployFullSuiteFixture() {
);

await identityRegistry.grantRole(AGENT_ROLE, tokenAgent.address);
await identityRegistry.grantRole(AGENT_ROLE, token.address);
await identityRegistry.grantRole(TOKEN_ROLE, token.address);

await identityRegistry
.connect(tokenAgent)
Expand Down Expand Up @@ -235,13 +235,9 @@ export async function deployFullSuiteFixture() {
""
);

await token.grantRole(AGENT_ROLE, tokenAgent.address);

await token.connect(tokenAgent).mint(aliceWallet.address, 1000);
await token.connect(tokenAgent).mint(bobWallet.address, 500);

await identityRegistry.grantRole(AGENT_ROLE, tokenAgent.address);

return {
accounts: {
deployer,
Expand Down

0 comments on commit 72fbe27

Please sign in to comment.