-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Make
ERC1155
Module-Friendly (#238)
### 🕓 Changelog This PR refactors the `ERC1155` contract to make it module-friendly and ready for the breaking `0.4.0` release. Please note that we remove the zero address check from the function `balanceOf` in the `ERC1155`. In addition, we consistently use the contract name for all string revert reasons in all contracts. Eventually, I downgrade Python to version 3.11 in the CI pipelines due to some noisy deprecation warnings. --------- Signed-off-by: Pascal Marco Caversaccio <[email protected]>
- Loading branch information
1 parent
17ccb43
commit 5cf5ad5
Showing
19 changed files
with
379 additions
and
342 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
architecture: | ||
- x64 | ||
python_version: | ||
- 3.12 | ||
- 3.11 | ||
|
||
steps: | ||
- name: Checkout | ||
|
This file contains 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,7 +17,7 @@ jobs: | |
architecture: | ||
- x64 | ||
python_version: | ||
- 3.12 | ||
- 3.11 | ||
|
||
steps: | ||
- name: Checkout | ||
|
This file contains 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
architecture: | ||
- x64 | ||
python_version: | ||
- 3.12 | ||
- 3.11 | ||
node_version: | ||
- 20 | ||
|
||
|
This file contains 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 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 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.