Martin Tomazic
Martin Tomazic
Wip. Closes #6387, follows #6331 TODO: - [ ] Write corresponding rust code `runtime/src/...` - [ ] Write tests - [x] Hide behind feature flag and ensure emptiness of the...
## Context It has become impractical to keep all state from the genesis thus more and more nodes are pruning it. ## Problem 1. Pruning is already causing availability issues:...
Add new `oasis-node storage inspect` command that displays last retained and latest version for all databases. E.g.: ```bash Consensus: State DB: Latest height: [uin64] Last retained height: [uin64] Block store/history:...
## Motivation Storing all historical data for all paratimes from genesis on has exceeded `2TB`, hence we are moving towards incremental snapshot creation. Creating a snapshot with exact start ~day~...
Long term solution to the growing state problem. ## Context As we are getting further away from the genesis, keeping all historical state becomes impractical, thus nodes (especially validators) start...
Update out-dated runtime host protocol [documentation](https://github.com/oasisprotocol/oasis-core/blob/master/docs/runtime/runtime-host-protocol.md), with a focus on attestation. Finally, given that [Remote Attestation](https://github.com/oasisprotocol/oasis-core/blob/master/docs/runtime/runtime-host-protocol.md#remote-attestation) is completely Intel specific it would be nice to expand on: 1. Why we...
Add documentation about different syncing modes, syncing stages and corresponding databases. Include ETA and which stage is blocked on which. Finally, describe how to monitor the progress of each stage...
~We should also move out things that this worker should not be responsible for such as updating availability, checkpointing and pruning the state.~ Depending on the config storage committee worker...
## Problem Example error: ```bash 000000000000000000000000000000000000000000000000e199119c992377cb): failed to get block for round 10240341 (current round: 10365418): roothash: block not found","level":"error","module":"worker/storage","msg":"worker stopped","ts":"2025-11-14T09:33:22.7743955Z"} ``` This happens when your runtime's State DB latest...
Currently, it takes days (Sapphire, mainnet) for iterative state sync to finish. State sync should be benchmarked and optimized. Possible bottlenecks: 1. Default fetcher pool has `4` workers ([see](https://github.com/oasisprotocol/oasis-core/blob/69f0d2999efaccf81bdec4796cbaead11bd54851/go/worker/storage/committee/node.go#L166)). *...