mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-18 09:25:40 +00:00
Fix and cleanups (#314)
* Cleanups (remove genesis.wasm & nicer errors) - Pretty errors for version mismatch - Remove the need for genesis wasm * Remove unneeded wasm files * Improve code of conduct * Leaner code * Test fixes * fix tests * Fix consensus checking
This commit is contained in:
committed by
Arkadiy Paronyan
parent
5b3050293a
commit
ae5298f8b7
@@ -38,7 +38,7 @@ pub trait TestClient {
|
||||
|
||||
impl TestClient for Client<Backend, Executor, runtime::Block> {
|
||||
fn new_for_tests() -> Self {
|
||||
client::new_in_mem(NativeExecutor::new(), genesis_storage()).unwrap()
|
||||
client::new_in_mem(NativeExecutor::with_heap_pages(8), genesis_storage()).unwrap()
|
||||
}
|
||||
|
||||
fn justify_and_import(&self, origin: client::BlockOrigin, block: runtime::Block) -> client::error::Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user