Skip to content

Commit

Permalink
feat(test): moves attestation address getter
Browse files Browse the repository at this point in the history
  • Loading branch information
aminah-io committed Oct 16, 2023
1 parent 7357ba7 commit 1c2ba2b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/GitcoinPassportDecoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ describe("GitcoinPassportDecoder", function () {
);
this.gitcoinAttester = await GitcoinAttester.deploy();
await this.gitcoinAttester.connect(this.owner).initialize();
this.gitcoinAttesterAddress = await this.gitcoinAttester.getAddress();

await this.gitcoinAttester.setEASAddress(EAS_CONTRACT_ADDRESS);


// Deploy GitcoinVerifier
const GitcoinVerifier = await ethers.getContractFactory(
"GitcoinVerifier",
this.owner
);
this.gitcoinVerifier = await GitcoinVerifier.deploy();


this.gitcoinAttesterAddress = await this.gitcoinAttester.getAddress();
await this.gitcoinAttester.setEASAddress(EAS_CONTRACT_ADDRESS);

await this.gitcoinVerifier
.connect(this.owner)
.initialize(
Expand Down

0 comments on commit 1c2ba2b

Please sign in to comment.