Nazar Mokrynskyi
ee6eeb7466
Allow justifications on non-finalized blocks ( #1211 )
...
One assertion was unnecessary because of the check right above it,
second assertion resolves
https://github.com/paritytech/polkadot-sdk/issues/1159
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-09-12 16:47:43 +02:00
Bastian Köcher
ecf8035da6
Set StateBackend::Transaction to PrefixedMemoryDB ( #14612 )
...
* Yep
* Try to get it working everywhere
* Make `from_raw_storage` start with an empty db
* More fixes!
* Make everything compile
* Fix `child_storage_root`
* Fix after merge
* Cleanups
* Update primitives/state-machine/src/overlayed_changes/mod.rs
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Review comments
* Fix issues
* Silence warning
* FMT
* Clippy
---------
Co-authored-by: Davide Galassi <davxy@datawok.net >
2023-08-17 10:49:38 +00:00
André Silva
c761d4c39e
grandpa: avoid importing unnecessary justifications ( #14423 )
...
* grandpa: avoid importing unnecessary justifications
* grandpa: make justification_import_period configurable
* grandpa: keep the first justification
* grandpa: add test for justification import period
* grandpa: fix test
2023-07-17 17:38:34 +00:00
André Silva
13b0f24abd
consensus: remove caching functionality from block import pipeline ( #13551 )
...
* consensus: remove caching functionality from block import pipeline
* client: update docs on Verifier::verify
* node: fix block production benchmark
2023-03-07 11:19:19 +00:00
Davide Galassi
40c36c0c8a
Move grandpa crates to consensus folder ( #13458 )
...
* Move grandpa under consensus dir
* Rename grandpa folder
* Finish grandpa renaming
* Minor tweaks
* Cargo fmt
* Adjust path to chain spec
2023-02-27 17:15:08 +01:00