Skip to content

Commit

Permalink
Fixed ERC3525 dependency version and upgraded hardhat to make ethereu…
Browse files Browse the repository at this point in the history
…m tests more reliable
  • Loading branch information
dankelleher committed Aug 27, 2024
1 parent 4c92156 commit 2c087dd
Show file tree
Hide file tree
Showing 3 changed files with 12,665 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ethereum/smart-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@openzeppelin/test-environment": "^0.1.9",
"@openzeppelin/test-helpers": "^0.5.11",
"@solvprotocol/erc-3525": "^1.1.0",
"@solvprotocol/erc-3525": "1.1.0",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@types/chai": "^4.3.1",
Expand All @@ -48,7 +48,7 @@
"dotenv": "^16.0.3",
"ethers": "^5.7.2",
"ganache-time-traveler": "^1.0.16",
"hardhat": "^2.18.2",
"hardhat": "^2.22.9",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.43",
Expand Down
2 changes: 1 addition & 1 deletion ethereum/smart-contract/test/gatewayToken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@ describe('GatewayToken', async () => {
const balance = await alice.getBalance();
const charge = makeWeiCharge(balance.mul(2));
const shouldFail = gatewayToken.connect(alice).mint(alice.address, gkn1, 0, 0, charge, { value: charge.value });
await expect(shouldFail).to.be.rejectedWith(/sender doesn't have enough funds/);
await expect(shouldFail).to.be.rejectedWith(/Sender doesn't have enough funds/);
});
});

Expand Down
Loading

0 comments on commit 2c087dd

Please sign in to comment.