Parent Log:
http://ci.aztec-labs.com/1589287bc6ae70f9
Command: ebfed4061172f77e yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/07aee119a58dd438ddfb5bd53e124e7269e6c651
Env: REF_NAME=gh-readonly-queue/next/pr-15083-9b801754ba98479ee645488c29d2fda1eecbfd85 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 21:04:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15083_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
21:04:35 [21:04:35.484]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:38 [21:04:38.475]
INFO:
archiver:test Waiting for archiver to sync to block 3
21:04:38 [21:04:38.496]
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":"0x0232dc4901e9f8538212afe5985c2fef90d7bad6519d2e672677ede64be653f5","rollingHash":"0x4c42457c4c321906995083511f343549"},"messageCount":2}
21:04:38 [21:04:38.589]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20f10b209102c54508a1f74a817c31128bae747fcabfa660692f738929273ec0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107875476,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:04:39 [21:04:39.611]
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":"0x199dd314f616694dd1fdda8a5bbc726c2a4f58e1abef02a358df6908130071fc","rollingHash":"0xf419fab77bc3f8677936820b5bcd778d"},"messageCount":4}
21:04:39 [21:04:39.638]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
21:04:39 [21:04:39.792]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x054dbc1841b6b3235a9a5f548ad77ea2387bda68a341dba55a426c55d31ee3fd","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107875488,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:04:39 [21:04:39.794]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0c848bd7c1d4b0bddf52d06fe98f9e23693b1207ad3deb52b213c313370357e6","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107875500,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
21:04:40 [21:04:40.004]
INFO:
archiver Stopped.
21:04:40 [21:04:40.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:42 [21:04:42.847]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:04:42 [21:04:42.860]
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":"0x29da8cb350faef3b48e8a8e31a843a186f17262fb5d34d0a6cf05b8bf43707c3","rollingHash":"0xc4a014559f3d64acc6654385b7295d60"},"messageCount":2}
21:04:42 [21:04:42.892]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1d20b3b46f028ac3d2fc78eb2ba4353d37152bc343e40e0051a6bbbcd3893414","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
21:04:43 [21:04:43.042]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24451240774fa442dccd0014cb77566ebd4e12c016b60504fc89fc3af427e9f3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107880020,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:04:43 [21:04:43.044]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2836a226d131fff172c04d93c66a82ec4e1a5f152c4135a5e5334c2d8cbab001","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107880032,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:04:43 [21:04:43.122]
INFO:
archiver Stopped.
21:04:43 [21:04:43.124]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:45 [21:04:45.824]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:04:46 [21:04:46.851]
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":"0x1afc0a6d1887aaa3b40aec8df970deca91ee150433ce8c5788b86edebf8e16dc","rollingHash":"0xbd913810522a7a5632200a5873de8740"},"messageCount":2}
21:04:46 [21:04:46.971]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x183529084438a885db9ded75c02b9fe4db905413c2c5e3670dd0bed78c9cc17d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107883136,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:04:46 [21:04:46.972]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f35aa741ec3e84f6bcb85e303cfc3d45fa58778c9b26a7d2d070576d29f76d6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107883148,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:04:47 [21:04:47.062]
INFO:
archiver Stopped.
21:04:47 [21:04:47.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:49 [21:04:49.789]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:04:49 [21:04:49.838]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
21:04:49 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:04:49 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:04:49 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:04:49 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:04:49 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:04:49 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:04:49 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:04:50 [21:04:50.850]
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":"0x27bb288dd18fa26b4456aa064a7d09be838772148d6853f50cd2c0900e105b90","rollingHash":"0xfa2632b688e7f7076e48a30211609bf7"},"messageCount":2}
21:04:51 [21:04:51.056]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x145956918716e225d73110c8d02948ddc6d98ebec4f70143883e248fd010f20b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107887076,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:04:51 [21:04:51.057]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2a33ca96f2d6e0fb4e439e766f77dd38754572e347e7e822ac75c422ae75b347","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107887088,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:04:51 [21:04:51.061]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
21:04:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:04:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:04:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:04:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:04:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:04:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:04:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:04:52 [21:04:52.167]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
21:04:52 [21:04:52.170]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
21:04:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:04:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:04:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:04:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:04:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:04:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:04:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:04:53 [21:04:53.097]
INFO:
archiver Stopped.
21:04:53 [21:04:53.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:53 [21:04:53.421]
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":"0x26485572d13327b4d4415f82ccf593d3b9b2b4d440b6047af12c183ca43c8918","rollingHash":"0xf456728ec27b8c73d8d6d2533c145cb9"},"messageCount":6}
21:04:53 [21:04:53.422]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x26485572d13327b4d4415f82ccf593d3b9b2b4d440b6047af12c183ca43c8918","rollingHash":"0xf456728ec27b8c73d8d6d2533c145cb9"},"remoteMessagesState":{"messagesRollingHash":"0x7a51eea93692f6b805263fa013552797","totalMessagesInserted":5,"treeInProgress":0}}
21:04:53 [21:04:53.515]
WARN:
archiver:test Reorging L1 to L2 messages
21:04:54 [21:04:54.431]
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":"0x26485572d13327b4d4415f82ccf593d3b9b2b4d440b6047af12c183ca43c8918","rollingHash":"0xf456728ec27b8c73d8d6d2533c145cb9"}}
21:04:54 [21:04:54.434]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
21:04:54 [21:04:54.436]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
21:04:54 [21:04:54.456]
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":"0x05591fe53be963eb6190b8fdc545bbc12ad944859d1cbc8831062b9f289e77cc","rollingHash":"0xe9e297956aa9f8705d9579eb9769d2af"},"messageCount":5}
21:04:54 [21:04:54.545]
INFO:
archiver Stopped.
21:04:54 [21:04:54.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:54 [21:04:54.919]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
21:04:55 [21:04:55.828]
INFO:
archiver:test Waiting for archiver to sync to block 1
21:04:55 [21:04:55.913]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2911f21066fcd227bd4376fe9ad8b16cb1cc928d5d4f460132796f377e594676","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107894559,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:04:55 [21:04:55.936]
INFO:
archiver Stopped.
21:04:55 [21:04:55.950]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:56 [21:04:56.319]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
21:04:57 [21:04:57.530]
INFO:
archiver:test Waiting for archiver to sync to block 1
21:04:57 [21:04:57.661]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x12d11efe33b8c4e6ccaf4500c8338f736c11961d5533081cd543e86306f10442","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107895953,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:04:57 [21:04:57.752]
INFO:
archiver Stopped.
21:04:57 [21:04:57.759]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:58 [21:04:58.115]
INFO:
archiver:test Syncing archiver to L1 block 6
21:04:58 [21:04:58.117]
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":"0xfb41c8d8fb217c3578456bbaaff7b9cc80bffd14d98679827e92150d8530c493","l1BlockNumber":0}}
21:04:58 [21:04:58.163]
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}}
21:04:58 [21:04:58.167]
INFO:
archiver Stopped.
21:04:58 [21:04:58.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:58 [21:04:58.591]
INFO:
archiver:test Syncing archiver to L1 block 7
21:04:58 [21:04:58.600]
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":"0x7ca753c00c2aaae3442f858974ef0979467a813cf5a467b8accc092a09702b6c","l1BlockNumber":0}}
21:04:58 [21:04:58.620]
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}}
21:04:58 [21:04:58.624]
INFO:
archiver Stopped.
21:04:58 [21:04:58.629]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:04:59 [21:04:59.291]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
21:05:01 [21:05:01.107]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d7c039d153133991e371666576ea8a2014f7da7ffb3f8d5d9c6037100e869bf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107898637,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:05:01 [21:05:01.113]
INFO:
archiver Stopped.
21:05:01 [21:05:01.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:05:01 [21:05:01.517]
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":"0xc537486b1725759ca0e2e3ba4783cb59b756144aaeb4b4715618ec1ba66b8a94","l1BlockNumber":0}}
21:05:01 [21:05:01.533]
INFO:
archiver Stopped.
21:05:01 [21:05:01.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:05:05 [21:05:05.660]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2524b22cf8d76a4dbdbb20b7ce55a41c3d5bdd1212e2770e8a5c23a4e6c8fefe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107901546,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:05:05 [21:05:05.662]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22e38718dd2a42b9ccc861ad7b523059fba74a0005d156fde811d82ca6f3f4c6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107901558,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:05:06 [21:05:06.807]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
21:05:07 [21:05:07.943]
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
21:05:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:05:07 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
21:05:07 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
21:05:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
21:05:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:05:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:05:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:05:07 newBlockNumber: 3,
21:05:07 previousBlockNumber: 1
21:05:07 }
21:05:08 [21:05:08.009]
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":"0x2524b22cf8d76a4dbdbb20b7ce55a41c3d5bdd1212e2770e8a5c23a4e6c8fefe","newBlockNumber":3,"updatedL1SyncPoint":70}
21:05:08 [21:05:08.011]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
21:05:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:05:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
21:05:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
21:05:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
21:05:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:05:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:05:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:05:08 newBlockNumber: 3,
21:05:08 previousBlockNumber: 1
21:05:08 }
21:05:09 [21:05:09.181]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22e38718dd2a42b9ccc861ad7b523059fba74a0005d156fde811d82ca6f3f4c6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107901558,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:05:09 [21:05:09.182]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2eb0518696cf92296a0733204369b9a49944dd83e90e72615b73c2d91e55a1a8","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107901570,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
21:05:09 [21:05:09.279]
INFO:
archiver Stopped.
21:05:09
PASS src/archiver/archiver.test.ts (
37.179 s)
21:05:09 Archiver
21:05:09
✓ syncs l1 to l2 messages and blocks (4543 ms)
21:05:09
✓ ignores block 3 because it has been pruned (3116 ms)
21:05:09
✓ skip event search if no changes found (3940 ms)
21:05:09
✓ handles L2 reorg (6033 ms)
21:05:09
✓ handles updated messages due to L1 reorg (1448 ms)
21:05:09
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1392 ms)
21:05:09
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1813 ms)
21:05:09
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (413 ms)
21:05:09
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (456 ms)
21:05:09
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2488 ms)
21:05:09
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (419 ms)
21:05:09
✓ handles a block gap due to a spurious L2 prune (7745 ms)
21:05:09
○ skipped handles an upcoming L2 prune
21:05:09
21:05:09
Test Suites: 1 passed, 1 total
21:05:09
Tests: 1 skipped,
12 passed, 13 total
21:05:09
Snapshots: 0 total
21:05:09
Time: 37.286 s
21:05:09
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
21:05:09
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?