The Flow team has a tentative plan to upgrade the FT and NFT smart contracts on mainnet on Oct 1st, 2024. This is a non-breaking change and will only update the common error messages that are emitted from these contracts when something unexpected happens. More details about the change below.
Expected dates to get the changes in effect is as follows:
- Testnet: Friday, September 26th
And assuming that the upgrades on testnet go well,
- Mainnet: Tuesday, October 1st
This will give us enough time to make sure the upgrades are functioning properly on non-mainnet networks.
The changes to these contracts that will be used for the upgrade can be found in these pull requests:
Fungible Token Contracts:
Non-Fungible Token Contracts:
- Adds more descriptive and helpful error messages to the NFT contracts and txs by joshuahannan · Pull Request #233 · onflow/flow-nft · GitHub
- Clean up error messages to have consistent format by joshuahannan · Pull Request #235 · onflow/flow-nft · GitHub
The changes are documented in the PRs and involve updates to all the major FT and NFT contracts.
The change is backward compatible for all code.
Note - We are open to changing the timeline if the community provides feedback on the suggested change.
Developers are also encouraged to review these changes and think about how thorough error messages like this can be integrated into their own contracts, transactions, and scripts. They are also encouraged to copy these new versions and replace them in their own repos and apps if they are using the same transactions that are updated there.
If you have any questions regarding these changes, please ask in the PR comments, on Discord in the #4d-ux-builders
channel.