Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> eb008bd6ce6e7cd53b4be57ffe89bfd62a00172c46df644485b0e2fe4155efd6:103:45
|
103 | let vault: @{FungibleToken.Vault} <- self.coa.withdrawTokens(
104 | type: self.vaultType,
105 | amount: amount,
106 | feeProvider: &self.scopedProvider as auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
107 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 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 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Amount to bridge must be greater than 0
--> 1e4aa0b87d10b141.FlowEVMBridgeHandlers:138:12
|
138 | assert(ufixAmount > 0.0, message: "Amount to bridge must be greater than 0")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^