-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Description
Run:
╰─ node -r dotenv/config lib/main.js solana ─╯
13:42:02 FATAL sqd:batch-processor HttpError: Got 404 from https://v2.archive.subsquid.io/network/solana-mainnet/269828500/worker
at HttpClient.request (/Users/sqd/node_modules/@subsquid/http-client/lib/client.js:51:27)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /Users/sqd/node_modules/@subsquid/util-internal-archive-client/lib/client.js:41:26
at async ArchiveClient.retry (/Users/sqd/node_modules/@subsquid/util-internal-archive-client/lib/client.js:58:24)
at async ingest (/Users/sqd/node_modules/@subsquid/util-internal-ingest-tools/lib/archive.js:26:30)
at async map (/Users/sqd/node_modules/@subsquid/util-internal/lib/async.js:169:24)
response: {"status":404,"headers":[["access-control-allow-credentials","true"],["access-control-allow-headers","DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"],["access-control-allow-methods","GET, PUT, POST, DELETE, PATCH, OPTIONS"],["access-control-allow-origin","*"],["access-control-max-age","1728000"],["alt-svc","h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],["content-length","50"],["content-type","text/plain; charset=utf-8"],["date","Fri, 13 Jun 2025 10:42:02 GMT"],["via","1.1 google"]],"body":"solana-mainnet dataset starts from 299804550 block","url":"https://v2.archive.subsquid.io/network/solana-mainnet/269828500/worker"}
Then i change Block.from to 299900000
and now my code:
for (const block of ctx.blocks as Block[]) {
console.log('Block:', block.header);
}
gives me this:
Block.slot on the screenshot is actually a block height. Look at solscan and compare (by blockHash)
My questions:
- Why when i set
.SetBlockRange({ from: Number })- it is NOT height, but in the Docs it says its block height - in the logs
Block.slotis actually a height, NOT a slot. - How to setup SQD to index Solana by real block height, not some weird value 299900000 that is not a slot and not a block height?
- What is
Block.heightin the logs then?
Metadata
Metadata
Assignees
Labels
No labels




