diff --git a/substrate/utils/frame/remote-externalities/src/lib.rs b/substrate/utils/frame/remote-externalities/src/lib.rs index 5e94bea45f58..5c7a36867ff6 100644 --- a/substrate/utils/frame/remote-externalities/src/lib.rs +++ b/substrate/utils/frame/remote-externalities/src/lib.rs @@ -421,7 +421,6 @@ where return vec![StorageKey(prefix)] } - // FIXME: figure out a better algo for dividing workload let chunks = 16; let step = 0x10000 / chunks; let ext = scale - 2; @@ -694,6 +693,8 @@ where ) -> Result, &'static str> { let start = Instant::now(); let mut sp = Spinner::with_timer(Spinners::Dots, "Scraping keys...".into()); + // TODO We could start downloading when having collected the first batch of keys + // https://github.com/paritytech/polkadot-sdk/issues/2494 let keys = self .rpc_get_keys_parallel(&prefix, at, Self::PARALLEL_REQUESTS) .await?