Unverified Commit 8a6af441 authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

WIP: CI: add spellcheck (#3421)



* CI: add spellcheck

* revert me

* CI: explicit command for spellchecker

* spellcheck: edit misspells

* CI: run spellcheck on diff

* spellcheck: edits

* spellcheck: edit misspells

* spellcheck: add rules

* spellcheck: mv configs

* spellcheck: more edits

* spellcheck: chore

* spellcheck: one more thing

* spellcheck: and another one

* spellcheck: seems like it doesn't get to an end

* spellcheck: new words after rebase

* spellcheck: new words appearing out of nowhere

* chore

* review edits

* more review edits

* more edits

* wonky behavior

* wonky behavior 2

* wonky behavior 3

* change git behavior

* spellcheck: another bunch of new edits

* spellcheck: new words are koming out of nowhere

* CI: finding the master

* CI: fetching master implicitly

* CI: undebug

* new errors

* a bunch of new edits

* and some more

* Update node/core/approval-voting/src/approval_db/v1/mod.rs

Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>

* Update xcm/xcm-executor/src/assets.rs

Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>

* Apply suggestions from code review

Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>

* Suggestions from the code review

* CI: scan only changed files

Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
parent 43920cd7
Pipeline #147422 canceled with stages
in 7 minutes and 46 seconds
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_staking //! Autogenerated weights for `pallet_staking`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_staking. /// Weight functions for `pallet_staking`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn bond() -> Weight { fn bond() -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_timestamp //! Autogenerated weights for `pallet_timestamp`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_timestamp. /// Weight functions for `pallet_timestamp`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
fn set() -> Weight { fn set() -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_tips //! Autogenerated weights for `pallet_tips`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_tips. /// Weight functions for `pallet_tips`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_tips::WeightInfo for WeightInfo<T> {
fn report_awesome(r: u32, ) -> Weight { fn report_awesome(r: u32, ) -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_treasury //! Autogenerated weights for `pallet_treasury`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_treasury. /// Weight functions for `pallet_treasury`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
fn propose_spend() -> Weight { fn propose_spend() -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_utility //! Autogenerated weights for `pallet_utility`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_utility. /// Weight functions for `pallet_utility`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight { fn batch(c: u32, ) -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_vesting //! Autogenerated weights for `pallet_vesting`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_vesting. /// Weight functions for `pallet_vesting`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo<T> {
fn vest_locked(l: u32, ) -> Weight { fn vest_locked(l: u32, ) -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for runtime_common::claims //! Autogenerated weights for `runtime_common::claims`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for runtime_common::claims. /// Weight functions for `runtime_common::claims`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> runtime_common::claims::WeightInfo for WeightInfo<T> {
fn claim() -> Weight { fn claim() -> Weight {
......
...@@ -144,10 +144,10 @@ std = [ ...@@ -144,10 +144,10 @@ std = [
"pallet-xcm/std", "pallet-xcm/std",
"log/std", "log/std",
] ]
# When enabled, the runtime api will not be build. # When enabled, the runtime API will not be build.
# #
# This is required by Cumulus to access certain types of the # This is required by Cumulus to access certain types of the
# runtime without clashing with the runtime api exported functions # runtime without clashing with the runtime API exported functions
# in WASM. # in WASM.
disable-runtime-api = [] disable-runtime-api = []
runtime-benchmarks = [ runtime-benchmarks = [
......
...@@ -238,11 +238,11 @@ impl Get<crate::Balance> for GetDeliveryConfirmationTransactionFee { ...@@ -238,11 +238,11 @@ impl Get<crate::Balance> for GetDeliveryConfirmationTransactionFee {
} }
} }
/// This module contains definitions that are used by the messages pallet instance, 'deployed' at Rococo. /// This module contains definitions that are used by the messages pallet instance, "deployed" at Rococo.
mod at_rococo { mod at_rococo {
use super::*; use super::*;
/// Message bridge that is 'deployed' at Rococo chain and connecting it to Wococo chain. /// Message bridge that is "deployed" at Rococo chain and connecting it to Wococo chain.
#[derive(RuntimeDebug, Clone, Copy)] #[derive(RuntimeDebug, Clone, Copy)]
pub struct AtRococoWithWococoMessageBridge; pub struct AtRococoWithWococoMessageBridge;
...@@ -283,11 +283,11 @@ mod at_rococo { ...@@ -283,11 +283,11 @@ mod at_rococo {
>; >;
} }
/// This module contains definitions that are used by the messages pallet instance, 'deployed' at Wococo. /// This module contains definitions that are used by the messages pallet instance, "deployed" at Wococo.
mod at_wococo { mod at_wococo {
use super::*; use super::*;
/// Message bridge that is 'deployed' at Wococo chain and connecting it to Rococo chain. /// Message bridge that is "deployed" at Wococo chain and connecting it to Rococo chain.
#[derive(RuntimeDebug, Clone, Copy)] #[derive(RuntimeDebug, Clone, Copy)]
pub struct AtWococoWithRococoMessageBridge; pub struct AtWococoWithRococoMessageBridge;
......
...@@ -63,7 +63,7 @@ pub mod fee { ...@@ -63,7 +63,7 @@ pub mod fee {
/// node's balance type. /// node's balance type.
/// ///
/// This should typically create a mapping between the following ranges: /// This should typically create a mapping between the following ranges:
/// - [0, frame_system::MaximumBlockWeight] /// - [0, `frame_system::MaximumBlockWeight`]
/// - [Balance::min, Balance::max] /// - [Balance::min, Balance::max]
/// ///
/// Yet, it can be used for any other sort of change to weight-fee. Some examples being: /// Yet, it can be used for any other sort of change to weight-fee. Some examples being:
......
...@@ -146,9 +146,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>; ...@@ -146,9 +146,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>;
pub type Block = generic::Block<Header, UncheckedExtrinsic>; pub type Block = generic::Block<Header, UncheckedExtrinsic>;
/// A Block signed with a Justification /// A Block signed with a Justification
pub type SignedBlock = generic::SignedBlock<Block>; pub type SignedBlock = generic::SignedBlock<Block>;
/// BlockId type as expected by this runtime. /// `BlockId` type as expected by this runtime.
pub type BlockId = generic::BlockId<Block>; pub type BlockId = generic::BlockId<Block>;
/// The SignedExtension to the basic transaction logic. /// The `SignedExtension` to the basic transaction logic.
pub type SignedExtra = ( pub type SignedExtra = (
frame_system::CheckSpecVersion<Runtime>, frame_system::CheckSpecVersion<Runtime>,
frame_system::CheckTxVersion<Runtime>, frame_system::CheckTxVersion<Runtime>,
...@@ -867,7 +867,7 @@ impl pallet_bridge_grandpa::Config<WococoGrandpaInstance> for Runtime { ...@@ -867,7 +867,7 @@ impl pallet_bridge_grandpa::Config<WococoGrandpaInstance> for Runtime {
type WeightInfo = pallet_bridge_grandpa::weights::RialtoWeight<Runtime>; type WeightInfo = pallet_bridge_grandpa::weights::RialtoWeight<Runtime>;
} }
// Instance that is 'deployed' at Wococo chain. Responsible for dispatching Rococo -> Wococo messages. // Instance that is "deployed" at Wococo chain. Responsible for dispatching Rococo -> Wococo messages.
pub type AtWococoFromRococoMessagesDispatch = pallet_bridge_dispatch::DefaultInstance; pub type AtWococoFromRococoMessagesDispatch = pallet_bridge_dispatch::DefaultInstance;
impl pallet_bridge_dispatch::Config<AtWococoFromRococoMessagesDispatch> for Runtime { impl pallet_bridge_dispatch::Config<AtWococoFromRococoMessagesDispatch> for Runtime {
type Event = Event; type Event = Event;
...@@ -881,7 +881,7 @@ impl pallet_bridge_dispatch::Config<AtWococoFromRococoMessagesDispatch> for Runt ...@@ -881,7 +881,7 @@ impl pallet_bridge_dispatch::Config<AtWococoFromRococoMessagesDispatch> for Runt
type AccountIdConverter = bp_rococo::AccountIdConverter; type AccountIdConverter = bp_rococo::AccountIdConverter;
} }
// Instance that is 'deployed' at Rococo chain. Responsible for dispatching Wococo -> Rococo messages. // Instance that is "deployed" at Rococo chain. Responsible for dispatching Wococo -> Rococo messages.
pub type AtRococoFromWococoMessagesDispatch = pallet_bridge_dispatch::Instance1; pub type AtRococoFromWococoMessagesDispatch = pallet_bridge_dispatch::Instance1;
impl pallet_bridge_dispatch::Config<AtRococoFromWococoMessagesDispatch> for Runtime { impl pallet_bridge_dispatch::Config<AtRococoFromWococoMessagesDispatch> for Runtime {
type Event = Event; type Event = Event;
...@@ -904,7 +904,7 @@ parameter_types! { ...@@ -904,7 +904,7 @@ parameter_types! {
pub const RootAccountForPayments: Option<AccountId> = None; pub const RootAccountForPayments: Option<AccountId> = None;
} }
// Instance that is 'deployed' at Wococo chain. Responsible for sending Wococo -> Rococo messages // Instance that is "deployed" at Wococo chain. Responsible for sending Wococo -> Rococo messages
// and receiving Rococo -> Wococo messages. // and receiving Rococo -> Wococo messages.
pub type AtWococoWithRococoMessagesInstance = pallet_bridge_messages::DefaultInstance; pub type AtWococoWithRococoMessagesInstance = pallet_bridge_messages::DefaultInstance;
impl pallet_bridge_messages::Config<AtWococoWithRococoMessagesInstance> for Runtime { impl pallet_bridge_messages::Config<AtWococoWithRococoMessagesInstance> for Runtime {
...@@ -938,7 +938,7 @@ impl pallet_bridge_messages::Config<AtWococoWithRococoMessagesInstance> for Runt ...@@ -938,7 +938,7 @@ impl pallet_bridge_messages::Config<AtWococoWithRococoMessagesInstance> for Runt
type MessageDispatch = crate::bridge_messages::FromRococoMessageDispatch; type MessageDispatch = crate::bridge_messages::FromRococoMessageDispatch;
} }
// Instance that is 'deployed' at Rococo chain. Responsible for sending Rococo -> Wococo messages // Instance that is "deployed" at Rococo chain. Responsible for sending Rococo -> Wococo messages
// and receiving Wococo -> Rococo messages. // and receiving Wococo -> Rococo messages.
pub type AtRococoWithWococoMessagesInstance = pallet_bridge_messages::Instance1; pub type AtRococoWithWococoMessagesInstance = pallet_bridge_messages::Instance1;
impl pallet_bridge_messages::Config<AtRococoWithWococoMessagesInstance> for Runtime { impl pallet_bridge_messages::Config<AtRococoWithWococoMessagesInstance> for Runtime {
......
...@@ -59,7 +59,7 @@ pub mod fee { ...@@ -59,7 +59,7 @@ pub mod fee {
/// node's balance type. /// node's balance type.
/// ///
/// This should typically create a mapping between the following ranges: /// This should typically create a mapping between the following ranges:
/// - [0, frame_system::MaximumBlockWeight] /// - [0, `frame_system::MaximumBlockWeight`]
/// - [Balance::min, Balance::max] /// - [Balance::min, Balance::max]
/// ///
/// Yet, it can be used for any other sort of change to weight-fee. Some examples being: /// Yet, it can be used for any other sort of change to weight-fee. Some examples being:
......
...@@ -550,9 +550,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>; ...@@ -550,9 +550,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>;
pub type Block = generic::Block<Header, UncheckedExtrinsic>; pub type Block = generic::Block<Header, UncheckedExtrinsic>;
/// A Block signed with a Justification /// A Block signed with a Justification
pub type SignedBlock = generic::SignedBlock<Block>; pub type SignedBlock = generic::SignedBlock<Block>;
/// BlockId type as expected by this runtime. /// `BlockId` type as expected by this runtime.
pub type BlockId = generic::BlockId<Block>; pub type BlockId = generic::BlockId<Block>;
/// The SignedExtension to the basic transaction logic. /// The `SignedExtension` to the basic transaction logic.
pub type SignedExtra = ( pub type SignedExtra = (
frame_system::CheckSpecVersion<Runtime>, frame_system::CheckSpecVersion<Runtime>,
frame_system::CheckTxVersion<Runtime>, frame_system::CheckTxVersion<Runtime>,
......
...@@ -236,9 +236,9 @@ try-runtime = [ ...@@ -236,9 +236,9 @@ try-runtime = [
"pallet-babe/try-runtime", "pallet-babe/try-runtime",
"runtime-common/try-runtime", "runtime-common/try-runtime",
] ]
# When enabled, the runtime api will not be build. # When enabled, the runtime API will not be build.
# #
# This is required by Cumulus to access certain types of the # This is required by Cumulus to access certain types of the
# runtime without clashing with the runtime api exported functions # runtime without clashing with the runtime API exported functions
# in WASM. # in WASM.
disable-runtime-api = [] disable-runtime-api = []
...@@ -61,7 +61,7 @@ pub mod fee { ...@@ -61,7 +61,7 @@ pub mod fee {
/// node's balance type. /// node's balance type.
/// ///
/// This should typically create a mapping between the following ranges: /// This should typically create a mapping between the following ranges:
/// - [0, MAXIMUM_BLOCK_WEIGHT] /// - [0,` MAXIMUM_BLOCK_WEIGHT`]
/// - [Balance::min, Balance::max] /// - [Balance::min, Balance::max]
/// ///
/// Yet, it can be used for any other sort of change to weight-fee. Some examples being: /// Yet, it can be used for any other sort of change to weight-fee. Some examples being:
......
...@@ -1102,9 +1102,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>; ...@@ -1102,9 +1102,9 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>;
pub type Block = generic::Block<Header, UncheckedExtrinsic>; pub type Block = generic::Block<Header, UncheckedExtrinsic>;
/// A Block signed with a Justification /// A Block signed with a Justification
pub type SignedBlock = generic::SignedBlock<Block>; pub type SignedBlock = generic::SignedBlock<Block>;
/// BlockId type as expected by this runtime. /// `BlockId` type as expected by this runtime.
pub type BlockId = generic::BlockId<Block>; pub type BlockId = generic::BlockId<Block>;
/// The SignedExtension to the basic transaction logic. /// The `SignedExtension` to the basic transaction logic.
pub type SignedExtra = ( pub type SignedExtra = (
frame_system::CheckSpecVersion<Runtime>, frame_system::CheckSpecVersion<Runtime>,
frame_system::CheckTxVersion<Runtime>, frame_system::CheckTxVersion<Runtime>,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for frame_system //! Autogenerated weights for `frame_system`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for frame_system. /// Weight functions for `frame_system`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
fn remark(_b: u32, ) -> Weight { fn remark(_b: u32, ) -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_balances //! Autogenerated weights for `pallet_balances`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_balances. /// Weight functions for `pallet_balances`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
fn transfer() -> Weight { fn transfer() -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_election_provider_multi_phase //! Autogenerated weights for `pallet_election_provider_multi_phase`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-06-18, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_election_provider_multi_phase. /// Weight functions for `pallet_election_provider_multi_phase`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
fn on_initialize_nothing() -> Weight { fn on_initialize_nothing() -> Weight {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>. // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for pallet_identity //! Autogenerated weights for `pallet_identity`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2021-07-01, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData; use sp_std::marker::PhantomData;
/// Weight functions for pallet_identity. /// Weight functions for `pallet_identity`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
fn add_registrar(r: u32, ) -> Weight { fn add_registrar(r: u32, ) -> Weight {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment