Parent Log:
http://ci.aztec-labs.com/a36edd533f52a26c
Command: 47858aa9bf665f8a yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/1bb4f0588a9dc5b1df622753aab1d907b3f12c7a
Env: REF_NAME=gh-readonly-queue/next/pr-15245-534f06e45f48274efd53a2204c90cb0b91a53efb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 25 08:19:00 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15245_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
08:19:04 [08:19:04.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:08 [08:19:08.132]
INFO:
archiver:test Waiting for archiver to sync to block 3
08:19:08 [08:19:08.148]
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":"0x04a328af46bbf0b36c0a658c211405b18fb88686c8d08d5f7dadd20afac276cb","rollingHash":"0x2e597d1e7869ccd57d8cf312d55a509a"},"messageCount":2}
08:19:08 [08:19:08.228]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17430b12f157c937eb55fe56d9f231bd40b414c7cba846502d836baa86d9827d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750839544900,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:09 [08:19:09.244]
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":"0x2afc055e7d4a21fbe8a6bdb74d07e92b485c00807888abe7838e22faeab4832f","rollingHash":"0xcafd076998c8e0d9bbf49c8f70db2c77"},"messageCount":4}
08:19:09 [08:19:09.271]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
08:19:09 [08:19:09.468]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x29447154f18ae27eefb0edb605b42b44f68ad1aa568fecee69926516c904f0a5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839544912,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
08:19:09 [08:19:09.469]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x087718681c5061a1058c87ba92ba2e840bd7dd5cf04e6043725ae1f849701ec3","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750839544924,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
08:19:09 [08:19:09.670]
INFO:
archiver Stopped.
08:19:09 [08:19:09.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:12 [08:19:12.316]
INFO:
archiver:test Waiting for archiver to sync to block 2
08:19:12 [08:19:12.329]
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":"0x1deeaf41dce857753fea1246422291a2b388b3a7bbd67f87ed9ada74a156af17","rollingHash":"0x01be6fd2d230791fba865db73889d2c7"},"messageCount":2}
08:19:12 [08:19:12.357]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0bb98959825cf97664a4bcda2dce447601a30b78cbe321657cf510eeb0068e1a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
08:19:12 [08:19:12.471]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a8017d34be3d8727c1cad05e07d4b6e2d9e4e8a3f3a03214941d16231c38c11","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750839549686,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:12 [08:19:12.472]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2173cd00e270a8a61ed82904c5bd252391d5cd62783268d1c40a900a78eb83fa","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839549698,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
08:19:12 [08:19:12.560]
INFO:
archiver Stopped.
08:19:12 [08:19:12.563]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:15 [08:19:15.098]
INFO:
archiver:test Waiting for archiver to sync to block 2
08:19:16 [08:19:16.118]
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":"0x1d317fa6a8893147fa5f6c97c043317a773db8c3b5ce430ee2e121bc29e12fdf","rollingHash":"0x22da40f7d689b76cd649729f32ed46b0"},"messageCount":2}
08:19:16 [08:19:16.244]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x069fcca3d30c2640849ba4a12996c5a18cf886cd6ed108d6a57516f0c4c55135","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750839552574,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:16 [08:19:16.245]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1e3865093c4946902e613415be1907ba988c0d17d97b209b3d1c94a185993c29","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839552586,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
08:19:16 [08:19:16.336]
INFO:
archiver Stopped.
08:19:16 [08:19:16.337]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:19 [08:19:19.223]
INFO:
archiver:test Waiting for archiver to sync to block 2
08:19:19 [08:19:19.267]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
08:19:19 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
08:19:19 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
08:19:19 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
08:19:19 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
08:19:19 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
08:19:19 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
08:19:19 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
08:19:20 [08:19:20.277]
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":"0x0218e1250db74f41defa4a005e116274094c0c16264cc7f1d947edc935411fbf","rollingHash":"0x35239799a0e31b29803115ee01c23e62"},"messageCount":2}
08:19:20 [08:19:20.456]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16262e1f079da81dfa93b3a5d965acf016483619257910aae977260cee8c4189","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750839556349,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:20 [08:19:20.457]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f72c0b5ee550dcdfbd5c865ea03d485a3cdaca1ec8d69b98ed25a8dd5315e32","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839556361,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
08:19:20 [08:19:20.460]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
08:19:20 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
08:19:20 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
08:19:20 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
08:19:20 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
08:19:20 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
08:19:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
08:19:20 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
08:19:21 [08:19:21.600]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
08:19:21 [08:19:21.605]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
08:19:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
08:19:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
08:19:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
08:19:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
08:19:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
08:19:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
08:19:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
08:19:22 [08:19:22.557]
INFO:
archiver Stopped.
08:19:22 [08:19:22.562]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:22 [08:19:22.942]
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":"0x028a4e7fad8474c9ac0cb9e5c69719d6a12404e847dc3e3d33f7b13ab37cb46f","rollingHash":"0x64772e626d4a18799530f45810e1aa20"},"messageCount":6}
08:19:22 [08:19:22.942]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x028a4e7fad8474c9ac0cb9e5c69719d6a12404e847dc3e3d33f7b13ab37cb46f","rollingHash":"0x64772e626d4a18799530f45810e1aa20"},"remoteMessagesState":{"messagesRollingHash":"0x6e0a466ca0b54fa13b944c31a326d66d","totalMessagesInserted":5,"treeInProgress":0}}
08:19:23 [08:19:23.035]
WARN:
archiver:test Reorging L1 to L2 messages
08:19:23 [08:19:23.957]
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":"0x028a4e7fad8474c9ac0cb9e5c69719d6a12404e847dc3e3d33f7b13ab37cb46f","rollingHash":"0x64772e626d4a18799530f45810e1aa20"}}
08:19:23 [08:19:23.961]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
08:19:23 [08:19:23.963]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
08:19:23 [08:19:23.990]
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":"0x0e0ffe14b8f8a4160acd20c9fdd0a2c0f1681dd8f43e5a166579c52da00dc414","rollingHash":"0x8689141d5878d5ea84aa5cb8e6953deb"},"messageCount":5}
08:19:24 [08:19:24.055]
INFO:
archiver Stopped.
08:19:24 [08:19:24.058]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:24 [08:19:24.646]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
08:19:25 [08:19:25.700]
INFO:
archiver:test Waiting for archiver to sync to block 1
08:19:25 [08:19:25.815]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a3017a68b02f6cbfb99036b2d779f0f8fa7a9da8fd8777a5b6eb1252acb95b0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839564069,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:25 [08:19:25.905]
INFO:
archiver Stopped.
08:19:25 [08:19:25.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:26 [08:19:26.312]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
08:19:27 [08:19:27.886]
INFO:
archiver:test Waiting for archiver to sync to block 1
08:19:27 [08:19:27.967]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1ac19697f8b336d95406f9fd98a4d6a61946416cde8f3f580ee220e3b4faac58","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750839565920,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:27 [08:19:27.995]
INFO:
archiver Stopped.
08:19:28 [08:19:27.999]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:28 [08:19:28.357]
INFO:
archiver:test Syncing archiver to L1 block 6
08:19:28 [08:19:28.358]
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":"0xe35079a99bc194917913f15b00febacb68b1ac41766c97d55f7448061efab1f7","l1BlockNumber":0}}
08:19:28 [08:19:28.391]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
08:19:28 [08:19:28.399]
INFO:
archiver Stopped.
08:19:28 [08:19:28.405]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:28 [08:19:28.997]
INFO:
archiver:test Syncing archiver to L1 block 7
08:19:29 [08:19:28.998]
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":"0x91d4d4c2de8f85b8a591f22a8e105ece31cc0f65aad93fbd784414a8628a14eb","l1BlockNumber":0}}
08:19:29 [08:19:29.010]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
08:19:29 [08:19:29.017]
INFO:
archiver Stopped.
08:19:29 [08:19:29.019]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:29 [08:19:29.417]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
08:19:30 [08:19:30.457]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2433397d850e1561b996f535e9da6f7b14be8c35bb469f94794dff248d09c319","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750839569030,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:30 [08:19:30.463]
INFO:
archiver Stopped.
08:19:30 [08:19:30.466]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:30 [08:19:30.855]
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":"0x4c11163ba9af106495e0896a2fcf2511a69fbd593b8aa083c21ab153aeb7fe31","l1BlockNumber":0}}
08:19:30 [08:19:30.867]
INFO:
archiver Stopped.
08:19:30 [08:19:30.869]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:19:35 [08:19:34.999]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c8bc9573c9ef6209bd9b504e476244936384966b2f0c253b58a8c5df06cd226","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750839570880,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
08:19:35 [08:19:35.000]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x206bf47217db72006b59a4b8de0de241159c71e3fdf05641236e06dd632aa71b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839570892,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
08:19:36 [08:19:36.167]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
08:19:37 [08:19:37.220]
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
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
08:19:37 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
08:19:37 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:19:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:19:37 newBlockNumber: 3,
08:19:37 previousBlockNumber: 1
08:19:37 }
08:19:37 [08:19:37.247]
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":"0x0c8bc9573c9ef6209bd9b504e476244936384966b2f0c253b58a8c5df06cd226","newBlockNumber":3,"updatedL1SyncPoint":70}
08:19:37 [08:19:37.248]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
08:19:37 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
08:19:37 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:19:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:19:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:19:37 newBlockNumber: 3,
08:19:37 previousBlockNumber: 1
08:19:37 }
08:19:38 [08:19:38.531]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x206bf47217db72006b59a4b8de0de241159c71e3fdf05641236e06dd632aa71b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750839570892,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
08:19:38 [08:19:38.532]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0a7d76a312cebc10d30538ddc95d9f6757158f1217fe71ce8e0e15e7cc16c021","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750839570904,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
08:19:38 [08:19:38.549]
INFO:
archiver Stopped.
08:19:38
PASS src/archiver/archiver.test.ts (
36.872 s)
08:19:38 Archiver
08:19:38
✓ syncs l1 to l2 messages and blocks (4786 ms)
08:19:38
✓ ignores block 3 because it has been pruned (2888 ms)
08:19:38
✓ skip event search if no changes found (3774 ms)
08:19:38
✓ handles L2 reorg (6221 ms)
08:19:38
✓ handles updated messages due to L1 reorg (1497 ms)
08:19:38
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1850 ms)
08:19:38
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2089 ms)
08:19:38
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (402 ms)
08:19:38
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (617 ms)
08:19:38
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1446 ms)
08:19:38
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (402 ms)
08:19:38
✓ handles a block gap due to a spurious L2 prune (7681 ms)
08:19:38
○ skipped handles an upcoming L2 prune
08:19:38
08:19:38
Test Suites: 1 passed, 1 total
08:19:38
Tests: 1 skipped,
12 passed, 13 total
08:19:38
Snapshots: 0 total
08:19:38
Time: 36.954 s
08:19:38
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
08:19:38
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?