Parent Log:
http://ci.aztec-labs.com/0037d898807e86c0
Command: 4bfd2d3585b9db66 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/267ac35e8ccb487bdc79bbe12d428f4c8b4d4d9f
Env: REF_NAME=gh-readonly-queue/master/pr-15002-1338cef09c870378254c56748f972ae827c4d482 CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Fri Jun 13 14:54:58 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15002_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_master
14:55:02 [14:55:02.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:06 [14:55:06.059]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:55:06 [14:55:06.117]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000063","l1BlockNumber":99,"l2BlockNumber":1,"leaf":"0x234fb47d1abce8b4be2baba61a4f60d9ed84bc664a8e57565ca662264b669d5b","rollingHash":"0xd6b98278a8197316f5e50d2c547eab4a"},"messageCount":2}
14:55:06 [14:55:06.301]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x211e12fff379a2df219958a26a68e8e58ace6395397b0618db9baf4d91181ef9","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749826502080,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:07 [14:55:07.319]
INFO:
archiver Retrieved 4 new L1 to L2 messages up to message with index 32 for L2 block 3
{"lastMessage":{"index":32,"l1BlockHash":"0x00000000000000000000000000000000000000000000000000000000000009ca","l1BlockNumber":2506,"l2BlockNumber":3,"leaf":"0x0656b33e68d6109eceba88a4e4c9785beb8f3a3efc604e316557029a8e28bf84","rollingHash":"0xde549c0ee8dd7763656a976c60345093"},"messageCount":4}
14:55:07 [14:55:07.349]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:55:07 [14:55:07.490]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x28039ea6a940acf9e39827e9ff02d44a58ce0e2858845cbed5baf32dcd384b3f","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749826502092,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:55:07 [14:55:07.492]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0671ab00f914de459b0a00cb0f063fae03b2baf993a5047c7a3a1d1e558f723b","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1749826502104,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:55:07 [14:55:07.718]
INFO:
archiver Stopped.
14:55:07 [14:55:07.722]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:11 [14:55:11.750]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:55:11 [14:55:11.759]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x258f2f70108e3d9e43473afc258bffb61308685e25c38a08b1f65a5a8ec5fb3e","rollingHash":"0xbed1aee490a51e62c0445db9533843e8"},"messageCount":2}
14:55:11 [14:55:11.782]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x23394ae32f186705a8bb5f94a717bceca0ca687b9f450412ba0e2b4ee281b86b","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:55:11 [14:55:11.875]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x14a2df17bad1be618c358909fb65693fff71caaeb133c5da84eca5251e235964","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749826507733,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:11 [14:55:11.876]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00e0f880fbca116262e1bd85a26abe191d44200faeb7de90527cd657eddd295e","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749826507745,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:55:11 [14:55:11.967]
INFO:
archiver Stopped.
14:55:11 [14:55:11.969]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:15 [14:55:15.951]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:55:16 [14:55:16.983]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x115c7ef7e8c122256f00de3fc320716403abb45394fcafcc5bd7790d4888a5ed","rollingHash":"0x1dd98551c2008b11f89ca0da0676b3b1"},"messageCount":2}
14:55:17 [14:55:17.091]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x033e23cc5edef31eaf0024bf0647b45dbee90dfc9a2d74a1955e27eb1c1a8fec","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749826511981,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:17 [14:55:17.092]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x167b9ce65f1e3adc4d92cc8ad07e250258c8c3f6c4abe88a28623f967667ee0b","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749826511993,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:55:17 [14:55:17.181]
INFO:
archiver Stopped.
14:55:17 [14:55:17.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:21 [14:55:21.442]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:55:21 [14:55:21.495]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:55:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:55:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
14:55:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
14:55:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
14:55:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
14:55:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:55:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:55:22 [14:55:22.510]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x11da627207d22f7aa4833338fffaf8d4cfefc1ebacee8507c98a605772718f07","rollingHash":"0x58b97fadd088505d2a0fffb51dfafe4b"},"messageCount":2}
14:55:22 [14:55:22.642]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x121e22fc397e2f591ba3f741251c17109b78435411a8519996b380bf350fb24c","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749826517195,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:22 [14:55:22.644]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x254fc4ac4be331a2af3c74b92d6adc3a49a4f7a00ce69da15ceaf79e251c394f","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749826517207,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:55:22 [14:55:22.646]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:55:22 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:55:22 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
14:55:22 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
14:55:22 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
14:55:22 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
14:55:22 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:55:22 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:55:23 [14:55:23.742]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:55:23 [14:55:23.744]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:55:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:55:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
14:55:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
14:55:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
14:55:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
14:55:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:55:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:55:24 [14:55:24.734]
INFO:
archiver Stopped.
14:55:24 [14:55:24.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:25 [14:55:25.023]
INFO:
archiver Retrieved 6 new L1 to L2 messages up to message with index 35 for L2 block 3
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1451b0b60744bfb8ac67f39bd340fc3694f05e27cb77f15725388a27be30223b","rollingHash":"0xf785f56682ed086d9a7f5ca64f6c2271"},"messageCount":6}
14:55:25 [14:55:25.024]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1451b0b60744bfb8ac67f39bd340fc3694f05e27cb77f15725388a27be30223b","rollingHash":"0xf785f56682ed086d9a7f5ca64f6c2271"},"remoteMessagesState":{"messagesRollingHash":"0x1f763244fbd7ee93d9b7ddd243af8f57","totalMessagesInserted":5,"treeInProgress":0}}
14:55:25 [14:55:25.115]
WARN:
archiver:test Reorging L1 to L2 messages
14:55:26 [14:55:26.033]
WARN:
archiver Rolling back L1 to L2 messages due to hash mismatch or msg not found.
{"messagesSyncPoint":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101},"localLastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1451b0b60744bfb8ac67f39bd340fc3694f05e27cb77f15725388a27be30223b","rollingHash":"0xf785f56682ed086d9a7f5ca64f6c2271"}}
14:55:26 [14:55:26.035]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:55:26 [14:55:26.036]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:55:26 [14:55:26.053]
INFO:
archiver Retrieved 5 new L1 to L2 messages up to message with index 65 for L2 block 5
{"lastMessage":{"index":65,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000066","l1BlockNumber":102,"l2BlockNumber":5,"leaf":"0x1d86250fb95f54d1e7c3520e1eca73666ca9b5d423b82f8f245b6054c8926846","rollingHash":"0x3eacd0b3873fde82d5bbf802b7046a95"},"messageCount":5}
14:55:26 [14:55:26.130]
INFO:
archiver Stopped.
14:55:26 [14:55:26.132]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:26 [14:55:26.389]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:55:27 [14:55:27.622]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:55:27 [14:55:27.688]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x05b2000945546b3d6c4bb2ea12f4c3a1087ce2a47aa4ecf996016c3620c07cb3","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":2,"timestamp":1749826526143,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:27 [14:55:27.725]
INFO:
archiver Stopped.
14:55:27 [14:55:27.727]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:27 [14:55:27.981]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:55:29 [14:55:29.276]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:55:29 [14:55:29.352]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0109bb3f989f00d4a20b1cf2747035249d1e0efd44c3de6cb6fa586cbf9b9595","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":3,"timestamp":1749826527738,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:29 [14:55:29.380]
INFO:
archiver Stopped.
14:55:29 [14:55:29.381]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:29 [14:55:29.670]
INFO:
archiver:test Syncing archiver to L1 block 6
14:55:29 [14:55:29.677]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 6 with hash 0x0000000000000000000000000000000000000000000000000000000000000006
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x1f42d67a13cec642d66f80ad0fd833a7ffe813dcb9f038ae4aa275337f8109a1","l1BlockNumber":0}}
14:55:29 [14:55:29.694]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:55:29 [14:55:29.695]
INFO:
archiver Stopped.
14:55:29 [14:55:29.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:30 [14:55:30.005]
INFO:
archiver:test Syncing archiver to L1 block 7
14:55:30 [14:55:30.007]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 7 with hash 0x0000000000000000000000000000000000000000000000000000000000000007
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x04bf17f8a55fc3dcd2f8ef5aa53d8e6f2960501677bcd899c08fd7750e27bee7","l1BlockNumber":0}}
14:55:30 [14:55:30.035]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:55:30 [14:55:30.041]
INFO:
archiver Stopped.
14:55:30 [14:55:30.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:30 [14:55:30.402]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:55:32 [14:55:32.328]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f33de0736648e59520089bf33bba36c47c34238266bb91984b721462eb2a2b1","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749826530054,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:32 [14:55:32.332]
INFO:
archiver Stopped.
14:55:32 [14:55:32.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:32 [14:55:32.606]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 2000 with hash 0x00000000000000000000000000000000000000000000000000000000000007d0
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x409edb147d08ca1f35c15b43f5a3ca7192dfe165cda727fd38cc4a0f53577f3a","l1BlockNumber":0}}
14:55:32 [14:55:32.622]
INFO:
archiver Stopped.
14:55:32 [14:55:32.623]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:55:37 [14:55:37.253]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0bb03f21f66bc4bfea31858de5257be27dbc886c6262d8a571e06c7058656f4a","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749826532635,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:55:37 [14:55:37.255]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c4e74c9e4bba181ce46f91c89f70a0f2fb9458c6b7bf320deffab5b963c7baa","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749826532647,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:55:38 [14:55:38.414]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:55:39 [14:55:39.488]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
14:55:39 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:55:39 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1398:7
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:55:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:55:39 newBlockNumber: 3,
14:55:39 previousBlockNumber: 1
14:55:39 }
14:55:39 [14:55:39.516]
WARN:
archiver Attempting to insert block 3 with previous block 1. Rolling back L1 sync point to 70 to try and fetch the missing blocks.
{"previousBlockNumber":1,"previousBlockHash":"0x0bb03f21f66bc4bfea31858de5257be27dbc886c6262d8a571e06c7058656f4a","newBlockNumber":3,"updatedL1SyncPoint":70}
14:55:39 [14:55:39.517]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
14:55:39 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:55:39 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1398:7
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:55:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:55:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:55:39 newBlockNumber: 3,
14:55:39 previousBlockNumber: 1
14:55:39 }
14:55:40 [14:55:40.644]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c4e74c9e4bba181ce46f91c89f70a0f2fb9458c6b7bf320deffab5b963c7baa","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749826532647,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:55:40 [14:55:40.646]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x26e5b8fdcdf82e095f3ebb23924fe8bfc20c5a8c4f0237141bea6cdce00289c8","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1749826532659,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:55:40 [14:55:40.699]
INFO:
archiver Stopped.
14:55:40
PASS src/archiver/archiver.test.ts (
41.206 s)
14:55:40 Archiver
14:55:40
✓ syncs l1 to l2 messages and blocks (5654 ms)
14:55:40
✓ ignores block 3 because it has been pruned (4247 ms)
14:55:40
✓ skip event search if no changes found (5214 ms)
14:55:40
✓ handles L2 reorg (7553 ms)
14:55:40
✓ handles updated messages due to L1 reorg (1395 ms)
14:55:40
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1595 ms)
14:55:40
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1654 ms)
14:55:40
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (315 ms)
14:55:40
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (345 ms)
14:55:40
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2291 ms)
14:55:40
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (290 ms)
14:55:40
✓ handles a block gap due to a spurious L2 prune (8077 ms)
14:55:40
○ skipped handles an upcoming L2 prune
14:55:40
14:55:40
Test Suites: 1 passed, 1 total
14:55:40
Tests: 1 skipped,
12 passed, 13 total
14:55:40
Snapshots: 0 total
14:55:40
Time: 41.276 s
14:55:40
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
14:55:40
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?