Parent Log:
http://ci.aztec-labs.com/3ca30566e9ce997a
Command: 24e90b7895ff1ed6 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/8cc8a56892d36191eefb49254ebbe49ea99ef4b8
Env: REF_NAME=gh-readonly-queue/next/pr-14921-78d87cb88633aee537d022d6fd8e57ceb74a3a95 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 11:33:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14921_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
11:33:35 [11:33:35.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:38 [11:33:38.451]
INFO:
archiver:test Waiting for archiver to sync to block 3
11:33:38 [11:33:38.474]
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":"0x190e169a788bc014870038a19abf25c05729e04f5d12e36bbbe9437a670a36ec","rollingHash":"0xe2662b1a44c57779d48f0a97470b3b49"},"messageCount":2}
11:33:38 [11:33:38.582]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17d8c0a0e9d1bff21d2e1df02216b4cdf575a748ba4bdd90503f2e88b544cba5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750246415628,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:33:39 [11:33:39.612]
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":"0x12bca62c9af1f3070a1738165a0390c5f489eb7a5c813a63c22224929f6bd6d6","rollingHash":"0x6ab1b9342384ac23445f7f9936f678c4"},"messageCount":4}
11:33:39 [11:33:39.667]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
11:33:39 [11:33:39.905]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1db76ea63c6cc5a9f47e49bd2eda4456ae64a1b6e43a871f7f662395834b9d6b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246415640,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:33:39 [11:33:39.907]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x29b51318924510aeaffe914481d5442e4da3b86aaa4ea0dbfe04ceda415328fb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750246415652,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
11:33:40 [11:33:40.104]
INFO:
archiver Stopped.
11:33:40 [11:33:40.111]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:43 [11:33:43.204]
INFO:
archiver:test Waiting for archiver to sync to block 2
11:33:43 [11:33:43.214]
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":"0x10a0101d18834a26c17691ea9fb7d66238e86e14bf87d6668b9703258d8dc39f","rollingHash":"0xbb02ec0af0cb128f425b57e7419c0909"},"messageCount":2}
11:33:43 [11:33:43.233]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0a881a5b036957852f8b3e91daf75b033d389668b9c19da9aec004f8b7af5a74","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
11:33:43 [11:33:43.340]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x295df96ffe56ab80daea1b5c0eada1d96b46ca53a01c3eb92156b3c18f329760","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750246420122,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:33:43 [11:33:43.341]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x01255e7bf92db1987691b23ed49cd67acb872e996be3d5f7b766691971464f11","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246420134,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:33:43 [11:33:43.431]
INFO:
archiver Stopped.
11:33:43 [11:33:43.433]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:46 [11:33:46.091]
INFO:
archiver:test Waiting for archiver to sync to block 2
11:33:47 [11:33:47.116]
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":"0x106d1b3acade6889114d219c6f2a4e2ba5ab1669397a682be1bb2a4397c94a84","rollingHash":"0xd259e72ba1346e18a479e2e4073eccee"},"messageCount":2}
11:33:47 [11:33:47.297]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x15f43760d1b662548836e223b6235af91d8d476f713257786c870d4e70abbb02","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750246423445,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:33:47 [11:33:47.298]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1de1ee835d6b1020571991d7a7d31190d3cbb9c593ebb54af00f9d9db1de1c5d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246423457,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:33:47 [11:33:47.382]
INFO:
archiver Stopped.
11:33:47 [11:33:47.384]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:50 [11:33:50.387]
INFO:
archiver:test Waiting for archiver to sync to block 2
11:33:50 [11:33:50.444]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
11:33:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
11:33:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
11:33:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
11:33:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
11:33:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
11:33:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
11:33:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
11:33:51 [11:33:51.457]
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":"0x2c67bec91d6f5a37599a6e3f99417795525975ae326d76f6c20c4819c4ac7653","rollingHash":"0xdfea0f96b06516ff3b4c50025d8cbe28"},"messageCount":2}
11:33:51 [11:33:51.611]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ed2c556df851a6749657bed220bda12fdbae03d69ad30c5ee5df36a70e9d94d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750246427396,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:33:51 [11:33:51.612]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x138d9b70d610498d2c4acb36a8ac81041a43bdce6fc29f0e895c1c13b8c5c296","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246427408,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:33:51 [11:33:51.614]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
11:33:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
11:33:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
11:33:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
11:33:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
11:33:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
11:33:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
11:33:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
11:33:52 [11:33:52.784]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
11:33:52 [11:33:52.787]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
11:33:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
11:33:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
11:33:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
11:33:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
11:33:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
11:33:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
11:33:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
11:33:53 [11:33:53.706]
INFO:
archiver Stopped.
11:33:53 [11:33:53.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:54 [11:33:54.350]
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":"0x1575bbf56e57cf09222e2c98128642a514dba18dccd071b27da019465fc0c1db","rollingHash":"0x62e12e8c003dcb7cef9c7e97a0d67dcd"},"messageCount":6}
11:33:54 [11:33:54.352]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1575bbf56e57cf09222e2c98128642a514dba18dccd071b27da019465fc0c1db","rollingHash":"0x62e12e8c003dcb7cef9c7e97a0d67dcd"},"remoteMessagesState":{"messagesRollingHash":"0x212dd3c611def3a11109b7573b307604","totalMessagesInserted":5,"treeInProgress":0}}
11:33:54 [11:33:54.444]
WARN:
archiver:test Reorging L1 to L2 messages
11:33:55 [11:33:55.370]
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":"0x1575bbf56e57cf09222e2c98128642a514dba18dccd071b27da019465fc0c1db","rollingHash":"0x62e12e8c003dcb7cef9c7e97a0d67dcd"}}
11:33:55 [11:33:55.375]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
11:33:55 [11:33:55.378]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
11:33:55 [11:33:55.401]
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":"0x082fdf8f619d4a291ffafc31d63a58a9a05c13b67badd461f84f12068844a999","rollingHash":"0x157903089039cc9a05e474fff3c718ee"},"messageCount":5}
11:33:55 [11:33:55.525]
INFO:
archiver Stopped.
11:33:55 [11:33:55.530]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:56 [11:33:56.511]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
11:33:58 [11:33:58.311]
INFO:
archiver:test Waiting for archiver to sync to block 1
11:33:58 [11:33:58.394]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c6708910e2e3073f59a17a82d4c06083834e29b083232e1086ce21fba3dfacf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246435539,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:33:58 [11:33:58.416]
INFO:
archiver Stopped.
11:33:58 [11:33:58.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:33:58 [11:33:58.897]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
11:33:59 [11:33:59.941]
INFO:
archiver:test Waiting for archiver to sync to block 1
11:34:00 [11:34:00.027]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x19fe45823f064dd372c7a0069ad5fed454ff0c6f3e262b439e8800b71755f246","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750246438430,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:34:00 [11:34:00.051]
INFO:
archiver Stopped.
11:34:00 [11:34:00.057]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:34:00 [11:34:00.629]
INFO:
archiver:test Syncing archiver to L1 block 6
11:34:00 [11:34:00.651]
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":"0x7287c116f70f3df7f8542569b0ab329b9d0b7478663eef55b1107dcb29b25ed8","l1BlockNumber":0}}
11:34:00 [11:34:00.668]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
11:34:00 [11:34:00.671]
INFO:
archiver Stopped.
11:34:00 [11:34:00.673]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:34:01 [11:34:01.081]
INFO:
archiver:test Syncing archiver to L1 block 7
11:34:01 [11:34:01.082]
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":"0x4efe0321a6f08c1222177eadfc3b9d661d5e648c963e503a34e804865f5c394d","l1BlockNumber":0}}
11:34:01 [11:34:01.100]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
11:34:01 [11:34:01.103]
INFO:
archiver Stopped.
11:34:01 [11:34:01.111]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:34:02 [11:34:02.144]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
11:34:03 [11:34:03.387]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x303a68f8d724935575cebb07f67410c59f905b02c6f2b0a41084f8abc6500696","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750246441119,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:34:03 [11:34:03.396]
INFO:
archiver Stopped.
11:34:03 [11:34:03.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:34:03 [11:34:03.794]
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":"0xc4afcb356e04edbe46398dc5fd51c77e14e4be123a4fc2c43e8bcd7c1a418dfa","l1BlockNumber":0}}
11:34:03 [11:34:03.812]
INFO:
archiver Stopped.
11:34:03 [11:34:03.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:34:07 [11:34:07.356]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x02c1deb1be0ede4ac50111d6d67fa09c2043009bd794412cbb47b07bd88069d9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750246443825,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:34:07 [11:34:07.357]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2907204bbff99a1832df8483ba16e4901c415671914127b11739adfe7fa5b6d6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246443837,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:34:08 [11:34:08.541]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
11:34:09 [11:34:09.598]
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
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
11:34:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
11:34:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:34:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:34:09 newBlockNumber: 3,
11:34:09 previousBlockNumber: 1
11:34:09 }
11:34:09 [11:34:09.622]
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":"0x02c1deb1be0ede4ac50111d6d67fa09c2043009bd794412cbb47b07bd88069d9","newBlockNumber":3,"updatedL1SyncPoint":70}
11:34:09 [11:34:09.623]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
11:34:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
11:34:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:34:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:34:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:34:09 newBlockNumber: 3,
11:34:09 previousBlockNumber: 1
11:34:09 }
11:34:10 [11:34:10.797]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2907204bbff99a1832df8483ba16e4901c415671914127b11739adfe7fa5b6d6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750246443837,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:34:10 [11:34:10.798]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x05e26c9bdaadf7ea9934693cf56884f40133b0c9e7303379f5fd9d6a29ef759e","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750246443849,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
11:34:10 [11:34:10.890]
INFO:
archiver Stopped.
11:34:10
PASS src/archiver/archiver.test.ts (
38.478 s)
11:34:10 Archiver
11:34:10
✓ syncs l1 to l2 messages and blocks (4493 ms)
11:34:10
✓ ignores block 3 because it has been pruned (3323 ms)
11:34:10
✓ skip event search if no changes found (3950 ms)
11:34:10
✓ handles L2 reorg (6323 ms)
11:34:10
✓ handles updated messages due to L1 reorg (1818 ms)
11:34:10
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2891 ms)
11:34:10
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1633 ms)
11:34:10
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (619 ms)
11:34:10
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (433 ms)
11:34:10
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2291 ms)
11:34:10
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (415 ms)
11:34:10
✓ handles a block gap due to a spurious L2 prune (7077 ms)
11:34:10
○ skipped handles an upcoming L2 prune
11:34:10
11:34:10
Test Suites: 1 passed, 1 total
11:34:10
Tests: 1 skipped,
12 passed, 13 total
11:34:10
Snapshots: 0 total
11:34:10
Time: 38.567 s
11:34:10
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
11:34:10
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?