?╲□▪╱○■*$□╱▓╲╲◇?~@█&□#$█●^?░$◆$╲╳◆$□▫~▪!╲#*●□╳■░@^╲╳□█●▪?$█□*■@▫
Transaction ID
Execution Fee
0.00000999 FLOWExecution Error
assertion failed: evm_error=nonce too low: address 0x75413BE66939c3d9128298DaaCdB569c63652B2c, tx: 84969 state: 84970
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 0x75413BE66939c3d9128298DaaCdB569c63652B2c, tx: 84969 state: 84970 --> 11eb6b60bfad877fffb61ba8cfbf057413132920ad894b769e324a8d583f2a32: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
[ "02f901158202eb83014be98405f5e1008405f5e1028302544a94e381283c44091c018ad77e143e9928d5b394bee780b8a4d204c45e0000000000000000000000007e4232b5ed6a700ac19b235d7ea6b9173e3f64270000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f697066732e77656972646f67686f73742e636f6d2f6d65746164617461732f3030313030393030322e6a736f6e0000000000000000000000c080a0a1367f23b247cf841845e3d48f61408cc22f89eb4cec488f9cc74b0835769566a00b66cde1c9b34b36f438795cd50e21c6e23b15e29d8017d06dbce0360e9dbb40", "02f901158202eb83014be98405f5e1008405f5e1028302544a94e381283c44091c018ad77e143e9928d5b394bee780b8a4d204c45e0000000000000000000000009935ed4c6d9223caee6268fb4089a92b805d88a60000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f697066732e77656972646f67686f73742e636f6d2f6d65746164617461732f3030313030323031392e6a736f6e0000000000000000000000c080a005099570d1f8fb992bebb13dbf0fc93165b5c3acca2f2e50d6d502a6154dff67a07985992d1c6bd3aa4768b7fcff2086f0562cd2e69ebac262c32f2fed4bc72eeb" ]
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}