Companion for Substrate#14612 (#7536)

* Companion for reworking the storage transaction cache

* Cargo lock

* Fixes

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2023-08-17 13:26:44 +02:00
committed by GitHub
parent 747957fd8a
commit 26b5f259a3
9 changed files with 200 additions and 210 deletions
@@ -28,7 +28,7 @@ macro_rules! emergency_solution_cmd_for { ($runtime:ident) => { paste::paste! {
) -> Result<(), Error<$crate::[<$runtime _runtime_exports>]::Runtime>> {
use $crate::[<$runtime _runtime_exports>]::*;
let mut ext = crate::create_election_ext::<Runtime, Block>(client, config.at, vec![]).await?;
let mut ext = crate::create_election_ext::<Runtime>(client, config.at, vec![]).await?;
let raw_solution = crate::mine_with::<Runtime>(&config.solver, &mut ext, false)?;
ext.execute_with(|| {