[Error Code: 1300] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 8edc00f1fcd3b72587a33c7f4e6707bc416d2be1a738297f5bde52223aaf30e4:96:45 | 96 | let vault: @{FungibleToken.Vault} <- self.coa.withdrawTokens( 97 | type: self.vaultType, 98 | amount: amount, 99 | feeProvider: &self.scopedProvider as auth(FungibleToken.Withdraw) &{FungibleToken.Provider} 100 | ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> b6763b4399a888c8.EVM:366:22 | 366 | return <- EVM.borrowBridgeAccessor().withdrawTokens( 367 | caller: &self as auth(Call) &CadenceOwnedAccount, 368 | type: type, 369 | amount: amount, 370 | feeProvider: feeProvider 371 | ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 7d29f084fc7b2b84.FlowEVMBridgeAccessor:136:22 | 136 | return <- FlowEVMBridge.bridgeTokensFromEVM( 137 | owner: caller.address(), 138 | type: type, 139 | amount: amount, 140 | feeProvider: feeProvider, 141 | protectedTransferCall: callback 142 | ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 7d29f084fc7b2b84.FlowEVMBridge:478:8 | 478 | FlowEVMBridgeUtils.mustEscrowERC20( 479 | owner: owner, 480 | amount: amount, 481 | erc20Address: associatedAddress, 482 | protectedTransferCall: protectedTransferCall 483 | ) | ^ --> 7d29f084fc7b2b84.FlowEVMBridgeUtils:1218:29 | 1218 | let transferResult = protectedTransferCall() | ^^^^^^^^^^^^^^^^^^^^^^^ --> 7d29f084fc7b2b84.FlowEVMBridgeAccessor:124:23 | 124 | return caller.call( 125 | to: FlowEVMBridge.getAssociatedEVMAddress(with: type) 126 | ?? panic("No EVM address associated with type"), 127 | data: EVM.encodeABIWithSignature( 128 | "transfer(address,uint256)", 129 | [FlowEVMBridge.getBridgeCOAEVMAddress(), amount] 130 | ), 131 | gasLimit: 15000000, 132 | value: EVM.Balance(attoflow: 0) 133 | ) | ^^^^^^^^^^^^^^^^^^^^ error: [Error Code: 1300] evm runtime error: insufficient computation --> b6763b4399a888c8.EVM:312:12 | 312 | return InternalEVM.call( 313 | from: self.addressBytes, 314 | to: to.bytes, 315 | data: data, 316 | gasLimit: gasLimit, 317 | value: value.attoflow 318 | ) as! Result | ^^^^^^^^^^^^
Loading...
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!