?~#@■$~~□&╲◇?**$╲╲●#▒▪▫?○░!╲~$◆■$◆▪!◇□■?◆╳■◇◇╱◇╳○◇▒░□╳$**╱&~◇□~■
Transaction ID
Execution Fee
0.00000999 FLOWExecution Error
assertion failed: evm_error=nonce too low: address 0x7e093BA1474b79481f9B87D66c99a819F25e82E2, tx: 322374 state: 322375
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: 322374 state: 322375 --> 2667bccfe4289857ed015764f7f2a05d2e51f85584505f7ddf91847e5e140493: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
[ "02f9018c8202eb8304eb46840a227157840a227157830b669f9407ed817a823c1acdd8851347af90e0af33705ab280b9011a000001e4044b07f2d19028a7fb7bf5e9258f9666a9673da3317f27352d5f83db87a5a3e00f4b07cc2138d8ee5200020bb883de3a5e2e004a43fd3beac496f60ea90a575a1c073d6f03d1f1724f9daa11b7f61a45105607f88c0ad8965451f4c7a1dd7a7414073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1c2aabea2058b5ac2d339b163c6ab6f2b6d53aabed0a04438deed0a673ec4e6c14073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1cd3bf53dac106a0290b0483ecbc89d40fcc961f3e0a04d36f4f5e270420523614ff08315328040da4ca1be88e1165e88abea1c431080448031d92b2b840064a68219a5abf00c001a06171f65713bd1eae54814c69f63ad0f4ce49ee2c5ad0d47676a370f32fc57181a049ffff572710a36a163399a952600365d1b32278ae6b8e7b316160fa07c43c25", "02f9018c8202eb8304eb46840a227157840a227157830b669f9407ed817a823c1acdd8851347af90e0af33705ab280b9011a000001e4044b07f2d19028a7fb7bf5e9258f9666a9673da3317f27352d5f83db87a5a3e00f4b07cc2138d8ee5200020bb883de3a5e2e004a43fd3beac496f60ea90a575a1c073d6f03d1f1724f9daa11b7f61a45105607f88c0ad8965451f4c7a1dd7a7414073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1c2aabea2058b5ac2d339b163c6ab6f2b6d53aabed0a04438deed0a673ec4e6c14073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1cd3bf53dac106a0290b0483ecbc89d40fcc961f3e0a04d36f4f5e270420523614ff08315328040da4ca1be88e1165e88abea1c431080448031d92b2b840064a68219a5abf00c001a06171f65713bd1eae54814c69f63ad0f4ce49ee2c5ad0d47676a370f32fc57181a049ffff572710a36a163399a952600365d1b32278ae6b8e7b316160fa07c43c25", "02f9018c8202eb8304eb46840a227157840a227157830b669f9407ed817a823c1acdd8851347af90e0af33705ab280b9011a000001e4044b07f2d19028a7fb7bf5e9258f9666a9673da3317f27352d5f83db87a5a3e00f4b07cc2138d8ee5200020bb883de3a5e2e004a43fd3beac496f60ea90a575a1c073d6f03d1f1724f9daa11b7f61a45105607f88c0ad8965451f4c7a1dd7a7414073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1c2aabea2058b5ac2d339b163c6ab6f2b6d53aabed0a04438deed0a673ec4e6c14073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1cd3bf53dac106a0290b0483ecbc89d40fcc961f3e0a04d36f4f5e270420523614ff08315328040da4ca1be88e1165e88abea1c431080448031d92b2b840064a68219a5abf00c001a06171f65713bd1eae54814c69f63ad0f4ce49ee2c5ad0d47676a370f32fc57181a049ffff572710a36a163399a952600365d1b32278ae6b8e7b316160fa07c43c25", "02f9018c8202eb8304eb46840a227157840a227157830b669f9407ed817a823c1acdd8851347af90e0af33705ab280b9011a000001e4044b07f2d19028a7fb7bf5e9258f9666a9673da3317f27352d5f83db87a5a3e00f4b07cc2138d8ee5200020bb883de3a5e2e004a43fd3beac496f60ea90a575a1c073d6f03d1f1724f9daa11b7f61a45105607f88c0ad8965451f4c7a1dd7a7414073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1c2aabea2058b5ac2d339b163c6ab6f2b6d53aabed0a04438deed0a673ec4e6c14073d6f03d1f1724f9daa11b7f61a45105607f88c83de3a5e2e004a43fd3beac496f60ea90a575a1cd3bf53dac106a0290b0483ecbc89d40fcc961f3e0a04d36f4f5e270420523614ff08315328040da4ca1be88e1165e88abea1c431080448031d92b2b840064a68219a5abf00c001a06171f65713bd1eae54814c69f63ad0f4ce49ee2c5ad0d47676a370f32fc57181a049ffff572710a36a163399a952600365d1b32278ae6b8e7b316160fa07c43c25" ]
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}