mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 01:38:04 +00:00
Check the genesis hash in transactions regardless of era. (#3286)
* Check the genesis hash in transactions regardless of era. * Fix check-fees, too. * Undo. * Subkey supports new signing. * Remove unneeded type param. * Bump tx version * Build. * Another build fix * Build again * Cleanup * Another fix. * Fix * Fixes * 6 second blocks. * Fixes * Build fix * Fix * Fix.
This commit is contained in:
@@ -54,6 +54,7 @@ use crate::{RuntimeAdapter, create_block};
|
||||
pub fn next<F, RA>(
|
||||
factory_state: &mut RA,
|
||||
client: &Arc<ComponentClient<FullComponents<F>>>,
|
||||
genesis_hash: <RA::Block as BlockT>::Hash,
|
||||
prior_block_hash: <RA::Block as BlockT>::Hash,
|
||||
prior_block_id: BlockId<F::Block>,
|
||||
) -> Option<<F as ServiceFactory>::Block>
|
||||
@@ -91,6 +92,7 @@ where
|
||||
&from.1,
|
||||
&to,
|
||||
&amount,
|
||||
&genesis_hash,
|
||||
&prior_block_hash,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user