Closed VanBarbascu closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.52%. Comparing base (
523837b
) to head (8d65d28
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
If there's an easy way to make the dumper upload only the headers and not the parts, that would be nice in the short term. In the long run once we fully decentralize we could just get rid of the dumper.
This is what I was aiming for when I set the dumper to skip snapshot:
# State snapshot is disabled for dumper. We only want to dump the headers.
node_config_dump["store.state_snapshot_enabled"] = False
Could there be a conflict between store.state_snapshot_enabled
and store.state_snapshot
configs?
When we set store.state_snapshot_enabled
to True
, store.state_snapshot
is set to EveryEpoch
. When it is False
, store.state_snapshot
stays the same.
The default value for store.state_snapshot
changed in the meantime from OnlyForResharding
to EveryEpoch
so that is why you are experiencing this behaviour.
Done! Now it should not dump the parts.
Pytest to check decentralised state sync of nodes tracking one shard. Keep shard shuffling off until the implementation is done.
This test sets a dumper node only for the state sync headers. Sets 4 validator nodes, each tracking 1 shard. Sets an RPC node to handle the random traffic that changes the state. Only allow validator nodes to share parts by enabling the state snapshot.
Check if the network can got for 6 epochs while shard shuffling is on. Validator nodes are expected to download parts from each other.
Check http://127.0.0.1:3040/debug/pages/epoch_info for the validator assignment rotation.