Remove ERC1155 hooks (#3876)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
This commit is contained in:
JulissaDantes
2023-01-10 05:13:05 -05:00
committed by GitHub
parent fbbaf3365b
commit 97bba5adaa
7 changed files with 81 additions and 195 deletions

View File

@ -120,7 +120,7 @@ contract('ERC1155', function (accounts) {
it('reverts when burning a non-existent token id', async function () {
await expectRevert(
this.token.burn(tokenHolder, tokenId, mintAmount),
'ERC1155: burn amount exceeds balance',
'ERC1155: insufficient balance for transfer',
);
});
@ -135,7 +135,7 @@ contract('ERC1155', function (accounts) {
await expectRevert(
this.token.burn(tokenHolder, tokenId, mintAmount.addn(1)),
'ERC1155: burn amount exceeds balance',
'ERC1155: insufficient balance for transfer',
);
});
@ -192,7 +192,7 @@ contract('ERC1155', function (accounts) {
it('reverts when burning a non-existent token id', async function () {
await expectRevert(
this.token.burnBatch(tokenBatchHolder, tokenBatchIds, burnAmounts),
'ERC1155: burn amount exceeds balance',
'ERC1155: insufficient balance for transfer',
);
});