If the storage.used
increasing during the withdraw, the bridging transaction will be broken.
#125
Labels
storage.used
increasing during the withdraw, the bridging transaction will be broken.
#125
Instructions
Bridge a NFT or FT which storage.used will be increated during the withdrawal.
Problem
The bridging to evm transaction will be in a error.
Steps to Reproduce
Transaction Sample: https://www.flowdiver.io/tx/0e84fe1f20b56b025647bf55135a38fdea40f371172128e2fc46d019c949b95f?tab=script
Panic line: https://github.com/onflow/flow-evm-bridge/blob/main/cadence/transactions/bridge/tokens/bridge_tokens_to_evm.cdc#L67
All Fixes FT will have a chance to add metadata to Vault during withdraw, so the
storage.used
will be increased.Acceptance Criteria
Not to panic
Context
The text was updated successfully, but these errors were encountered: