**!╲▪*◆*^^○$□╱╲◇╲▪$#■#@█╲?@█▓*▓&▓╲?▓╲$◇▪●#▫~□*○○▓*╲◇&●■▫□@░~■▪◆╳
Transaction ID
Execution Fee
0.00000924 FLOWExecution Error
assertion failed: evm_error=nonce too low: address 0x7e093BA1474b79481f9B87D66c99a819F25e82E2, tx: 323264 state: 323265
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 0x7e093BA1474b79481f9B87D66c99a819F25e82E2, tx: 323264 state: 323265 --> bcaf49000642dfbc0bb7452b8836ca1ea9d1f42e41da28cfb800b8a50872ae7f: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
[ "02f9010d8202eb8304eec0840bf79483840bf794838306b6859407ed817a823c1acdd8851347af90e0af33705ab280b89c000001e40283de3a5e2e004a43fd3beac496f60ea90a575a1c1b97100ea1d7126c4d60027e231ea4cb25314bdb0a02b5556e946c51e05236147296a9c350cad25fc69b47ec839dcf601752c3c2bf7bb89cb0a720b5a98d8d55ae27ac31d31c02a7d3bf53dac106a0290b0483ecbc89d40fcc961f3e00147854498d4d1b2970fcb4e6960ddf782a68463a43080a466de0934687000630dce57437a501c001a0b0eebd51437db17c8b2f8affed96ef7c861b886a2b4ef7a8cf8834eefdae6de1a03c82b4207067369aeb318fa1469f64a7f8f7786ad91a02143131a3e88797c8ce", "02f9010d8202eb8304eec0840bf79483840bf794838306b6859407ed817a823c1acdd8851347af90e0af33705ab280b89c000001e40283de3a5e2e004a43fd3beac496f60ea90a575a1c1b97100ea1d7126c4d60027e231ea4cb25314bdb0a02b5556e946c51e05236147296a9c350cad25fc69b47ec839dcf601752c3c2bf7bb89cb0a720b5a98d8d55ae27ac31d31c02a7d3bf53dac106a0290b0483ecbc89d40fcc961f3e00147854498d4d1b2970fcb4e6960ddf782a68463a43080a466de0934687000630dce57437a501c001a0b0eebd51437db17c8b2f8affed96ef7c861b886a2b4ef7a8cf8834eefdae6de1a03c82b4207067369aeb318fa1469f64a7f8f7786ad91a02143131a3e88797c8ce", "02f9010d8202eb8304eec0840bf79483840bf794838306b6859407ed817a823c1acdd8851347af90e0af33705ab280b89c000001e40283de3a5e2e004a43fd3beac496f60ea90a575a1c1b97100ea1d7126c4d60027e231ea4cb25314bdb0a02b5556e946c51e05236147296a9c350cad25fc69b47ec839dcf601752c3c2bf7bb89cb0a720b5a98d8d55ae27ac31d31c02a7d3bf53dac106a0290b0483ecbc89d40fcc961f3e00147854498d4d1b2970fcb4e6960ddf782a68463a43080a466de0934687000630dce57437a501c001a0b0eebd51437db17c8b2f8affed96ef7c861b886a2b4ef7a8cf8834eefdae6de1a03c82b4207067369aeb318fa1469f64a7f8f7786ad91a02143131a3e88797c8ce", "02f9010d8202eb8304eec0840bf79483840bf794838306b6859407ed817a823c1acdd8851347af90e0af33705ab280b89c000001e40283de3a5e2e004a43fd3beac496f60ea90a575a1c1b97100ea1d7126c4d60027e231ea4cb25314bdb0a02b5556e946c51e05236147296a9c350cad25fc69b47ec839dcf601752c3c2bf7bb89cb0a720b5a98d8d55ae27ac31d31c02a7d3bf53dac106a0290b0483ecbc89d40fcc961f3e00147854498d4d1b2970fcb4e6960ddf782a68463a43080a466de0934687000630dce57437a501c001a0b0eebd51437db17c8b2f8affed96ef7c861b886a2b4ef7a8cf8834eefdae6de1a03c82b4207067369aeb318fa1469f64a7f8f7786ad91a02143131a3e88797c8ce" ]
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}