If you want to make your ERC-1155 contract upgradeable or you hit the max contract size limit then consider using the Diamond Standard, which is
EIP-2535.
ERC-1155 mentions
EIP-2535 in the Upgrades section.
ERC-1155 says this:
To alleviate the need to emit events when changing contract address, consider using the proxy pattern, such as described in EIP-2535. This will also have the added benefit of providing a stable contract address for users.
Also, one of the authors (Ronan Sandford) of ERC-1155 is currently building tooling for EIP-2535. Here is a link to his announcement:
Invalid consumer key/secret in configuration
Here's a couple articles about EIP-2535:
Understanding Diamonds on Ethereum
Ethereum's Maximum Contract Size Limit is Solved with the Diamond Standard
I am the author of EIP-2535 so if you have any questions let me know.
原文地址:https://www.reddit.com/r/EnjinCoin/comments/hu074k/diamond_standard_for_upgrading_erc1155_contracts/