mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Define separate signed extension for BHR/BHW (#1776)
- Make signed extensions for indirect runtimes more extensible - Define separate signed extension for BHR/BHW
This commit is contained in:
committed by
Bastian Köcher
parent
8494162d2a
commit
8a4f984a7a
@@ -16,6 +16,7 @@
|
||||
|
||||
//! Types used to connect to the BridgeHub-Rococo-Substrate parachain.
|
||||
|
||||
use bp_bridge_hub_wococo::PolkadotSignedExtension;
|
||||
use bp_messages::MessageNonce;
|
||||
use codec::Encode;
|
||||
use relay_substrate_client::{
|
||||
@@ -65,7 +66,7 @@ impl ChainWithTransactions for BridgeHubRococo {
|
||||
) -> Result<Self::SignedTransaction, SubstrateError> {
|
||||
let raw_payload = SignedPayload::new(
|
||||
unsigned.call,
|
||||
bp_bridge_hub_rococo::SignedExtensions::new(
|
||||
bp_bridge_hub_rococo::BridgeSignedExtension::from_params(
|
||||
param.spec_version,
|
||||
param.transaction_version,
|
||||
unsigned.era,
|
||||
|
||||
Reference in New Issue
Block a user