Skip to content

Commit

Permalink
unspecified
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbhat1 committed Mar 14, 2024
1 parent 3167fe6 commit b7bb3a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/test/EVMPrecompileTester.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ describe("EVM Test", function () {

it("Transfer function with insufficient balance fails", async function() {
const receiver = '0x70997970C51812dc3A010C7d01b50e0d17dc79C8';
await expectRevert(erc20.transfer(receiver, 10000), "SeiTokensERC20: transfer failed");
await expectRevert.unspecified(erc20.transfer(receiver, 10000), "SeiTokensERC20: transfer failed");
});

it("No Approve and TransferFrom fails", async function() {
const receiver = '0x70997970C51812dc3A010C7d01b50e0d17dc79C8';
const erc20AsOwner2 = erc20.connect(signer2);

await expectRevert(erc20AsOwner2.transferFrom(owner, receiver, 100), "ERC20InsufficientAllowance");
await expectRevert.unspecified(erc20AsOwner2.transferFrom(owner, receiver, 100));
});

it("Approve and TransferFrom functions", async function() {
Expand Down

0 comments on commit b7bb3a9

Please sign in to comment.