Parent Log: http://ci.aztec-labs.com/da6ba9784af2c1ee Command: 35185e33e8d72e60 yarn-project/scripts/run_test.sh slasher/src/slasher_client.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/04782c830ba3a838d6246318abc3a9d97c29d5ca Env: REF_NAME=gh-readonly-queue/next/pr-14493-9431aeb1166a775ff42245a9bdfcec48e4ffcf59 CURRENT_VERSION=0.87.2 CI_FULL=1 Date: Fri May 23 15:57:21 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=gh-readonly-queue_next_pr-14493-9431aeb1166a775ff4_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/ecb015f27647b7a2 15:57:24 [15:57:24.517] INFO: slasher:test:slasher_client Calling anvil_setBlockTimestampInterval with params: [2] 15:57:24 [15:57:24.573] WARN: slasher:test:slasher_client Set block interval to 2 15:57:24 [15:57:24.840] INFO: slasher:test:slasher_client Waiting for 7 transactions to be mined... 15:57:24 [15:57:24.870] INFO: slasher:test:slasher_client All transactions mined successfully 15:57:25 [15:57:25.007] INFO: slasher:test:slasher_client Waiting for 9 transactions to be mined... 15:57:25 [15:57:25.027] INFO: slasher:test:slasher_client All transactions mined successfully 15:57:25 [15:57:25.200] INFO: slasher:test:slasher_client Waiting for 10 transactions to be mined... 15:57:25 [15:57:25.235] INFO: slasher:test:slasher_client All transactions mined successfully 15:57:25 [15:57:25.398] INFO: slasher:test:slasher_client Initialized validator set {"validators":[{"attester":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc","proposerEOA":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc","withdrawer":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"}],"txHash":"0x5d536858f56dd0828434fca5b39a731800aaeca699166ce841b517658a8cf55c"} 15:57:25 [15:57:25.399] INFO: slasher:test:slasher_client Waiting for 12 transactions to be mined... 15:57:25 [15:57:25.428] INFO: slasher:test:slasher_client All transactions mined successfully 15:57:25 [15:57:25.435] INFO: slasher:test:slasher_client Waiting for 12 transactions to be mined... 15:57:25 [15:57:25.461] INFO: slasher:test:slasher_client All transactions mined successfully 15:57:25 [15:57:25.489] INFO: slasher:test:slasher_client Aztec L1 contracts initialized {"registryAddress":"0x624146023c573e7b59c20f2eba3af7ff7045109e","governanceAddress":"0x0a9ef342b12f16409335b24660965748aa112e19","governanceProposerAddress":"0x8dc086d13db8e6418cb1b96a507a3c530e048466","rollupAddress":"0xc4de85993569b459f526a8cb33457151c5968205","inboxAddress":"0xf9773f5e7f24d3d0887865e04047e374bd0676db","outboxAddress":"0x0ae926633ef24874d73c2231b6c5b271682ad1b4","feeJuicePortalAddress":"0xa171e63ecd38f4b5ddbfd0e550091537800d275d","feeJuiceAddress":"0x35e2b457fd415e79fa2570c89d767f7f2e6d409c","stakingAssetAddress":"0x35b00f94fcd02a316d1352ff94f4e6b667d86bb9","rewardDistributorAddress":"0x96e87c01b27737e5ed3d76a3961007e152e7d821","gseAddress":"0x01f245c02d21a07f82ea18442739ddb8e7eb63fa","coinIssuerAddress":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"} 15:57:25 [15:57:25.490] INFO: slasher:test:slasher_client Handing over to governance 15:57:25 [15:57:25.495] INFO: slasher Starting Slasher client... 15:57:25 [15:57:25.525] INFO: slasher:test:slasher_client Deploying forwarder contract 15:57:25 [15:57:25.550] INFO: slasher:test:slasher_client Forwarder contract deployed at 0xb50043ea007490e0a0250aff54831d8443d1393f with owner 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc 15:57:32 [15:57:32.775] INFO: slasher Wants to slash {"validators":["0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc"],"amounts":[100000000000000000000],"offenses":[0]} 15:57:33 [15:57:33.512] INFO: slasher Slash payload created {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:33 [15:57:33.513] INFO: slasher Adding monitored payload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:33 [15:57:33.787] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:33 [15:57:33.791] INFO: slasher:test:slasher_client 6 15:57:33 [15:57:33.793] INFO: slasher:test:slasher_client 10 15:57:33 [15:57:33.828] INFO: slasher:test:slasher_client Currently in round 0 15:57:33 [15:57:33.829] INFO: slasher:test:slasher_client Round info: {"lastVote":0,"leader":"0x0000000000000000000000000000000000000000","executed":false} 15:57:33 [15:57:33.829] INFO: slasher:test:slasher_client Leader votes: 0 15:57:33 [15:57:33.859] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:34 [15:57:34.405] INFO: slasher:test:slasher_client Currently in round 1 15:57:34 [15:57:34.406] INFO: slasher:test:slasher_client Round info: {"lastVote":0,"leader":"0x0000000000000000000000000000000000000000","executed":false} 15:57:34 [15:57:34.406] INFO: slasher:test:slasher_client Leader votes: 0 15:57:34 [15:57:34.429] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:34 [15:57:34.977] INFO: slasher:test:slasher_client Currently in round 1 15:57:34 [15:57:34.977] INFO: slasher:test:slasher_client Round info: {"lastVote":10,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:34 [15:57:34.978] INFO: slasher:test:slasher_client Leader votes: 1 15:57:35 [15:57:35.016] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:35 [15:57:35.542] INFO: slasher:test:slasher_client Currently in round 1 15:57:35 [15:57:35.542] INFO: slasher:test:slasher_client Round info: {"lastVote":11,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:35 [15:57:35.543] INFO: slasher:test:slasher_client Leader votes: 2 15:57:35 [15:57:35.565] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:36 [15:57:36.104] INFO: slasher:test:slasher_client Currently in round 1 15:57:36 [15:57:36.105] INFO: slasher:test:slasher_client Round info: {"lastVote":12,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:36 [15:57:36.106] INFO: slasher:test:slasher_client Leader votes: 3 15:57:36 [15:57:36.135] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:36 [15:57:36.671] INFO: slasher:test:slasher_client Currently in round 1 15:57:36 [15:57:36.671] INFO: slasher:test:slasher_client Round info: {"lastVote":13,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:36 [15:57:36.672] INFO: slasher:test:slasher_client Leader votes: 4 15:57:36 [15:57:36.699] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:37 [15:57:37.228] INFO: slasher:test:slasher_client Currently in round 1 15:57:37 [15:57:37.228] INFO: slasher:test:slasher_client Round info: {"lastVote":14,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:37 [15:57:37.229] INFO: slasher:test:slasher_client Leader votes: 5 15:57:37 [15:57:37.269] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:37 [15:57:37.520] INFO: slasher Waiting for round 2 to be reached 15:57:37 [15:57:37.816] INFO: slasher:test:slasher_client Currently in round 1 15:57:37 [15:57:37.816] INFO: slasher:test:slasher_client Round info: {"lastVote":15,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:37 [15:57:37.817] INFO: slasher:test:slasher_client Leader votes: 6 15:57:37 [15:57:37.847] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:38 [15:57:38.381] INFO: slasher:test:slasher_client Currently in round 1 15:57:38 [15:57:38.381] INFO: slasher:test:slasher_client Round info: {"lastVote":16,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:38 [15:57:38.382] INFO: slasher:test:slasher_client Leader votes: 7 15:57:38 [15:57:38.405] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:38 [15:57:38.946] INFO: slasher:test:slasher_client Currently in round 1 15:57:38 [15:57:38.946] INFO: slasher:test:slasher_client Round info: {"lastVote":17,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:38 [15:57:38.946] INFO: slasher:test:slasher_client Leader votes: 8 15:57:38 [15:57:38.971] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:39 [15:57:39.503] INFO: slasher:test:slasher_client Currently in round 1 15:57:39 [15:57:39.504] INFO: slasher:test:slasher_client Round info: {"lastVote":18,"leader":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","executed":false} 15:57:39 [15:57:39.504] INFO: slasher:test:slasher_client Leader votes: 9 15:57:39 [15:57:39.529] INFO: slasher selectedPayload {"payloadAddress":"0x3a866f0b20d3365ea54c5e1b37f394aba53c5eba","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748015853.512,"totalAmount":100000000000000000000} 15:57:40 [15:57:40.064] INFO: slasher Executing round {"proposal":"0x3A866F0b20d3365ea54c5e1B37F394abA53c5eba","round":1} 15:57:40 [15:57:40.070] INFO: slasher:test:slasher_client Currently in round 2 15:57:40 [15:57:40.071] INFO: slasher:test:slasher_client Round info: {"lastVote":0,"leader":"0x0000000000000000000000000000000000000000","executed":false} 15:57:40 [15:57:40.071] INFO: slasher:test:slasher_client Leader votes: 0 15:57:40 [15:57:40.142] ERROR: slasher:test:slasher_client Failed to send L1 transaction: 'Nonce provided for the transaction is lower than the current nonce of the account.\n' + 15:57:40 'Try increasing the nonce or find the latest nonce with `getTransactionCount`.\n' + 15:57:40 '\n' + 15:57:40 'Request Arguments:\n' + 15:57:40 ' from: 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc\n' + 15:57:40 ' to: 0xb50043ea007490e0a0250aff54831d8443d1393f\n' + 15:57:40 ' data: 0xb028e607000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c5f9d5073f29db157ae98d6e588f9977b00065350000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246dd7d8ea0000000000000000000000003a866f0b20d3365ea54c5e1b37f394aba53c5eba00000000000000000000000000000000000000000000000000000000\n' + 15:57:40 ' gas: 172057\n' + 15:57:40 ' maxFeePerGas: 500 gwei\n' + 15:57:40 ' maxPriorityFeePerGas: 500 gwei\n' + 15:57:40 '\n' + 15:57:40 'Details: nonce too low\n' + 15:57:40 'Version: viem@2.23.7' 15:57:40 [15:57:40.146] INFO: slasher Slasher client stopped. 15:57:40 [15:57:40.152] INFO: slasher Round executed {"round":1} 15:57:40 FAIL src/slasher_client.test.ts (18.102 s) 15:57:40 SlasherClient 15:57:40 creates payloads when the watcher signals (14592 ms) 15:57:40 15:57:40 SlasherClient › creates payloads when the watcher signals 15:57:40 15:57:40 FormattedViemError: Nonce provided for the transaction is lower than the current nonce of the account. 15:57:40 Try increasing the nonce or find the latest nonce with `getTransactionCount`. 15:57:40 15:57:40 Request Arguments: 15:57:40 from: 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc 15:57:40 to: 0xb50043ea007490e0a0250aff54831d8443d1393f 15:57:40 data: 0xb028e607000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c5f9d5073f29db157ae98d6e588f9977b00065350000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246dd7d8ea0000000000000000000000003a866f0b20d3365ea54c5e1b37f394aba53c5eba00000000000000000000000000000000000000000000000000000000 15:57:40 gas: 172057 15:57:40 maxFeePerGas: 500 gwei 15:57:40 maxPriorityFeePerGas: 500 gwei 15:57:40 15:57:40 Details: nonce too low 15:57:40 Version: viem@2.23.7 15:57:40 15:57:40 298 | } 15:57:40 299 | } 15:57:40 > 300 | return new FormattedViemError(formattedRes.replace(/\\n/g, '\n'), error?.metaMessages); 15:57:40 | ^ 15:57:40 301 | } 15:57:40 302 | export function tryGetCustomErrorName(err) { 15:57:40 303 | try { 15:57:40 15:57:40 at formatViemError (../../ethereum/dest/utils.js:300:12) 15:57:40 at L1TxUtils.sendTransaction (../../ethereum/dest/l1_tx_utils.js:444:31) 15:57:40 at L1TxUtils.sendAndMonitorTransaction (../../ethereum/dest/l1_tx_utils.js:593:48) 15:57:40 at ForwarderContract.forward (../../ethereum/dest/contracts/forwarder.js:55:39) 15:57:40 at slasher_client.test.ts:186:9 15:57:40 at retryUntil (../../foundation/dest/retry/index.js:84:24) 15:57:40 at Object.<anonymous> (slasher_client.test.ts:174:5) 15:57:40 15:57:40 Test Suites: 1 failed, 1 total 15:57:40 Tests: 1 failed, 1 total 15:57:40 Snapshots: 0 total 15:57:40 Time: 18.182 s 15:57:40 Ran all test suites matching /slasher\/src\/slasher_client.test.ts/i. 15:57:40 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?