Skip to content
Closed

ERC1363 #3017

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test for compilers >= 0.8.10
  • Loading branch information
Amxx committed Jul 6, 2022
commit eadcad5e6945462b3e1d056ec770353207ed57c5
6 changes: 3 additions & 3 deletions test/token/ERC20/extensions/ERC1363.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ contract('ERC1363', function (accounts) {
value,
{ from: holder },
),
'function call to a non-contract account',
'function returned an unexpected amount of data',
);
});

Expand Down Expand Up @@ -116,7 +116,7 @@ contract('ERC1363', function (accounts) {
value,
{ from: operator },
),
'function call to a non-contract account',
'function returned an unexpected amount of data',
);
});

Expand Down Expand Up @@ -199,7 +199,7 @@ contract('ERC1363', function (accounts) {
it('to EOA', async function () {
await expectRevert(
this.token.methods['approveAndCall(address,uint256)'](other, value, { from: holder }),
'function call to a non-contract account',
'function returned an unexpected amount of data',
);
});

Expand Down