Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 5712b3f475608b05fdeb8ba6ae61a48ec468118c85dbd7299b8d378f289d36b0:104:45
|
104 | let vault: @{FungibleToken.Vault} <- self.coa.withdrawTokens(
105 | type: self.vaultType,
106 | amount: amount,
107 | feeProvider: &self.scopedProvider as auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
108 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> e467b9dd11fa00df.EVM:505:22
|
505 | return <- EVM.borrowBridgeAccessor().withdrawTokens(
506 | caller: &self as auth(Call) &CadenceOwnedAccount,
507 | type: type,
508 | amount: amount,
509 | feeProvider: feeProvider
510 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeAccessor:137:22
|
137 | return <- FlowEVMBridge.bridgeTokensFromEVM(
138 | owner: caller.address(),
139 | type: type,
140 | amount: amount,
141 | feeProvider: feeProvider,
142 | protectedTransferCall: callback
143 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridge:466:21
|
466 | return <-handler.fulfillTokensFromEVM(
467 | owner: owner,
468 | type: type,
469 | amount: amount,
470 | protectedTransferCall: protectedTransferCall
471 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeHandlers:140:12
|
140 | FlowEVMBridgeUtils.mustEscrowERC20(
141 | owner: owner,
142 | amount: amount,
143 | erc20Address: evmAddress,
144 | protectedTransferCall: protectedTransferCall
145 | )
| ^
error: assertion failed: Caller does not have sufficient balance to bridge requested tokens
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:1239:8
|
1239 | assert(hasSufficientBalance, message: "Caller does not have sufficient balance to bridge requested tokens")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^