█▒●╱□█▓?□╳@╱╳▪╱▓&╱◇##█◆▫◇*◆◇╳▪█●╱^@○░▫*◆&^▓◇○!?$▪%░╳▒◆●◆~&#!~&▫◆
Transaction ID
Execution Fee
0.00001049 FLOWExecution Error
assertion failed: evm_error=nonce too low: address 0x6fC90B2402352855e6ceC44bb35995F760D32a65, tx: 1084669 state: 1084670
24 // Otherwise, all EVM transactions are invalid txs and can't be
25 // executed (such as nonce too low).
26 // In this case, we fail the Cadence transaction with the error
27 // message from the first EVM transaction.
28 for txResult in txResults {
29 assert(
30 txResult.status == EVM.Status.failed || txResult.status == EVM.Status.successful,
31 message: "evm_error=".concat(txResult.errorMessage).concat("\n")
32 )
33 }
34 }Raw Error
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: error: assertion failed: evm_error=nonce too low: address 0x6fC90B2402352855e6ceC44bb35995F760D32a65, tx: 1084669 state: 1084670 --> d8d007e5012c5970245eae2074e3b667634c2aff1c6a644ebc7e07786fd9a674:29:12 | 29 | assert( 30 | txResult.status == EVM.Status.failed || txResult.status == EVM.Status.successful, 31 | message: "evm_error=".concat(txResult.errorMessage).concat("\n") 32 | ) | ^ Was this error unhelpful? Consider suggesting an improvement here: https://github.com/onflow/cadence/issues.
Script Arguments
[ "f8ee83108cfd8405f5e100835b7eb9947e8dd69f0675e61efaefe3403f2037f85cc669dd80b884cb67d7ac0000000000000000000000000000000000000000000000a2a15d09519be000000000000000000000000000000000000000000000000000000000000000000378000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000008205faa07c4c4644d2953a5713eea42f7fd1d420d1fd3fc7eac5af5e58ec5f992527e19ca006b34dec7856df115bb838996fe8bf48dba99d18aac335b632860dea15f40fc4", "f8ee83108cfd8405f5e100835b7eb9947e8dd69f0675e61efaefe3403f2037f85cc669dd80b884cb67d7ac0000000000000000000000000000000000000000000000a2a15d09519be000000000000000000000000000000000000000000000000000000000000000000378000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000008205faa07c4c4644d2953a5713eea42f7fd1d420d1fd3fc7eac5af5e58ec5f992527e19ca006b34dec7856df115bb838996fe8bf48dba99d18aac335b632860dea15f40fc4", "f8ee83108cfd8405f5e100835b7eb9947e8dd69f0675e61efaefe3403f2037f85cc669dd80b884cb67d7ac0000000000000000000000000000000000000000000000a2a15d09519be000000000000000000000000000000000000000000000000000000000000000000378000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000008205faa07c4c4644d2953a5713eea42f7fd1d420d1fd3fc7eac5af5e58ec5f992527e19ca006b34dec7856df115bb838996fe8bf48dba99d18aac335b632860dea15f40fc4" ]
Cadence Script
1import EVM from 0xe467b9dd11fa00df
2
3transaction(hexEncodedTxs: [String], coinbase: String) {
4 execute {
5 let txs: [[UInt8]] = []
6 for tx in hexEncodedTxs {
7 txs.append(tx.decodeHex())
8 }
9
10 let txResults = EVM.batchRun(
11 txs: txs,
12 coinbase: EVM.addressFromString(coinbase)
13 )
14
15 // If at least one of the EVM transactions in the batch is either
16 // failed or successful, in other words not invalid, we let the
17 // Cadence transaction succeed.
18 for txResult in txResults {
19 if txResult.status == EVM.Status.failed || txResult.status == EVM.Status.successful {
20 return
21 }
22 }
23
24 // Otherwise, all EVM transactions are invalid txs and can't be
25 // executed (such as nonce too low).
26 // In this case, we fail the Cadence transaction with the error
27 // message from the first EVM transaction.
28 for txResult in txResults {
29 assert(
30 txResult.status == EVM.Status.failed || txResult.status == EVM.Status.successful,
31 message: "evm_error=".concat(txResult.errorMessage).concat("\n")
32 )
33 }
34 }
35}