Benchmarks sanity checks (#6119)

* add read-only externalities

* sanity checks

* cleanup

* Update primitives/state-machine/src/read_only.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* fix typo

* add error exit code if nothing was run

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Nikolay Volf
2020-05-25 17:52:50 +03:00
committed by GitHub
parent 56819a09a4
commit 60e7c706db
6 changed files with 241 additions and 0 deletions
@@ -42,10 +42,12 @@ mod proving_backend;
mod trie_backend;
mod trie_backend_essence;
mod stats;
mod read_only;
pub use sp_trie::{trie_types::{Layout, TrieDBMut}, StorageProof, TrieMut, DBValue, MemoryDB};
pub use testing::TestExternalities;
pub use basic::BasicExternalities;
pub use read_only::{ReadOnlyExternalities, InspectState};
pub use ext::Ext;
pub use backend::Backend;
pub use changes_trie::{