Erc1155 implementation#145
Conversation
Coverage Report
Last updated: Fri, 31 Oct 2025 13:47:18 GMT for commit |
There was a problem hiding this comment.
Great work! @aapsi @FrankiePower Please check the comment for request changes & fix the formatting errors in the CI.
I think we need to handle the receiver check for minting for built-in security. OZ do it be internally using _updateWithAcceptanceCheck . I asked @mudgen, let's see.
…ter descriptions and added IERC1155Receiver interface implementation in a new file.
There was a problem hiding this comment.
Great work! @FrankiePower & @aapsi . Everything good except a small misunderstanding coming from my last review (check the comment for detail)
Once this is done, we can merge it
|
@FrankiePower Please review the implementation once |
Gas ReportNo gas usage changes detected between All functions maintain the same gas costs. ✅ Last updated: Fri, 31 Oct 2025 13:47:36 GMT for commit |
…safeBatchTransferFrom, and adjust baseURI handling in ERC1155Storage
|
@FrankiePower I saw that you had issues with the formatting when running We got similar issues. It was related to the foundry version. Different versions can result to different formatting rules. The CI use In the meantime, i'm currently researching for a fix to avoid mismatch formatting and avoid requiring everyone to upgrade. |
There was a problem hiding this comment.
i have nothing else to add. great jobs to both of you @FrankiePower & @aapsi.
as always, thanks for the contribution. we really appreciate your help.
@aapsi, for the extension, let's open new issues for them
…-Implementation Erc1155 implementation
Summary
Changes Made
Checklist
Before submitting this PR, please ensure:
Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions,
using fordirectives, orselfdestructCode follows Design Principles - Readable, uses diamond storage, favors composition over inheritance
Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)
Code is formatted with
forge fmtTests are included - All new functionality has comprehensive tests
All tests pass - Run
forge testand ensure everything worksDocumentation updated - If applicable, update relevant documentation
Make sure to follow the CONTRIBUTING.md guidelines.
Additional Notes