git.delta.rocks / unique-network / refs/commits / e4d3792751ad

difftreelog

feat add benchmarks for burn_from

Yaroslav Bolyukin2021-11-05parent: #3d14ec5.patch.diff
in: master

12 files changed

modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -54,7 +54,6 @@
 		variable_on_chain_schema,
 		const_on_chain_schema,
 		meta_update_permission: Default::default(),
-		transfers_enabled: true,
 	})
 	.and_then(CollectionHandle::try_get)
 	.map(cast)
modifiedpallets/fungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/fungible/src/benchmarking.rs
+++ b/pallets/fungible/src/benchmarking.rs
@@ -58,4 +58,13 @@
 		<Pallet<T>>::create_item(&collection, &owner, (sender.clone(), 200))?;
 		<Pallet<T>>::set_allowance(&collection, &sender, &spender, 200)?;
 	}: {<Pallet<T>>::transfer_from(&collection, &spender, &sender, &receiver, 100)?}
+
+	burn_from {
+		bench_init!{
+			owner: sub; collection: collection(owner);
+			owner: cross_from_sub; sender: cross_sub; burner: cross_sub;
+		};
+		<Pallet<T>>::create_item(&collection, &owner, (sender.clone(), 200))?;
+		<Pallet<T>>::set_allowance(&collection, &sender, &burner, 200)?;
+	}: {<Pallet<T>>::burn_from(&collection, &burner, &sender, 100)?}
 }
modifiedpallets/fungible/src/common.rsdiffbeforeafterboth
--- a/pallets/fungible/src/common.rs
+++ b/pallets/fungible/src/common.rs
@@ -37,7 +37,7 @@
 	}
 
 	fn burn_from() -> Weight {
-		0
+		<SelfWeightOf<T>>::burn_from()
 	}
 
 	fn set_variable_metadata(_bytes: u32) -> Weight {
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/fungible/src/weights.rs
+++ b/pallets/fungible/src/weights.rs
@@ -75,6 +75,14 @@
 			.saturating_add(T::DbWeight::get().reads(3 as Weight))
 			.saturating_add(T::DbWeight::get().writes(3 as Weight))
 	}
+	// Storage: Fungible Allowance (r:1 w:1)
+	// Storage: Fungible TotalSupply (r:1 w:1)
+	// Storage: Fungible Balance (r:1 w:1)
+	fn burn_from() -> Weight {
+		(55_874_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(3 as Weight))
+			.saturating_add(T::DbWeight::get().writes(3 as Weight))
+	}
 }
 
 // For backwards compatibility and tests
@@ -113,4 +121,12 @@
 			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
 	}
+	// Storage: Fungible Allowance (r:1 w:1)
+	// Storage: Fungible TotalSupply (r:1 w:1)
+	// Storage: Fungible Balance (r:1 w:1)
+	fn burn_from() -> Weight {
+		(55_874_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(3 as Weight))
+	}
 }
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -89,6 +89,15 @@
 		<Pallet<T>>::set_allowance(&collection, &sender, item, Some(&spender))?;
 	}: {<Pallet<T>>::transfer_from(&collection, &spender, &sender, &receiver, item)?}
 
+	burn_from {
+		bench_init!{
+			owner: sub; collection: collection(owner);
+			owner: cross_from_sub; sender: cross_sub; burner: cross_sub;
+		};
+		let item = create_max_item(&collection, &owner, sender.clone())?;
+		<Pallet<T>>::set_allowance(&collection, &sender, item, Some(&burner))?;
+	}: {<Pallet<T>>::burn_from(&collection, &burner, &sender, item)?}
+
 	set_variable_metadata {
 		let b in 0..CUSTOM_DATA_LIMIT;
 		bench_init!{
modifiedpallets/nonfungible/src/common.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/common.rs
+++ b/pallets/nonfungible/src/common.rs
@@ -38,7 +38,7 @@
 	}
 
 	fn burn_from() -> Weight {
-		0
+		<SelfWeightOf<T>>::burn_from()
 	}
 
 	fn set_variable_metadata(bytes: u32) -> Weight {
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -98,6 +98,15 @@
 			.saturating_add(T::DbWeight::get().reads(4 as Weight))
 			.saturating_add(T::DbWeight::get().writes(6 as Weight))
 	}
+	// Storage: Nonfungible Allowance (r:1 w:1)
+	// Storage: Nonfungible TokenData (r:1 w:1)
+	// Storage: Nonfungible TokensBurnt (r:1 w:1)
+	// Storage: Nonfungible Owned (r:0 w:1)
+	fn burn_from() -> Weight {
+		(53_429_000 as Weight)
+			.saturating_add(T::DbWeight::get().reads(3 as Weight))
+			.saturating_add(T::DbWeight::get().writes(4 as Weight))
+	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
 	fn set_variable_metadata(_b: u32, ) -> Weight {
 		(6_380_000 as Weight)
@@ -163,6 +172,15 @@
 			.saturating_add(RocksDbWeight::get().reads(4 as Weight))
 			.saturating_add(RocksDbWeight::get().writes(6 as Weight))
 	}
+	// Storage: Nonfungible Allowance (r:1 w:1)
+	// Storage: Nonfungible TokenData (r:1 w:1)
+	// Storage: Nonfungible TokensBurnt (r:1 w:1)
+	// Storage: Nonfungible Owned (r:0 w:1)
+	fn burn_from() -> Weight {
+		(53_429_000 as Weight)
+			.saturating_add(RocksDbWeight::get().reads(3 as Weight))
+			.saturating_add(RocksDbWeight::get().writes(4 as Weight))
+	}
 	// Storage: Nonfungible TokenData (r:1 w:1)
 	fn set_variable_metadata(_b: u32, ) -> Weight {
 		(6_380_000 as Weight)
modifiedpallets/refungible/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/refungible/src/benchmarking.rs
+++ b/pallets/refungible/src/benchmarking.rs
@@ -149,6 +149,16 @@
 		<Pallet<T>>::set_allowance(&collection, &sender, &spender, item, 200)?;
 	}: {<Pallet<T>>::transfer_from(&collection, &spender, &sender, &receiver, item, 200)?}
 
+	// Both source account and token is destroyed
+	burn_from {
+		bench_init!{
+			owner: sub; collection: collection(owner);
+			owner: cross_from_sub; sender: cross_sub; burner: cross_sub;
+		};
+		let item = create_max_item(&collection, &owner, [(sender.clone(), 200)])?;
+		<Pallet<T>>::set_allowance(&collection, &sender, &burner, item, 200)?;
+	}: {<Pallet<T>>::burn_from(&collection, &burner, &sender, item, 200)?}
+
 	set_variable_metadata {
 		let b in 0..CUSTOM_DATA_LIMIT;
 		bench_init!{
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
before · pallets/refungible/src/weights.rs
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 12889// Executed Command:10// target/release/nft11// benchmark12// --pallet13// pallet-refungible14// --wasm-execution15// compiled16// --extrinsic17// *18// --template19// .maintain/frame-weight-template.hbs20// --steps=5021// --repeat=2022// --output=./pallets/refungible/src/weights.rs232425#![cfg_attr(rustfmt, rustfmt_skip)]26#![allow(unused_parens)]27#![allow(unused_imports)]2829use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};30use sp_std::marker::PhantomData;3132/// Weight functions needed for pallet_refungible.33pub trait WeightInfo {34	fn create_item() -> Weight;35	fn create_multiple_items(b: u32, ) -> Weight;36	fn burn_item_partial() -> Weight;37	fn burn_item_fully() -> Weight;38	fn transfer_normal() -> Weight;39	fn transfer_creating() -> Weight;40	fn transfer_removing() -> Weight;41	fn transfer_creating_removing() -> Weight;42	fn approve() -> Weight;43	fn transfer_from_normal() -> Weight;44	fn transfer_from_creating() -> Weight;45	fn transfer_from_removing() -> Weight;46	fn transfer_from_creating_removing() -> Weight;47	fn set_variable_metadata(b: u32, ) -> Weight;48}4950/// Weights for pallet_refungible using the Substrate node and recommended hardware.51pub struct SubstrateWeight<T>(PhantomData<T>);52impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {53	// Storage: Refungible TokensMinted (r:1 w:1)54	// Storage: Refungible AccountBalance (r:1 w:1)55	// Storage: Refungible Balance (r:0 w:1)56	// Storage: Refungible TotalSupply (r:0 w:1)57	// Storage: Refungible TokenData (r:0 w:1)58	// Storage: Refungible Owned (r:0 w:1)59	fn create_item() -> Weight {60		(18_681_000 as Weight)61			.saturating_add(T::DbWeight::get().reads(2 as Weight))62			.saturating_add(T::DbWeight::get().writes(6 as Weight))63	}64	// Storage: Refungible TokensMinted (r:1 w:1)65	// Storage: Refungible AccountBalance (r:1 w:1)66	// Storage: Refungible Balance (r:0 w:4)67	// Storage: Refungible TotalSupply (r:0 w:4)68	// Storage: Refungible TokenData (r:0 w:4)69	// Storage: Refungible Owned (r:0 w:4)70	fn create_multiple_items(b: u32, ) -> Weight {71		(13_869_000 as Weight)72			// Standard Error: 28_00073			.saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))74			.saturating_add(T::DbWeight::get().reads(2 as Weight))75			.saturating_add(T::DbWeight::get().writes(2 as Weight))76			.saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))77	}78	// Storage: Refungible TotalSupply (r:1 w:1)79	// Storage: Refungible Balance (r:1 w:1)80	// Storage: Refungible AccountBalance (r:1 w:1)81	// Storage: Refungible Owned (r:0 w:1)82	fn burn_item_partial() -> Weight {83		(21_591_000 as Weight)84			.saturating_add(T::DbWeight::get().reads(3 as Weight))85			.saturating_add(T::DbWeight::get().writes(4 as Weight))86	}87	// Storage: Refungible TotalSupply (r:1 w:1)88	// Storage: Refungible Balance (r:1 w:1)89	// Storage: Refungible AccountBalance (r:1 w:1)90	// Storage: Refungible TokensBurnt (r:1 w:1)91	// Storage: Refungible TokenData (r:0 w:1)92	// Storage: Refungible Owned (r:0 w:1)93	fn burn_item_fully() -> Weight {94		(29_257_000 as Weight)95			.saturating_add(T::DbWeight::get().reads(4 as Weight))96			.saturating_add(T::DbWeight::get().writes(6 as Weight))97	}98	// Storage: Refungible Balance (r:2 w:2)99	fn transfer_normal() -> Weight {100		(17_733_000 as Weight)101			.saturating_add(T::DbWeight::get().reads(2 as Weight))102			.saturating_add(T::DbWeight::get().writes(2 as Weight))103	}104	// Storage: Refungible Balance (r:2 w:2)105	// Storage: Refungible AccountBalance (r:1 w:1)106	// Storage: Refungible Owned (r:0 w:1)107	fn transfer_creating() -> Weight {108		(20_943_000 as Weight)109			.saturating_add(T::DbWeight::get().reads(3 as Weight))110			.saturating_add(T::DbWeight::get().writes(4 as Weight))111	}112	// Storage: Refungible Balance (r:2 w:2)113	// Storage: Refungible AccountBalance (r:1 w:1)114	// Storage: Refungible Owned (r:0 w:1)115	fn transfer_removing() -> Weight {116		(22_406_000 as Weight)117			.saturating_add(T::DbWeight::get().reads(3 as Weight))118			.saturating_add(T::DbWeight::get().writes(4 as Weight))119	}120	// Storage: Refungible Balance (r:2 w:2)121	// Storage: Refungible AccountBalance (r:2 w:2)122	// Storage: Refungible Owned (r:0 w:2)123	fn transfer_creating_removing() -> Weight {124		(24_762_000 as Weight)125			.saturating_add(T::DbWeight::get().reads(4 as Weight))126			.saturating_add(T::DbWeight::get().writes(6 as Weight))127	}128	// Storage: Refungible Balance (r:1 w:0)129	// Storage: Refungible Allowance (r:0 w:1)130	fn approve() -> Weight {131		(14_109_000 as Weight)132			.saturating_add(T::DbWeight::get().reads(1 as Weight))133			.saturating_add(T::DbWeight::get().writes(1 as Weight))134	}135	// Storage: Refungible Allowance (r:1 w:1)136	// Storage: Refungible Balance (r:2 w:2)137	fn transfer_from_normal() -> Weight {138		(25_348_000 as Weight)139			.saturating_add(T::DbWeight::get().reads(3 as Weight))140			.saturating_add(T::DbWeight::get().writes(3 as Weight))141	}142	// Storage: Refungible Allowance (r:1 w:1)143	// Storage: Refungible Balance (r:2 w:2)144	// Storage: Refungible AccountBalance (r:1 w:1)145	// Storage: Refungible Owned (r:0 w:1)146	fn transfer_from_creating() -> Weight {147		(28_647_000 as Weight)148			.saturating_add(T::DbWeight::get().reads(4 as Weight))149			.saturating_add(T::DbWeight::get().writes(5 as Weight))150	}151	// Storage: Refungible Allowance (r:1 w:1)152	// Storage: Refungible Balance (r:2 w:2)153	// Storage: Refungible AccountBalance (r:1 w:1)154	// Storage: Refungible Owned (r:0 w:1)155	fn transfer_from_removing() -> Weight {156		(30_472_000 as Weight)157			.saturating_add(T::DbWeight::get().reads(4 as Weight))158			.saturating_add(T::DbWeight::get().writes(5 as Weight))159	}160	// Storage: Refungible Allowance (r:1 w:1)161	// Storage: Refungible Balance (r:2 w:2)162	// Storage: Refungible AccountBalance (r:2 w:2)163	// Storage: Refungible Owned (r:0 w:2)164	fn transfer_from_creating_removing() -> Weight {165		(32_362_000 as Weight)166			.saturating_add(T::DbWeight::get().reads(5 as Weight))167			.saturating_add(T::DbWeight::get().writes(7 as Weight))168	}169	// Storage: Refungible TokenData (r:1 w:1)170	fn set_variable_metadata(_b: u32, ) -> Weight {171		(6_801_000 as Weight)172			.saturating_add(T::DbWeight::get().reads(1 as Weight))173			.saturating_add(T::DbWeight::get().writes(1 as Weight))174	}175}176177// For backwards compatibility and tests178impl WeightInfo for () {179	// Storage: Refungible TokensMinted (r:1 w:1)180	// Storage: Refungible AccountBalance (r:1 w:1)181	// Storage: Refungible Balance (r:0 w:1)182	// Storage: Refungible TotalSupply (r:0 w:1)183	// Storage: Refungible TokenData (r:0 w:1)184	// Storage: Refungible Owned (r:0 w:1)185	fn create_item() -> Weight {186		(18_681_000 as Weight)187			.saturating_add(RocksDbWeight::get().reads(2 as Weight))188			.saturating_add(RocksDbWeight::get().writes(6 as Weight))189	}190	// Storage: Refungible TokensMinted (r:1 w:1)191	// Storage: Refungible AccountBalance (r:1 w:1)192	// Storage: Refungible Balance (r:0 w:4)193	// Storage: Refungible TotalSupply (r:0 w:4)194	// Storage: Refungible TokenData (r:0 w:4)195	// Storage: Refungible Owned (r:0 w:4)196	fn create_multiple_items(b: u32, ) -> Weight {197		(13_869_000 as Weight)198			// Standard Error: 28_000199			.saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))200			.saturating_add(RocksDbWeight::get().reads(2 as Weight))201			.saturating_add(RocksDbWeight::get().writes(2 as Weight))202			.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))203	}204	// Storage: Refungible TotalSupply (r:1 w:1)205	// Storage: Refungible Balance (r:1 w:1)206	// Storage: Refungible AccountBalance (r:1 w:1)207	// Storage: Refungible Owned (r:0 w:1)208	fn burn_item_partial() -> Weight {209		(21_591_000 as Weight)210			.saturating_add(RocksDbWeight::get().reads(3 as Weight))211			.saturating_add(RocksDbWeight::get().writes(4 as Weight))212	}213	// Storage: Refungible TotalSupply (r:1 w:1)214	// Storage: Refungible Balance (r:1 w:1)215	// Storage: Refungible AccountBalance (r:1 w:1)216	// Storage: Refungible TokensBurnt (r:1 w:1)217	// Storage: Refungible TokenData (r:0 w:1)218	// Storage: Refungible Owned (r:0 w:1)219	fn burn_item_fully() -> Weight {220		(29_257_000 as Weight)221			.saturating_add(RocksDbWeight::get().reads(4 as Weight))222			.saturating_add(RocksDbWeight::get().writes(6 as Weight))223	}224	// Storage: Refungible Balance (r:2 w:2)225	fn transfer_normal() -> Weight {226		(17_733_000 as Weight)227			.saturating_add(RocksDbWeight::get().reads(2 as Weight))228			.saturating_add(RocksDbWeight::get().writes(2 as Weight))229	}230	// Storage: Refungible Balance (r:2 w:2)231	// Storage: Refungible AccountBalance (r:1 w:1)232	// Storage: Refungible Owned (r:0 w:1)233	fn transfer_creating() -> Weight {234		(20_943_000 as Weight)235			.saturating_add(RocksDbWeight::get().reads(3 as Weight))236			.saturating_add(RocksDbWeight::get().writes(4 as Weight))237	}238	// Storage: Refungible Balance (r:2 w:2)239	// Storage: Refungible AccountBalance (r:1 w:1)240	// Storage: Refungible Owned (r:0 w:1)241	fn transfer_removing() -> Weight {242		(22_406_000 as Weight)243			.saturating_add(RocksDbWeight::get().reads(3 as Weight))244			.saturating_add(RocksDbWeight::get().writes(4 as Weight))245	}246	// Storage: Refungible Balance (r:2 w:2)247	// Storage: Refungible AccountBalance (r:2 w:2)248	// Storage: Refungible Owned (r:0 w:2)249	fn transfer_creating_removing() -> Weight {250		(24_762_000 as Weight)251			.saturating_add(RocksDbWeight::get().reads(4 as Weight))252			.saturating_add(RocksDbWeight::get().writes(6 as Weight))253	}254	// Storage: Refungible Balance (r:1 w:0)255	// Storage: Refungible Allowance (r:0 w:1)256	fn approve() -> Weight {257		(14_109_000 as Weight)258			.saturating_add(RocksDbWeight::get().reads(1 as Weight))259			.saturating_add(RocksDbWeight::get().writes(1 as Weight))260	}261	// Storage: Refungible Allowance (r:1 w:1)262	// Storage: Refungible Balance (r:2 w:2)263	fn transfer_from_normal() -> Weight {264		(25_348_000 as Weight)265			.saturating_add(RocksDbWeight::get().reads(3 as Weight))266			.saturating_add(RocksDbWeight::get().writes(3 as Weight))267	}268	// Storage: Refungible Allowance (r:1 w:1)269	// Storage: Refungible Balance (r:2 w:2)270	// Storage: Refungible AccountBalance (r:1 w:1)271	// Storage: Refungible Owned (r:0 w:1)272	fn transfer_from_creating() -> Weight {273		(28_647_000 as Weight)274			.saturating_add(RocksDbWeight::get().reads(4 as Weight))275			.saturating_add(RocksDbWeight::get().writes(5 as Weight))276	}277	// Storage: Refungible Allowance (r:1 w:1)278	// Storage: Refungible Balance (r:2 w:2)279	// Storage: Refungible AccountBalance (r:1 w:1)280	// Storage: Refungible Owned (r:0 w:1)281	fn transfer_from_removing() -> Weight {282		(30_472_000 as Weight)283			.saturating_add(RocksDbWeight::get().reads(4 as Weight))284			.saturating_add(RocksDbWeight::get().writes(5 as Weight))285	}286	// Storage: Refungible Allowance (r:1 w:1)287	// Storage: Refungible Balance (r:2 w:2)288	// Storage: Refungible AccountBalance (r:2 w:2)289	// Storage: Refungible Owned (r:0 w:2)290	fn transfer_from_creating_removing() -> Weight {291		(32_362_000 as Weight)292			.saturating_add(RocksDbWeight::get().reads(5 as Weight))293			.saturating_add(RocksDbWeight::get().writes(7 as Weight))294	}295	// Storage: Refungible TokenData (r:1 w:1)296	fn set_variable_metadata(_b: u32, ) -> Weight {297		(6_801_000 as Weight)298			.saturating_add(RocksDbWeight::get().reads(1 as Weight))299			.saturating_add(RocksDbWeight::get().writes(1 as Weight))300	}301}
modifiedpallets/scheduler/src/benchmarking.rsdiffbeforeafterboth
--- a/pallets/scheduler/src/benchmarking.rs
+++ b/pallets/scheduler/src/benchmarking.rs
@@ -33,7 +33,7 @@
 // Add `n` named items to the schedule
 fn fill_schedule<T: Config>(when: T::BlockNumber, n: u32) -> Result<(), &'static str> {
 	// Essentially a no-op call.
-	let call = frame_system::Call::set_storage(vec![]);
+	let call = frame_system::Call::set_storage { items: vec![] };
 	for i in 0..n {
 		// Named schedule is strictly heavier than anonymous
 		Scheduler::<T>::do_schedule_named(
@@ -61,7 +61,7 @@
 		let periodic = Some((T::BlockNumber::one(), 100));
 		let priority = 0;
 		// Essentially a no-op call.
-		let call = Box::new(frame_system::Call::set_storage(vec![]).into());
+		let call = Box::new(frame_system::Call::set_storage { items: vec![] }.into());
 
 		fill_schedule::<T>(when, s)?;
 	}: _(RawOrigin::Root, when, periodic, priority, call)
@@ -98,7 +98,7 @@
 		let periodic = Some((T::BlockNumber::one(), 100));
 		let priority = 0;
 		// Essentially a no-op call.
-		let call = Box::new(frame_system::Call::set_storage(vec![]).into());
+		let call = Box::new(frame_system::Call::set_storage { items: vec![] }.into());
 
 		fill_schedule::<T>(when, s)?;
 	}: _(RawOrigin::Root, id, when, periodic, priority, call)
modifiedruntime/Cargo.tomldiffbeforeafterboth
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -23,7 +23,9 @@
     'frame-support/runtime-benchmarks',
     'frame-system-benchmarking',
     'frame-system/runtime-benchmarks',
+    'pallet-ethereum/runtime-benchmarks',
     'pallet-evm-migration/runtime-benchmarks',
+    'pallet-evm-coder-substrate/runtime-benchmarks',
     'pallet-balances/runtime-benchmarks',
     'pallet-timestamp/runtime-benchmarks',
     'pallet-common/runtime-benchmarks',
modifiedruntime/src/lib.rsdiffbeforeafterboth
--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -1327,6 +1327,7 @@
 			list_benchmark!(list, extra, pallet_fungible, Fungible);
 			list_benchmark!(list, extra, pallet_refungible, Refungible);
 			list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
+			// list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
 
 			let storage_info = AllPalletsWithSystem::storage_info();
 
@@ -1360,6 +1361,7 @@
 			add_benchmark!(params, batches, pallet_fungible, Fungible);
 			add_benchmark!(params, batches, pallet_refungible, Refungible);
 			add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
+			// add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
 
 			if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
 			Ok(batches)