difftreelog
feat(identity) fork + publicize private fields
in: master
14 files changed
Cargo.lockdiffbeforeafterboth4026 "pallet-elections-phragmen",4026 "pallet-elections-phragmen",4027 "pallet-fast-unstake",4027 "pallet-fast-unstake",4028 "pallet-grandpa",4028 "pallet-grandpa",4029 "pallet-identity",4029 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",4030 "pallet-im-online",4030 "pallet-im-online",4031 "pallet-indices",4031 "pallet-indices",4032 "pallet-membership",4032 "pallet-membership",5322 "pallet-evm-transaction-payment",5322 "pallet-evm-transaction-payment",5323 "pallet-foreign-assets",5323 "pallet-foreign-assets",5324 "pallet-fungible",5324 "pallet-fungible",5325 "pallet-identity",5325 "pallet-identity 4.0.0-dev",5326 "pallet-inflation",5326 "pallet-inflation",5327 "pallet-maintenance",5327 "pallet-maintenance",5328 "pallet-nonfungible",5328 "pallet-nonfungible",577757775778[[package]]5778[[package]]5779name = "pallet-collator-selection"5779name = "pallet-collator-selection"5780version = "3.0.0"5780version = "4.0.0"5781dependencies = [5781dependencies = [5782 "frame-benchmarking",5782 "frame-benchmarking",5783 "frame-support",5783 "frame-support",5885 "frame-support",5885 "frame-support",5886 "frame-system",5886 "frame-system",5887 "pallet-evm",5887 "pallet-evm",5888 "pallet-identity 4.0.0-dev",5888 "parity-scale-codec 3.2.1",5889 "parity-scale-codec 3.2.1",5889 "scale-info",5890 "scale-info",5890 "sp-core",5891 "sp-core",6181 "sp-std",6182 "sp-std",6182]6183]61846185[[package]]6186name = "pallet-identity"6187version = "4.0.0-dev"6188dependencies = [6189 "enumflags2",6190 "frame-benchmarking",6191 "frame-support",6192 "frame-system",6193 "pallet-balances",6194 "parity-scale-codec 3.2.1",6195 "scale-info",6196 "sp-core",6197 "sp-io",6198 "sp-runtime",6199 "sp-std",6200]618362016184[[package]]6202[[package]]6185name = "pallet-identity"6203name = "pallet-identity"8137 "pallet-elections-phragmen",8155 "pallet-elections-phragmen",8138 "pallet-fast-unstake",8156 "pallet-fast-unstake",8139 "pallet-grandpa",8157 "pallet-grandpa",8140 "pallet-identity",8158 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",8141 "pallet-im-online",8159 "pallet-im-online",8142 "pallet-indices",8160 "pallet-indices",8143 "pallet-membership",8161 "pallet-membership",8912 "pallet-evm-transaction-payment",8930 "pallet-evm-transaction-payment",8913 "pallet-foreign-assets",8931 "pallet-foreign-assets",8914 "pallet-fungible",8932 "pallet-fungible",8915 "pallet-identity",8933 "pallet-identity 4.0.0-dev",8916 "pallet-inflation",8934 "pallet-inflation",8917 "pallet-maintenance",8935 "pallet-maintenance",8918 "pallet-nonfungible",8936 "pallet-nonfungible",9353 "pallet-democracy",9371 "pallet-democracy",9354 "pallet-elections-phragmen",9372 "pallet-elections-phragmen",9355 "pallet-grandpa",9373 "pallet-grandpa",9356 "pallet-identity",9374 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",9357 "pallet-im-online",9375 "pallet-im-online",9358 "pallet-indices",9376 "pallet-indices",9359 "pallet-membership",9377 "pallet-membership",13144 "pallet-evm-transaction-payment",13162 "pallet-evm-transaction-payment",13145 "pallet-foreign-assets",13163 "pallet-foreign-assets",13146 "pallet-fungible",13164 "pallet-fungible",13147 "pallet-identity",13165 "pallet-identity 4.0.0-dev",13148 "pallet-inflation",13166 "pallet-inflation",13149 "pallet-maintenance",13167 "pallet-maintenance",13150 "pallet-nonfungible",13168 "pallet-nonfungible",13789 "pallet-elections-phragmen",13807 "pallet-elections-phragmen",13790 "pallet-fast-unstake",13808 "pallet-fast-unstake",13791 "pallet-grandpa",13809 "pallet-grandpa",13792 "pallet-identity",13810 "pallet-identity 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.36)",13793 "pallet-im-online",13811 "pallet-im-online",13794 "pallet-indices",13812 "pallet-indices",13795 "pallet-membership",13813 "pallet-membership",pallets/collator-selection/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "pallet-collator-selection"2name = "pallet-collator-selection"3version = "3.0.0"3version = "4.0.0"4description = "Simple staking pallet with a fixed stake."4description = "Simple staking pallet with a fixed stake."5authors = ["Unique Network <support@uniquenetwork.io>"]5authors = ["Parity Technologies <admin@parity.io>", "Unique Network <support@uniquenetwork.io>"]6edition = "2021"6edition = "2021"7homepage = "https://unique.network"7homepage = "https://unique.network"8repository = "https://github.com/UniqueNetwork/unique-chain"8repository = "https://github.com/UniqueNetwork/unique-chain"pallets/data-management/Cargo.tomldiffbeforeafterboth16sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }16sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }17sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }17sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }19pallet-identity = { default-features = false, path = "../identity" }19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }20pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }20fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }21fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }2122pallets/data-management/src/lib.rsdiffbeforeafterboth34 use sp_std::vec::Vec;34 use sp_std::vec::Vec;35 use super::weights::WeightInfo;35 use super::weights::WeightInfo;36 use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};36 use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};37 use pallet_identity::Registration;373838 #[pallet::config]39 #[pallet::config]39 pub trait Config: frame_system::Config + pallet_evm::Config {40 pub trait Config: frame_system::Config + pallet_evm::Config + pallet_identity::Config {40 /// Weights41 /// Weights41 type WeightInfo: WeightInfo;42 type WeightInfo: WeightInfo;42 /// The overarching event type.43 /// The overarching event type.150 Ok(())151 Ok(())151 }152 }153154 /// Insert or remove identities.155 #[pallet::call_index(5)]156 #[pallet::weight(<SelfWeightOf<T>>::insert_events(identities.len() as u32))] // todo:collator weight157 pub fn insert_identities(158 origin: OriginFor<T>,159 identities: Vec<(160 T::AccountId,161 Option<Registration<pallet_identity::BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields>>,162 )>,163 ) -> DispatchResult {164 ensure_root(origin)?;165 for identity in identities {166 <pallet_identity::IdentityOf<T>>::set(identity.0, identity.1);167 }168 Ok(())169 }152 }170 }153171154 /// Implements [`pallet_evm::OnMethodCall`], which reserves accounts with pending migration172 /// Implements [`pallet_evm::OnMethodCall`], which reserves accounts with pending migrationpallets/identity/Cargo.tomldiffbeforeafterbothno changes
pallets/identity/README.mddiffbeforeafterbothno changes
pallets/identity/src/benchmarking.rsdiffbeforeafterbothno changes
pallets/identity/src/lib.rsdiffbeforeafterbothno changes
pallets/identity/src/tests.rsdiffbeforeafterbothno changes
pallets/identity/src/types.rsdiffbeforeafterbothno changes
pallets/identity/src/weights.rsdiffbeforeafterbothno changes
runtime/opal/Cargo.tomldiffbeforeafterboth276git = 'https://github.com/paritytech/substrate'276git = 'https://github.com/paritytech/substrate'277branch = 'polkadot-v0.9.36'277branch = 'polkadot-v0.9.36'278279[dependencies.pallet-identity]280default-features = false281git = 'https://github.com/paritytech/substrate'282branch = 'polkadot-v0.9.36'283278284[dependencies.pallet-balances]279[dependencies.pallet-balances]285default-features = false280default-features = false505pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }500pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }506up-data-structs = { path = '../../primitives/data-structs', default-features = false }501up-data-structs = { path = '../../primitives/data-structs', default-features = false }507pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }502pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }503pallet-identity = { default-features = false, path = "../../pallets/identity" }508pallet-configuration = { default-features = false, path = "../../pallets/configuration" }504pallet-configuration = { default-features = false, path = "../../pallets/configuration" }509pallet-common = { default-features = false, path = "../../pallets/common" }505pallet-common = { default-features = false, path = "../../pallets/common" }510pallet-structure = { default-features = false, path = "../../pallets/structure" }506pallet-structure = { default-features = false, path = "../../pallets/structure" }runtime/quartz/Cargo.tomldiffbeforeafterboth260git = 'https://github.com/paritytech/substrate'260git = 'https://github.com/paritytech/substrate'261branch = 'polkadot-v0.9.36'261branch = 'polkadot-v0.9.36'262263[dependencies.pallet-identity]264default-features = false265git = 'https://github.com/paritytech/substrate'266branch = 'polkadot-v0.9.36'267262268[dependencies.pallet-balances]263[dependencies.pallet-balances]269default-features = false264default-features = false496pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }491pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }497up-data-structs = { path = '../../primitives/data-structs', default-features = false }492up-data-structs = { path = '../../primitives/data-structs', default-features = false }498pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }493pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }494pallet-identity = { default-features = false, path = "../../pallets/identity" }499pallet-configuration = { default-features = false, path = "../../pallets/configuration" }495pallet-configuration = { default-features = false, path = "../../pallets/configuration" }500pallet-common = { default-features = false, path = "../../pallets/common" }496pallet-common = { default-features = false, path = "../../pallets/common" }501pallet-structure = { default-features = false, path = "../../pallets/structure" }497pallet-structure = { default-features = false, path = "../../pallets/structure" }runtime/unique/Cargo.tomldiffbeforeafterboth260git = 'https://github.com/paritytech/substrate'260git = 'https://github.com/paritytech/substrate'261branch = 'polkadot-v0.9.36'261branch = 'polkadot-v0.9.36'262263[dependencies.pallet-identity]264default-features = false265git = 'https://github.com/paritytech/substrate'266branch = 'polkadot-v0.9.36'267262268[dependencies.pallet-balances]263[dependencies.pallet-balances]269default-features = false264default-features = false487pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }482pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }488up-data-structs = { path = '../../primitives/data-structs', default-features = false }483up-data-structs = { path = '../../primitives/data-structs', default-features = false }489pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }484pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" }485pallet-identity = { default-features = false, path = "../../pallets/identity" }490pallet-configuration = { default-features = false, path = "../../pallets/configuration" }486pallet-configuration = { default-features = false, path = "../../pallets/configuration" }491pallet-common = { default-features = false, path = "../../pallets/common" }487pallet-common = { default-features = false, path = "../../pallets/common" }492pallet-structure = { default-features = false, path = "../../pallets/structure" }488pallet-structure = { default-features = false, path = "../../pallets/structure" }