Whoops! 😨 Something unexpected happened...
[Error Code: 1300] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1b0d10dc488af8c19200b170e7ddb870b038d44a4847e796e101c25c65383be4:97:45
|
97 | let vault: @{FungibleToken.Vault} <- self.coa.withdrawTokens(
98 | type: self.vaultType,
99 | amount: amount,
100 | feeProvider: &self.scopedProvider as auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
101 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 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:483:25
|
483 | let ufixAmount = FlowEVMBridgeUtils.convertERC20AmountToCadenceAmount(amount, erc20Address: associatedAddress)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:710:22
|
710 | decimals: self.getTokenDecimals(evmContractAddress: erc20Address)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:532:25
|
532 | let callResult = self.call(
533 | signature: "decimals()",
534 | targetEVMAddress: evmContractAddress,
535 | args: [],
536 | gasLimit: FlowEVMBridgeConfig.gasLimit,
537 | value: 0.0
538 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:1061:15
|
1061 | return self.borrowCOA().call(
1062 | to: targetEVMAddress,
1063 | data: calldata,
1064 | gasLimit: gasLimit,
1065 | value: valueBalance
1066 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: [Error Code: 1300] evm runtime error: insufficient computation
--> e467b9dd11fa00df.EVM:451:12
|
451 | return InternalEVM.call(
452 | from: self.addressBytes,
453 | to: to.bytes,
454 | data: data,
455 | gasLimit: gasLimit,
456 | value: value.attoflow
457 | ) as! Result
| ^^^^^^^^^^^^