From 673c473a380d4dc36cb7ed381128fec3e48d2ae8 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 29 Oct 2024 22:24:09 +0800 Subject: [PATCH] Fix review in #6258 --- substrate/frame/timestamp/src/benchmarking.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/substrate/frame/timestamp/src/benchmarking.rs b/substrate/frame/timestamp/src/benchmarking.rs index 1ba8c4195de9..ef4d36c57691 100644 --- a/substrate/frame/timestamp/src/benchmarking.rs +++ b/substrate/frame/timestamp/src/benchmarking.rs @@ -58,12 +58,7 @@ mod benchmarks { // Ignore read/write to `DidUpdate` since it is transient. let did_update_key = DidUpdate::::hashed_key().to_vec(); - add_to_whitelist(TrackedStorageKey { - key: did_update_key, - reads: 0, - writes: 1, - whitelisted: false, - }); + add_to_whitelist(did_update_key.into()); #[block] {