Skip to content
Snippets Groups Projects
Commit 7c0d23ac authored by ferrell-code's avatar ferrell-code Committed by GitHub
Browse files

Update Identity pallet to Frame V2 (#8697)


* bump pallet to frame v2

* line width

* get benchmarking ot compile

* fix benchmarking now

* should actually fix benchmark

* make docs prettier

* add dependency

* add metadata

* Update frame/identity/src/benchmarking.rs

Co-authored-by: default avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>

Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: default avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>
parent 747beffe
Branches
No related merge requests found
......@@ -24,7 +24,7 @@ use super::*;
use frame_system::{EventRecord, RawOrigin};
use frame_benchmarking::{benchmarks, account, whitelisted_caller, impl_benchmark_test_suite};
use sp_runtime::traits::Bounded;
use frame_support::{ensure, traits::Get};
use crate::Pallet as Identity;
const SEED: u32 = 0;
......
This diff is collapsed.
......@@ -107,7 +107,7 @@ type EnsureTwoOrRoot = EnsureOneOf<
EnsureRoot<u64>,
EnsureSignedBy<Two, u64>
>;
impl Config for Test {
impl pallet_identity::Config for Test {
type Event = Event;
type Currency = Balances;
type Slashed = ();
......
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