Alexander Krutikov

Results 12 issues of Alexander Krutikov

### Referenced issues #1164 ### Description of the Change Adds /dot/state/2 protocol Adds fast syn functionality ### Benefits --sync Fast gives faster synchronization option ### Possible Drawbacks not well tested...

For some reason authority changes apply slowed down dramatically. It's seen when try to restart kagome at fast sync. ![image_2022-07-27_10-18-33](https://user-images.githubusercontent.com/6288338/181287756-fb5bdcc5-85d3-46c0-a9e7-88f5b52229cf.png)

Grandpa

### Referenced issues Relates to #959 ### Description of the Change Simplification of new host api methods registration for WAVM execution ### Benefits ### Possible Drawbacks ### Usage Examples or...

utility should tidy DB from blocks that weren't finalized

``` terminate called after throwing an instance of 'boost::wrapexcept' what(): basic_flat_buffer too long Stack trace (most recent call last) in thread 237691: #23 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f1d05468292, in clone #22...

bug
RPC

when first voter is not known ``` 21.10.15 19:35:06.685186 Debug Grandpa Catch-up response (till round #769) received from 12D3KooWBv3mN7W7zL2zcbvhXEpedr3voHixZ18b6CXbToyci9AK 21.10.15 19:35:07.050057 Debug VotingRound Round #769: Created with voter set #684...

bug
Grandpa

Make straightforward host api function registration like it is made for [WasmEdge](https://github.com/soramitsu/kagome/blob/feature/wasm-edge/core/runtime/wasmedge/register_host_api.hpp#L241).

Host API
Technical debt
Runtime

Substrate uses parsing and decoding of runtime blob than execution in recent runtimes. See https://github.com/paritytech/substrate/blob/polkadot-v0.9.8/client/executor/src/wasm_runtime.rs#L381

Runtime

Current DB structure for state is quite hard adaptable for state keys pruning. Risks are bad performance and more I/O disk operations. Thus, here we propose to investigate and implement...

https://github.com/ceph/calamari/blob/768f37d9dc16653471e8c975acd6c2f1800d0a38/calamari-lite/calamari_lite/server.py#L132