-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated ERC1155 tests #2107
Updated ERC1155 tests #2107
Conversation
* Initial ERC1155 implementation with some tests * Remove mocked isERC1155TokenReceiver * Revert reason edit nit * Remove parameters associated with isERC1155TokenReceiver call * Add tests for approvals and single transfers * Add tests for transferring to contracts * Add tests for batch transfers * Make expectEvent.inTransaction tests async * Renamed "owner" to "account" and "holder" * Document unspecified balanceOfBatch reversion on zero behavior * Ensure accounts can't set their own operator status * Specify descriptive messages for underflow errors * Bring SafeMath.add calls in line with OZ style * Explicitly prevent _burn on the zero account * Implement batch minting/burning * Refactored operator approval check into isApprovedForAll calls * Renamed ERC1155TokenReceiver to ERC1155Receiver * Added ERC1155Holder * Fix lint issues
Hi all! |
Definitely relevant! We'll start ramping up work on ERC1155 next week. |
Oof, I completely missed this PR. We should review it once #2267 is in. |
Hi all! |
@nventuro What's the status of this PR? |
I'd like to wait until #2291 is in, so we can use it to guide the test development process in case we're missing coverage. |
Hi all! |
Waiting for #2291. |
Hi all! |
Fixes #
ERC1155 tests has been updated.
This PR is related to the mentioned tasks in PR #2014