From f0573599d4ed36ac212e5226486dcd89262aa267 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 29 Oct 2024 19:56:24 +0800 Subject: [PATCH] Update benchmarking.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dónal Murray --- substrate/frame/timestamp/src/benchmarking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/timestamp/src/benchmarking.rs b/substrate/frame/timestamp/src/benchmarking.rs index 3f73778f77d0..2f915b3cc370 100644 --- a/substrate/frame/timestamp/src/benchmarking.rs +++ b/substrate/frame/timestamp/src/benchmarking.rs @@ -37,7 +37,7 @@ mod benchmarks { let t = MAX_TIME; // Ignore write to `DidUpdate` since it transient. let did_update_key = DidUpdate::::hashed_key().to_vec(); - benchmarking::add_to_whitelist(TrackedStorageKey { + add_to_whitelist(TrackedStorageKey { key: did_update_key, reads: 0, writes: 1,