Arkadiy Paronyan

Results 8 issues of Arkadiy Paronyan

This is a tracking for the new implementation of syncing protocol and algorithm in substrate. It mostly concerns full/fast sync, but not warp sync. ### Current implementation issues. 1. Reliance...

I6-refactor ๐Ÿงน
P5-sometimesoon
Q5-substantial

Currently when state pruning is enabled `state-db` reqeuires O(n) memory w.r.t. the number of blocks pending pruning. Therefore long pruning history requires a lot of memory. It should be possible...

I7-footprint ๐Ÿ‘ฃ
P7-nicetohave
Z1-mentor
Q3-medium
C1-low ๐Ÿ“Œ

Block header and bodies currently account for 90% of the database size on disk. By default the node keeps all headers and bodies in the database, even ones that are...

I7-footprint ๐Ÿ‘ฃ
P7-nicetohave
Z1-mentor
Q2-easy
C1-low ๐Ÿ“Œ

See https://github.com/paritytech/substrate/pull/10698

A0-pleasereview
B1-releasenotes
C1-low ๐Ÿ“Œ
D3-trivial ๐Ÿงธ

Start a new warp sync using latest polkadot+substrate master with an empty db dir in GCP. The nodes keeps loosing almost all peers every couple of minutes. ``` a@a-db:~/src/polkadot$ ./target/release/polkadot...

I2-bug ๐Ÿœ

Remove "pending" state in statedb, which greatly simplifies implementation. Now in case there's a backend error the in-memory state is reverted by simply reloading from disk. Also fixes an issue...

A0-pleasereview
B0-silent
C3-medium ๐Ÿ“ฃ

Fixes #13179 See https://github.com/paritytech/parity-db/pull/170 polkadot companion: https://github.com/paritytech/polkadot/pull/6617 cumulus companion: https://github.com/paritytech/cumulus/pull/2132

A0-pleasereview
B0-silent
C1-low ๐Ÿ“Œ

Currently block execution storage proofs contain nodes that are not actually necessary to validate the block. There's a common pattern in the runtime that we use to store intermediate values....

I9-optimisation
U2-some_time_soon