-
Notifications
You must be signed in to change notification settings - Fork 59
feat: ERC1155Burnable
extension
#417
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
5e96f2c
feat: add burnable
0xNeshi b22707d
test: add e2e tests
0xNeshi e4b47a8
ref(test): cleanup
0xNeshi 0296a22
ref: use function_selector macro to calc receiver selectors
0xNeshi 7a18f4a
docs: add changelog
0xNeshi b98e52c
test: add new unit tests
0xNeshi bab64f1
ref(test): use U256::ZERO instead of uint!(0_U256)
0xNeshi dd00bb5
docs: add adoc file
0xNeshi 7e32ca7
ref(docs): reword _do_burn InsufficientBalance error descr
0xNeshi 6f71064
ref(docs): add missing errors
0xNeshi 42083a3
ref(docs): remove redundant newline from changelog
0xNeshi e2db9cc
ref(test): remove the need for setOperatorApprovals
0xNeshi 407541b
chore: add benches
0xNeshi 6b85438
test: add back setOperatorApprovals
0xNeshi 204565d
docs: add missing PR id to changelog
0xNeshi 7ab0e79
docs: update comments/test messages as per review suggestions
0xNeshi 791f35c
Merge branch 'main' into feat/erc1155-burnable
0xNeshi bc948de
docs: update fn descriptions
0xNeshi 3cfbd42
docs: remove requirements sections from trait
0xNeshi ca6e107
ref: extract ensure_approved_or_owner helper
0xNeshi 9a70959
ref(test): update random_values to return non-random values
0xNeshi f6b44d6
ref(test): import random_[values/token_ids] from erc1155/mod.rs
0xNeshi 8cc41e4
test: add missing insufficient balance tests for burn(batch)
0xNeshi 3fa8c90
test(erc20): fix error_when_transfer_from_in_paused_state test name
0xNeshi 7f45244
test: revert changes to e2e-tests.sh
0xNeshi 55a7e5f
docs: fix comment in erc20burnable
0xNeshi a4d790d
docs: fix comments
0xNeshi 0366a32
test: add missing insufficient balance unit tests
0xNeshi 66273e6
test: change ERC1155InsufficientBalance.id to tokenId in e2e
0xNeshi ad7cf87
test: fix tests in burnable
0xNeshi fbe49c1
test: use fn selector consts in erc1155 unit tests
0xNeshi 44c0fac
revert: erc20 test name
0xNeshi 12dab5e
test: remove setOperatorApproval + remove burn for invalid sender tests
0xNeshi 7c472c4
Merge branch 'main' into feat/erc1155-burnable
0xNeshi 797a5a3
fix burn in benches
qalisander 99065ab
Add restriction on the number of benchmarks running in parallel.
qalisander b6dbd4e
doc fix
qalisander ae8aa81
ref: remove unused 'report' import from benches/main
0xNeshi e5cc231
docs: fix URL in adoc
0xNeshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ koba.workspace = true | |
e2e.workspace = true | ||
serde = "1.0.203" | ||
keccak-const = "0.2.0" | ||
itertools = "0.13.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.