Parent Log:
http://ci.aztec-labs.com/6e9994add217272e
Command: b4418ec550a4283f yarn-project/scripts/run_test.sh slasher/src/slasher_client.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7cf4fc526fd332de54b96c6511414c65df94dd0d
Env: REF_NAME=gh-readonly-queue/next/pr-14526-7304e2f8d9a211bffa76791b7a8ad90bf650587c CURRENT_VERSION=0.87.3 CI_FULL=0
Date: Tue May 27 19:13:13 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=gh-readonly-queue_next_pr-14526-7304e2f8d9a211bffa_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/ecb015f27647b7a2
19:13:15 [19:13:15.955]
INFO:
slasher:test:slasher_client Calling anvil_setBlockTimestampInterval with params: [2]
19:13:15 [19:13:15.990]
WARN:
slasher:test:slasher_client Set block interval to 2
19:13:16 [19:13:16.166]
INFO:
slasher:test:slasher_client Waiting for 7 transactions to be mined...
19:13:16 [19:13:16.188]
INFO:
slasher:test:slasher_client All transactions mined successfully
19:13:16 [19:13:16.264]
INFO:
slasher:test:slasher_client Waiting for 9 transactions to be mined...
19:13:16 [19:13:16.284]
INFO:
slasher:test:slasher_client All transactions mined successfully
19:13:16 [19:13:16.390]
INFO:
slasher:test:slasher_client Waiting for 10 transactions to be mined...
19:13:16 [19:13:16.412]
INFO:
slasher:test:slasher_client All transactions mined successfully
19:13:16 [19:13:16.502]
INFO:
slasher:test:slasher_client Initialized validator set
{"validators":[{"attester":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc","proposerEOA":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc","withdrawer":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"}],"txHash":"0x0cd4585e0127afe95988b625887f047f745bed7c204b0687c8fba21351d9e9f9"}
19:13:16 [19:13:16.504]
INFO:
slasher:test:slasher_client Waiting for 12 transactions to be mined...
19:13:16 [19:13:16.525]
INFO:
slasher:test:slasher_client All transactions mined successfully
19:13:16 [19:13:16.531]
INFO:
slasher:test:slasher_client Waiting for 12 transactions to be mined...
19:13:16 [19:13:16.551]
INFO:
slasher:test:slasher_client All transactions mined successfully
19:13:16 [19:13:16.574]
INFO:
slasher:test:slasher_client Aztec L1 contracts initialized
{"registryAddress":"0x5394cb97588885971b40d2504e1fcc096f1c6a74","governanceAddress":"0xdeafb3bec8090dc7a9aa0dd37b9cb869f618d909","governanceProposerAddress":"0x1449741494e8754884cda89a20bad7d6f172f807","rollupAddress":"0xa2a549c70163a155dbf8a71b9b71f10c7a8d24b0","inboxAddress":"0x3b33769613fa5dc9c14344da92941f643fc46d22","outboxAddress":"0xd2edeea617357591cbdc3b642cd9209b2fac0e59","feeJuicePortalAddress":"0x37089ae8bd2458138d36d904d2c28f6ad21fe552","feeJuiceAddress":"0x35e2b457fd415e79fa2570c89d767f7f2e6d409c","stakingAssetAddress":"0x35b00f94fcd02a316d1352ff94f4e6b667d86bb9","rewardDistributorAddress":"0x1b24b02b97e641b184c521910caec39c16ba5d50","gseAddress":"0xa3dcc94d6bc733e6aa699ad27963925db61b0a25","coinIssuerAddress":"0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"}
19:13:16 [19:13:16.574]
INFO:
slasher:test:slasher_client Handing over to governance
19:13:16 [19:13:16.579]
INFO:
slasher Starting Slasher client...
19:13:16 [19:13:16.605]
INFO:
slasher:test:slasher_client Deploying forwarder contract
19:13:16 [19:13:16.621]
INFO:
slasher:test:slasher_client Forwarder contract deployed at 0xb50043ea007490e0a0250aff54831d8443d1393f with owner 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc
19:13:23 [19:13:23.790]
INFO:
slasher Wants to slash
{"validators":["0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc"],"amounts":[100000000000000000000],"offenses":[0]}
19:13:24 [19:13:24.593]
INFO:
slasher Slash payload created
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:24 [19:13:24.599]
INFO:
slasher Adding monitored payload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:24 [19:13:24.799]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:24 [19:13:24.802]
INFO:
slasher:test:slasher_client 6
19:13:24 [19:13:24.803]
INFO:
slasher:test:slasher_client 10
19:13:24 [19:13:24.825]
INFO:
slasher:test:slasher_client Currently in round 0
19:13:24 [19:13:24.825]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":0,"leader":"0x0000000000000000000000000000000000000000","executed":false}
19:13:24 [19:13:24.826]
INFO:
slasher:test:slasher_client Leader votes: 0
19:13:24 [19:13:24.846]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:25 [19:13:25.372]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:25 [19:13:25.372]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":0,"leader":"0x0000000000000000000000000000000000000000","executed":false}
19:13:25 [19:13:25.373]
INFO:
slasher:test:slasher_client Leader votes: 0
19:13:25 [19:13:25.394]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:25 [19:13:25.921]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:25 [19:13:25.921]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":10,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:25 [19:13:25.921]
INFO:
slasher:test:slasher_client Leader votes: 1
19:13:25 [19:13:25.942]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:26 [19:13:26.475]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:26 [19:13:26.475]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":11,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:26 [19:13:26.475]
INFO:
slasher:test:slasher_client Leader votes: 2
19:13:26 [19:13:26.497]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:27 [19:13:27.021]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:27 [19:13:27.021]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":12,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:27 [19:13:27.021]
INFO:
slasher:test:slasher_client Leader votes: 3
19:13:27 [19:13:27.043]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:27 [19:13:27.565]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:27 [19:13:27.565]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":13,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:27 [19:13:27.565]
INFO:
slasher:test:slasher_client Leader votes: 4
19:13:27 [19:13:27.584]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:28 [19:13:28.112]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:28 [19:13:28.113]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":14,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:28 [19:13:28.113]
INFO:
slasher:test:slasher_client Leader votes: 5
19:13:28 [19:13:28.134]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:28 [19:13:28.603]
INFO:
slasher Waiting for round 2 to be reached
19:13:28 [19:13:28.658]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:28 [19:13:28.659]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":15,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:28 [19:13:28.659]
INFO:
slasher:test:slasher_client Leader votes: 6
19:13:28 [19:13:28.688]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:29 [19:13:29.209]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:29 [19:13:29.209]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":16,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:29 [19:13:29.209]
INFO:
slasher:test:slasher_client Leader votes: 7
19:13:29 [19:13:29.232]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:29 [19:13:29.760]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:29 [19:13:29.760]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":17,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:29 [19:13:29.760]
INFO:
slasher:test:slasher_client Leader votes: 8
19:13:29 [19:13:29.785]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:30 [19:13:30.305]
INFO:
slasher:test:slasher_client Currently in round 1
19:13:30 [19:13:30.305]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":18,"leader":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","executed":false}
19:13:30 [19:13:30.305]
INFO:
slasher:test:slasher_client Leader votes: 9
19:13:30 [19:13:30.323]
INFO:
slasher selectedPayload
{"payloadAddress":"0x8f0ab0c17da6f1556780bbd109bbbb11ad6f5b57","validators":["0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"],"amounts":[100000000000000000000],"offenses":[0],"observedAtSeconds":1748373204.593,"totalAmount":100000000000000000000}
19:13:30 [19:13:30.875]
INFO:
slasher:test:slasher_client Currently in round 2
19:13:30 [19:13:30.875]
INFO:
slasher:test:slasher_client Round info:
{"lastVote":0,"leader":"0x0000000000000000000000000000000000000000","executed":false}
19:13:30 [19:13:30.876]
INFO:
slasher:test:slasher_client Leader votes: 0
19:13:30 [19:13:30.878]
INFO:
slasher Executing round
{"proposal":"0x8f0Ab0c17dA6F1556780BBD109BbbB11AD6f5b57","round":1}
19:13:30 [19:13:30.924]
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' +
19:13:30 'Try increasing the nonce or find the latest nonce with `getTransactionCount`.\n' +
19:13:30 '\n' +
19:13:30 'Request Arguments:\n' +
19:13:30 ' from: 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc\n' +
19:13:30 ' to: 0xb50043ea007490e0a0250aff54831d8443d1393f\n' +
19:13:30 ' data: 0xb028e60700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000078c920d5a0cd1ef0c135eb9f19553d20c4a48d050000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246dd7d8ea0000000000000000000000008f0ab0c17da6f1556780bbd109bbbb11ad6f5b5700000000000000000000000000000000000000000000000000000000\n' +
19:13:30 ' gas: 201476\n' +
19:13:30 ' maxFeePerGas: 500 gwei\n' +
19:13:30 ' maxPriorityFeePerGas: 500 gwei\n' +
19:13:30 '\n' +
19:13:30 'Details: nonce too low\n' +
19:13:30 'Version: viem@2.23.7'
19:13:30 [19:13:30.927]
INFO:
slasher Slasher client stopped.
19:13:30 [19:13:30.933]
INFO:
slasher Round executed
{"round":1}
19:13:31
FAIL src/slasher_client.test.ts (
16.764 s)
19:13:31 SlasherClient
19:13:31
✕ creates payloads when the watcher signals (14303 ms)
19:13:31
19:13:31
● SlasherClient › creates payloads when the watcher signals
19:13:31
19:13:31 FormattedViemError: Nonce provided for the transaction is lower than the current nonce of the account.
19:13:31 Try increasing the nonce or find the latest nonce with `getTransactionCount`.
19:13:31
19:13:31 Request Arguments:
19:13:31 from: 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc
19:13:31 to: 0xb50043ea007490e0a0250aff54831d8443d1393f
19:13:31 data: 0xb028e60700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000078c920d5a0cd1ef0c135eb9f19553d20c4a48d050000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246dd7d8ea0000000000000000000000008f0ab0c17da6f1556780bbd109bbbb11ad6f5b5700000000000000000000000000000000000000000000000000000000
19:13:31 gas: 201476
19:13:31 maxFeePerGas: 500 gwei
19:13:31 maxPriorityFeePerGas: 500 gwei
19:13:31
19:13:31 Details: nonce too low
19:13:31 Version: viem@2.23.7
19:13:31
19:13:31
146 | }
19:13:31
147 | }
19:13:31
> 148 | return new FormattedViemError(formattedRes.replace(/\\n/g, '\n'), error?.metaMessages);
19:13:31
| ^
19:13:31
149 | }
19:13:31
150 | function stripAbis(obj) {
19:13:31
151 | if (!obj || typeof obj !== 'object') {
19:13:31
19:13:31
at formatViemError (../../ethereum/dest/utils.js:148:12)
19:13:31
at L1TxUtils.sendTransaction (../../ethereum/dest/l1_tx_utils.js:444:31)
19:13:31
at L1TxUtils.sendAndMonitorTransaction (../../ethereum/dest/l1_tx_utils.js:593:48)
19:13:31
at ForwarderContract.forward (../../ethereum/dest/contracts/forwarder.js:55:39)
19:13:31
at slasher_client.test.ts:186:9
19:13:31
at retryUntil (../../foundation/dest/retry/index.js:84:24)
19:13:31
at Object.<anonymous> (slasher_client.test.ts:174:5)
19:13:31
19:13:31
Test Suites: 1 failed, 1 total
19:13:31
Tests: 1 failed, 1 total
19:13:31
Snapshots: 0 total
19:13:31
Time: 16.832 s
19:13:31
Ran all test suites matching /slasher\/src\/slasher_client.test.ts/i
.
19:13:31
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?