Closed chasebrownn closed 6 months ago
This would never happen. RWA is migrated from TNGBL token, TNGBL token holder migrate 1-to-1 to RWA. And PINFT holders hold an NFT that represents TNGBL tokens that are already minted and accounted for so when it is migrated to veRWA NFT it will only mint RWA == TNGBL that was minted for the original NFT. TNGBL has the same maximum 33,333,333 supply and TNGBL minting is turned off at the moment.
RRR-01M: Inexistent Graceful Handling of Cross-Chain Errors
Description:
All cross-chain messages relayed to the
RealReceiver
can fail due to theRWAToken
reaching its maximum supply, however, none of the functions in theRealReceiver
will gracefully handle such a case.Impact:
The likelihood of the
RWAToken
achieving its maximum supply is an unlikely but possible scenario given that the state betweenRWAToken
implementations is not necessarily in sync. In such a case, cross-chain relayed messages would result in loss of funds as the non-blocking LayerZeroRealReceiver
implementation would permit the failed transactions to be replayed but always fail.Example:
Recommendation:
We advise failure of the relevant migration functions to instead result in the message being relayed back to the origin chain, instructing the original contract to unlock / re-issue the funds it utilized as part of the migration process.