Companion for substrate/pull/8596 (#2895)

* Add weight types

* Add missing types

* update Substrate

* Fix build

* Fix bench build

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Co-authored-by: parity-processbot <>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
authored and GitHub committed 2021-04-18 09:39:34 +01:00
1 parent dacde443f7
commit c384f70067
10 files changed
+257 -178

No files matched your search

+2
View File
@@ -883,6 +883,8 @@ impl pallet_membership::Config for Runtime {
type PrimeOrigin = EnsureRoot<AccountId>;
type MembershipInitialized = Collective;
type MembershipChanged = Collective;
type MaxMembers = MaxMembers;
type WeightInfo = ();
}
#[cfg(not(feature = "disable-runtime-api"))]