Parent Log:
http://ci.aztec-labs.com/1ad07270fdfb8297
Command: 2dbc0f6449ec2b2d yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc
Env: REF_NAME=gh-readonly-queue/next/pr-15215-1b10c7d500621ca2e4c0db764df67f3085beb282 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 10:19:35 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15215_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:19:38 [10:19:38.966]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:41 [10:19:41.743]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:19:41 [10:19:41.757]
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":"0x166f52a2571b1e495d5dbf320ab04bdc1879e916b527fcefcc4311f60eb4e520","rollingHash":"0x9587b98bd1cf6f28bc73abbc60429408"},"messageCount":2}
10:19:41 [10:19:41.836]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24dfa1df178dcb40ecfab19b7204cbc094946b5c4640c9ba4a492f3f10956f6d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760378967,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:19:42 [10:19:42.852]
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":"0x0cb812e965b7332803c64c8881c038c353764e8f313268f23e4f673b0ae1baaf","rollingHash":"0x5477f17e6b26426616d55cb52735ecba"},"messageCount":4}
10:19:42 [10:19:42.877]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:19:43 [10:19:43.018]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x13d4f30fb192f6c8bf5c40dd550df0771d06a2cf831bad67e1ae4c619ca54484","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760378979,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:19:43 [10:19:43.019]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1cf75877d47077c789f00baf9c234ddd1255ca76c9941e569d01f7fd4c917d0b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750760378991,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:19:43 [10:19:43.226]
INFO:
archiver Stopped.
10:19:43 [10:19:43.230]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:45 [10:19:45.807]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:19:45 [10:19:45.816]
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":"0x038411dc9700db7c518a99480884e2c51479f15e1de558d6dabedf561cfa2e3d","rollingHash":"0x7f1cf40c62d95aea4ebd8f9d1f9238db"},"messageCount":2}
10:19:45 [10:19:45.834]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0892461c969691d7181dd14d7dd125c169b367c7b8e66d44e39d3b5c8522153e","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:19:45 [10:19:45.932]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x173b9c05facee20b90b0295632c536b4b1609731e635125e2f6cbaa64a8bcf22","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760383241,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:19:45 [10:19:45.933]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x23a5c4649c08df5cb072a8afcf96ef2ea179f2925a75e686ee50cdc3beb58dbe","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760383253,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:19:46 [10:19:46.021]
INFO:
archiver Stopped.
10:19:46 [10:19:46.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:48 [10:19:48.600]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:19:49 [10:19:49.619]
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":"0x2932d067e4f3c80a4f1593da815c4d4e0f9ad97d95a9abafeaba811d34c1072c","rollingHash":"0xae16db92c533c5a1582ed5abbcbe1142"},"messageCount":2}
10:19:49 [10:19:49.733]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x039f644dc3b7700a1637eb0b1f34032cc069ffe32679820c83f1abe4e764390d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760386034,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:19:49 [10:19:49.733]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1df681db8d32f7b8bd9ca7dbf2872b01fa6dbb91670282636cf7697bf72424ed","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760386046,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:19:49 [10:19:49.823]
INFO:
archiver Stopped.
10:19:49 [10:19:49.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:52 [10:19:52.395]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:19:52 [10:19:52.428]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:19:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:19:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:19:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:19:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:19:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:19:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:19:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:19:53 [10:19:53.435]
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":"0x20704b3760e0d820069747599a5ad36495c253ee7645051c72555977a0f06534","rollingHash":"0x5aa2cf0538a8e4469e84a4c56b819b76"},"messageCount":2}
10:19:53 [10:19:53.551]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x090b429f11692d69f9bf84b1be80d6084fe33a3489bf6a507e948b264d9fa2da","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760389836,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:19:53 [10:19:53.552]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0d40e6d06994bdc8d7b54d34cb10416335a9bf3dd870e6704a095f37784752ab","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760389848,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:19:53 [10:19:53.554]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:19:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:19:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:19:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:19:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:19:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:19:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:19:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:19:54 [10:19:54.644]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
10:19:54 [10:19:54.645]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:19:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:19:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:19:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:19:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:19:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:19:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:19:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:19:55 [10:19:55.644]
INFO:
archiver Stopped.
10:19:55 [10:19:55.645]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:55 [10:19:55.902]
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":"0x1289e4c12e963ab6cff9bbe692328d944a6fed5ed4112ed3de8718d2a847a04a","rollingHash":"0x2a6de28f017eba1f8566c59040678caf"},"messageCount":6}
10:19:55 [10:19:55.903]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1289e4c12e963ab6cff9bbe692328d944a6fed5ed4112ed3de8718d2a847a04a","rollingHash":"0x2a6de28f017eba1f8566c59040678caf"},"remoteMessagesState":{"messagesRollingHash":"0x0ccb161c422629cd20c94f589c5a6c5f","totalMessagesInserted":5,"treeInProgress":0}}
10:19:55 [10:19:55.998]
WARN:
archiver:test Reorging L1 to L2 messages
10:19:56 [10:19:56.911]
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":"0x1289e4c12e963ab6cff9bbe692328d944a6fed5ed4112ed3de8718d2a847a04a","rollingHash":"0x2a6de28f017eba1f8566c59040678caf"}}
10:19:56 [10:19:56.913]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:19:56 [10:19:56.914]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:19:56 [10:19:56.930]
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":"0x2f2d05c5cb08d102c7f7653d096680aba3b7d91d584873bbcd551db6ae0cf20c","rollingHash":"0xb49ced2b49c617d0ad6a6a6179775145"},"messageCount":5}
10:19:57 [10:19:57.007]
INFO:
archiver Stopped.
10:19:57 [10:19:57.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:57 [10:19:57.264]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:19:58 [10:19:58.023]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:19:58 [10:19:58.083]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d59a63bf53eca5457d6516f6057fb94f0b24d8d83ae4cf8e3697cc911c7ebe7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760397021,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:19:58 [10:19:58.125]
INFO:
archiver Stopped.
10:19:58 [10:19:58.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:58 [10:19:58.382]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:19:59 [10:19:59.142]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:19:59 [10:19:59.200]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2625401592b768df731bd2ce683f94ce4ddc2dfc09b32c2779c5a2761378f70a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750760398138,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:19:59 [10:19:59.244]
INFO:
archiver Stopped.
10:19:59 [10:19:59.246]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:59 [10:19:59.501]
INFO:
archiver:test Syncing archiver to L1 block 6
10:19:59 [10:19:59.508]
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":"0x08dd8069c1ac0f03cbab1dded4398936cbe65f76f1ceefce4ddc9cddc2e791f0","l1BlockNumber":0}}
10:19:59 [10:19:59.516]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:19:59 [10:19:59.517]
INFO:
archiver Stopped.
10:19:59 [10:19:59.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:19:59 [10:19:59.775]
INFO:
archiver:test Syncing archiver to L1 block 7
10:19:59 [10:19:59.776]
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":"0xd2935ebab6c4be3c41235b97248931fbd7a93a81fdd7269a11d96a1f4d3b944f","l1BlockNumber":0}}
10:19:59 [10:19:59.785]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:19:59 [10:19:59.787]
INFO:
archiver Stopped.
10:19:59 [10:19:59.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:00 [10:20:00.047]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:20:00 [10:20:00.868]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x3034806c6f09b60d6a61febf2e9fa1656d0b926c892e672dfc3a265d1ba3cddf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760399801,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:20:00 [10:20:00.872]
INFO:
archiver Stopped.
10:20:00 [10:20:00.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:01 [10:20:01.132]
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":"0xc023fbfbf9b1715c1aa9250dcf67f3bef9a91b16b4f1867d72dc476f5a79f12c","l1BlockNumber":0}}
10:20:01 [10:20:01.141]
INFO:
archiver Stopped.
10:20:01 [10:20:01.142]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:20:03 [10:20:03.845]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x29b094bec7f06f5bcdd6f1fdef983ab30d4e81cd28751991180d9915e8b8196f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760401154,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:20:03 [10:20:03.845]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2172947faffe4ef4cd27729fc440f554b09f61c4fc4c8fa448db57df82865f45","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760401166,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:20:04 [10:20:04.948]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
10:20:06 [10:20:06.006]
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
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:20:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:20:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:20:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:20:06 newBlockNumber: 3,
10:20:06 previousBlockNumber: 1
10:20:06 }
10:20:06 [10:20:06.035]
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":"0x29b094bec7f06f5bcdd6f1fdef983ab30d4e81cd28751991180d9915e8b8196f","newBlockNumber":3,"updatedL1SyncPoint":70}
10:20:06 [10:20:06.036]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:20:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:20:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:20:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:20:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:20:06 newBlockNumber: 3,
10:20:06 previousBlockNumber: 1
10:20:06 }
10:20:07 [10:20:07.164]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2172947faffe4ef4cd27729fc440f554b09f61c4fc4c8fa448db57df82865f45","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760401166,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:20:07 [10:20:07.165]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2a493ccc1dc9ab0851ba639f860721b6aa02c890b525a8159408dfb2d9e12f62","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750760401178,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:20:07 [10:20:07.220]
INFO:
archiver Stopped.
10:20:07
PASS src/archiver/archiver.test.ts (
30.679 s)
10:20:07 Archiver
10:20:07
✓ syncs l1 to l2 messages and blocks (4275 ms)
10:20:07
✓ ignores block 3 because it has been pruned (2792 ms)
10:20:07
✓ skip event search if no changes found (3802 ms)
10:20:07
✓ handles L2 reorg (5820 ms)
10:20:07
✓ handles updated messages due to L1 reorg (1364 ms)
10:20:07
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1117 ms)
10:20:07
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1119 ms)
10:20:07
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (273 ms)
10:20:07
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (270 ms)
10:20:07
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1084 ms)
10:20:07
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (269 ms)
10:20:07
✓ handles a block gap due to a spurious L2 prune (6079 ms)
10:20:07
○ skipped handles an upcoming L2 prune
10:20:07
10:20:07
Test Suites: 1 passed, 1 total
10:20:07
Tests: 1 skipped,
12 passed, 13 total
10:20:07
Snapshots: 0 total
10:20:07
Time: 30.753 s
10:20:07
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:20:07
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?