Companion for removal of execution strategies (#2836)

* Companion for removal of execution strategies

https://github.com/paritytech/substrate/pull/14387

* Update Cargo.lock

* Remove patches

* Delete file again

* update lockfile for {"polkadot", "substrate"}

* Fix

* FMT

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2023-07-12 00:48:51 +02:00
committed by GitHub
parent 9e68861cad
commit ae0210c1cc
10 changed files with 317 additions and 310 deletions
@@ -56,10 +56,7 @@ fn call_validate_block(
}
fn create_test_client() -> (Client, Header) {
let client = TestClientBuilder::new()
// NOTE: this allows easier debugging
.set_execution_strategy(sc_client_api::ExecutionStrategy::NativeWhenPossible)
.build();
let client = TestClientBuilder::new().build();
let genesis_header = client
.header(client.chain_info().genesis_hash)