From 073df5f9a4ea7d0ca93c63df9a24ab4c3ca2b155 Mon Sep 17 00:00:00 2001 From: gui1117 Date: Mon, 30 Mar 2026 14:47:11 +0900 Subject: [PATCH 1/3] fix links --- substrate/client/rpc-api/src/state/mod.rs | 4 ++-- .../statement-store/statement-latency-bench/src/bench.rs | 2 +- substrate/frame/state-trie-migration/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/substrate/client/rpc-api/src/state/mod.rs b/substrate/client/rpc-api/src/state/mod.rs index ee62387b6bd4b..b027bdbaf18b2 100644 --- a/substrate/client/rpc-api/src/state/mod.rs +++ b/substrate/client/rpc-api/src/state/mod.rs @@ -281,8 +281,8 @@ pub trait StateApi { /// [querying substrate storage via rpc][3]. /// /// [1]: https://docs.substrate.io/main-docs/fundamentals/state-transitions-and-storage/ - /// [2]: https://www.shawntabrizi.com/blog/substrate/transparent-keys-in-substrate/ - /// [3]: https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/ + /// [2]: https://www.shawntabrizi.com/blog/transparent-keys-in-substrate/ + /// [3]: https://www.shawntabrizi.com/blog/querying-substrate-storage-via-rpc/ /// /// ### Maximum payload size /// diff --git a/substrate/client/statement-store/statement-latency-bench/src/bench.rs b/substrate/client/statement-store/statement-latency-bench/src/bench.rs index b5b7d5fc5e028..7d38bf0834221 100644 --- a/substrate/client/statement-store/statement-latency-bench/src/bench.rs +++ b/substrate/client/statement-store/statement-latency-bench/src/bench.rs @@ -50,7 +50,7 @@ use tokio::{sync::Barrier, time::timeout}; #[command(name = "statement-latency-bench")] #[command(about = "Distributed statement store latency benchmark", long_about = None)] struct Args { - /// Comma-separated list of RPC WebSocket endpoints (e.g., ws://node1:9944,ws://node2:9944) + /// Comma-separated list of RPC WebSocket endpoints (e.g., `ws://node1:9944,ws://node2:9944`) #[arg(long, value_delimiter = ',', required = true)] rpc_endpoints: Vec, diff --git a/substrate/frame/state-trie-migration/src/lib.rs b/substrate/frame/state-trie-migration/src/lib.rs index 83fac5903cff9..4ec7d691b24f9 100644 --- a/substrate/frame/state-trie-migration/src/lib.rs +++ b/substrate/frame/state-trie-migration/src/lib.rs @@ -541,7 +541,7 @@ pub mod pallet { /// - [`frame_support::storage::StorageDoubleMap`]: 96 byte /// /// For more info see - /// + /// #[pallet::constant] #[pallet::no_default] From adf9b0b9248a45fb236d8b09aa975f25f32704a3 Mon Sep 17 00:00:00 2001 From: gui1117 Date: Mon, 30 Mar 2026 15:25:42 +0900 Subject: [PATCH 2/3] just ignore the file with ws: --- .config/lychee.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/lychee.toml b/.config/lychee.toml index 9a3f9b260221b..7eb444f341680 100644 --- a/.config/lychee.toml +++ b/.config/lychee.toml @@ -69,4 +69,6 @@ exclude = [ # Exclude strings which contain templates like {} and {:?} "%7B%7D", "%7B:\\?}", + # Example ws:// URLs in Rust doc comments incorrectly parsed as file paths by lychee + "file://.*/ws:/node.*", ] From e7985a6119ba6da7492d3e7584facf72a86a47d1 Mon Sep 17 00:00:00 2001 From: gui1117 Date: Mon, 30 Mar 2026 15:33:02 +0900 Subject: [PATCH 3/3] update the link --- substrate/client/rpc-api/src/state/mod.rs | 2 +- substrate/frame/state-trie-migration/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/client/rpc-api/src/state/mod.rs b/substrate/client/rpc-api/src/state/mod.rs index b027bdbaf18b2..8445b1a147bee 100644 --- a/substrate/client/rpc-api/src/state/mod.rs +++ b/substrate/client/rpc-api/src/state/mod.rs @@ -282,7 +282,7 @@ pub trait StateApi { /// /// [1]: https://docs.substrate.io/main-docs/fundamentals/state-transitions-and-storage/ /// [2]: https://www.shawntabrizi.com/blog/transparent-keys-in-substrate/ - /// [3]: https://www.shawntabrizi.com/blog/querying-substrate-storage-via-rpc/ + /// [3]: https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/ /// /// ### Maximum payload size /// diff --git a/substrate/frame/state-trie-migration/src/lib.rs b/substrate/frame/state-trie-migration/src/lib.rs index 4ec7d691b24f9..c86b3f40ddd46 100644 --- a/substrate/frame/state-trie-migration/src/lib.rs +++ b/substrate/frame/state-trie-migration/src/lib.rs @@ -541,7 +541,7 @@ pub mod pallet { /// - [`frame_support::storage::StorageDoubleMap`]: 96 byte /// /// For more info see - /// + /// #[pallet::constant] #[pallet::no_default]