22% Faster Backfill
It's always nice to have performance improvements; this time, from optimizing the buffer-to-process logic. The speed-up will be especially noticeable for the write-only indexer, where no other bottlenecks exist.
Transaction Count On Solana Block
Access transactionCount/failedTransactionCount on Solana blocks inside of onSlot handler.
Note: it doesn't include vote transactions.
indexer.onSlot(
{ name: "Daily", fields: { block: ["time", "parentSlot", "transactionCount", "failedTransactionCount"] } },
async ({ slot, block, context }) => { /* block is undefined on a skipped slot */ },
);
Other fixes & improvements
- Improve skill to interact with Envio Cloud via CLI #1778
- Fix envio's types codegen without skipLibCheck #1827
- createTestIndexer: reject promises instead of throwing synchronously #1832
- Fix
envio initwith long contract and event names #1831 - Improve
envio starttip to suggestenvio start --chainwhen a new chain is added to the config #1833 - Handle Postgres outage instead of exiting immediately #1824
- Improve security by removing PG
publicschema grants during indexer setup #1838 - Fix chains split across workers to respect config.yaml order #1839
- Reduce permissions required by ClickHouse storage #1843