mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 22:01:04 +00:00
Companion for substrate/pull/9442 (#3594)
* Fix compact build * Fix again * fix staking miner * fmt * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -65,7 +65,7 @@ macro_rules! construct_runtime_prelude {
|
||||
mod private {
|
||||
use super::*;
|
||||
pub(crate) fn [<create_uxt_ $runtime>](
|
||||
raw_solution: EPM::RawSolution<EPM::CompactOf<Runtime>>,
|
||||
raw_solution: EPM::RawSolution<EPM::SolutionOf<Runtime>>,
|
||||
witness: u32,
|
||||
signer: crate::signer::Signer,
|
||||
nonce: crate::prelude::Index,
|
||||
@@ -334,7 +334,7 @@ fn mine_unchecked<T: EPM::Config>(
|
||||
ext: &mut Ext,
|
||||
iterations: usize,
|
||||
do_feasibility: bool,
|
||||
) -> Result<(EPM::RawSolution<EPM::CompactOf<T>>, u32), Error> {
|
||||
) -> Result<(EPM::RawSolution<EPM::SolutionOf<T>>, u32), Error> {
|
||||
ext.execute_with(|| {
|
||||
let (solution, _) = <EPM::Pallet<T>>::mine_solution(iterations)?;
|
||||
if do_feasibility {
|
||||
|
||||
Reference in New Issue
Block a user