Closed skunert closed 1 year ago
bot fmt
@skunert https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3028934 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh"
. Check out https://gitlab.parity.io/parity/mirrors/substrate/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.
Comment bot cancel 5-d8d9329e-2ccf-47cc-b29a-cdd20dcc2fd0
to cancel this command or bot cancel
to cancel all commands in this pull request.
@skunert Command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh"
has finished. Result: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3028934 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/3028934/artifacts/download.
bot merge
This pull request refactors the trie-cache related traits and makes the system generic. Until now the caching system was bound to the
LocalTrieCache
implementation. This is one step towards enabling theTrieCache
invalidate_block
https://github.com/paritytech/cumulus/issues/2432.This refactoring contains no behavioural changes for existing code.
Change summary:
MergeableTrieCacheProvider
: This trait can be implemented to provide cache implementations to theTrieBackend
AsLocalTrieCache
trait: No longer required since functionality is covered byMergeableTrieCacheProvider
Polkadot companion: https://github.com/paritytech/polkadot/pull/7435