mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 14:31:02 +00:00
Use same fmt and clippy configs as in Polkadot (#3004)
* Copy rustfmt.toml from Polkadot master Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Format with new config Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add Polkadot clippy config Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.lock Looks like https://github.com/paritytech/polkadot/pull/7611 did not correctly update the lockfile. Maybe a different Rust Version?! Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
61480a1881
commit
6c79b58567
@@ -100,7 +100,8 @@ async fn collect_relay_storage_proof(
|
||||
relay_well_known_keys::ACTIVE_CONFIG.to_vec(),
|
||||
relay_well_known_keys::dmq_mqc_head(para_id),
|
||||
// TODO paritytech/polkadot#6283: Remove all usages of `relay_dispatch_queue_size`
|
||||
// We need to keep this here until all parachains have migrated to `relay_dispatch_queue_remaining_capacity`.
|
||||
// We need to keep this here until all parachains have migrated to
|
||||
// `relay_dispatch_queue_remaining_capacity`.
|
||||
#[allow(deprecated)]
|
||||
relay_well_known_keys::relay_dispatch_queue_size(para_id),
|
||||
relay_well_known_keys::relay_dispatch_queue_remaining_capacity(para_id).key,
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
//! Cumulus parachain inherent
|
||||
//!
|
||||
//! The [`ParachainInherentData`] is the data that is passed by the collator to the parachain runtime.
|
||||
//! The runtime will use this data to execute messages from other parachains/the relay chain or to
|
||||
//! read data from the relay chain state. When the parachain is validated by a parachain validator on
|
||||
//! the relay chain, this data is checked for correctnes. If the data passed by the collator to the
|
||||
//! runtime isn't correct, the parachain candidate is considered invalid.
|
||||
//! The [`ParachainInherentData`] is the data that is passed by the collator to the parachain
|
||||
//! runtime. The runtime will use this data to execute messages from other parachains/the relay
|
||||
//! chain or to read data from the relay chain state. When the parachain is validated by a parachain
|
||||
//! validator on the relay chain, this data is checked for correctnes. If the data passed by the
|
||||
//! collator to the runtime isn't correct, the parachain candidate is considered invalid.
|
||||
//!
|
||||
//! Use [`ParachainInherentData::create_at`] to create the [`ParachainInherentData`] at a given
|
||||
//! relay chain block to include it in a parachain block.
|
||||
|
||||
@@ -93,7 +93,8 @@ pub struct MockXcmConfig {
|
||||
|
||||
/// The name of the parachain system in the runtime.
|
||||
///
|
||||
/// This name is used by frame to prefix storage items and will be required to read data from the storage.
|
||||
/// This name is used by frame to prefix storage items and will be required to read data from the
|
||||
/// storage.
|
||||
///
|
||||
/// The `Default` implementation sets the name to `ParachainSystem`.
|
||||
pub struct ParachainSystemName(pub Vec<u8>);
|
||||
|
||||
Reference in New Issue
Block a user