mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +00:00
Merge bulletin chain changes into polkadot staging (#2574)
* polkadot-staging for v1.0.0 * Add polkadot bulletin chain primitives (#2542) * add polkadot bulletin chain primitives * also impl ChainWithMessages * clippy * instead of requiring sp_std::vec::Vec import when using runtime API generation macro, let's use full type path directly in macro (#2551) * Polkadot Bulletin Chain client (#2552) * relay-polkadot-bulletin-client * generate Polkadot Bulletin Chain Runtime * Add relays that will be used in Polkadot Bulletin <> Polkadot.BH bridge (#2556) * added Polkadot.BH <> Polkadot Bulletin chain relays * uncommented ED stuff * complex PolkadotBulletin <> Polkadot.BH relay * removed TODO * spelling * prepare refund extension infra to add refund extension for messages from standalone chain (#2558) * prepare refund extension infra to add refund extension for messages from standalone chain * spelling * apply adapter to fix compilation * clippy * added POLKADOT_BULLETIN_CHAIN_ID constant * RefundBridgedGrandpaMessages to refund transaction costs for messages coming to/from bridged standalone/relay chain (#2566) * RefundBridgedGrandpaMessages to refund transaction costs for messages coming to/from bridged standalone/relay chain * clippy * fix compilation * fix codec dependency (#2567) * Support message relay limits override (#2570) * support message relay limits overrides for bridges * spelling * export EXTRA_STORAGE_PROOF_SIZE for Polkadot Bulletin (#2572)
This commit is contained in:
committed by
Bastian Köcher
parent
4cd9e2fe79
commit
0bbd2b20a2
@@ -88,8 +88,8 @@ pub use pallet_xcm::Call as XcmCall;
|
||||
use bridge_runtime_common::{
|
||||
generate_bridge_reject_obsolete_headers_and_messages,
|
||||
refund_relayer_extension::{
|
||||
ActualFeeRefund, RefundBridgedParachainMessages, RefundableMessagesLane,
|
||||
RefundableParachain,
|
||||
ActualFeeRefund, RefundBridgedParachainMessages, RefundSignedExtensionAdapter,
|
||||
RefundableMessagesLane, RefundableParachain,
|
||||
},
|
||||
};
|
||||
#[cfg(any(feature = "std", test))]
|
||||
@@ -625,13 +625,15 @@ generate_bridge_reject_obsolete_headers_and_messages! {
|
||||
bp_runtime::generate_static_str_provider!(BridgeRefundRialtoPara2000Lane0Msgs);
|
||||
/// Signed extension that refunds relayers that are delivering messages from the Rialto parachain.
|
||||
pub type PriorityBoostPerMessage = ConstU64<324_316_715>;
|
||||
pub type BridgeRefundRialtoParachainMessages = RefundBridgedParachainMessages<
|
||||
Runtime,
|
||||
RefundableParachain<WithRialtoParachainsInstance, bp_rialto_parachain::RialtoParachain>,
|
||||
RefundableMessagesLane<WithRialtoParachainMessagesInstance, RialtoParachainMessagesLane>,
|
||||
ActualFeeRefund<Runtime>,
|
||||
PriorityBoostPerMessage,
|
||||
StrBridgeRefundRialtoPara2000Lane0Msgs,
|
||||
pub type BridgeRefundRialtoParachainMessages = RefundSignedExtensionAdapter<
|
||||
RefundBridgedParachainMessages<
|
||||
Runtime,
|
||||
RefundableParachain<WithRialtoParachainsInstance, bp_rialto_parachain::RialtoParachain>,
|
||||
RefundableMessagesLane<WithRialtoParachainMessagesInstance, RialtoParachainMessagesLane>,
|
||||
ActualFeeRefund<Runtime>,
|
||||
PriorityBoostPerMessage,
|
||||
StrBridgeRefundRialtoPara2000Lane0Msgs,
|
||||
>,
|
||||
>;
|
||||
|
||||
/// The address format for describing accounts.
|
||||
|
||||
Reference in New Issue
Block a user