From 35181d3d2a10004c3488686f8a17c0bf61600451 Mon Sep 17 00:00:00 2001 From: haerdib Date: Wed, 12 Jul 2023 16:51:01 +0200 Subject: [PATCH] also update custom_nonce --- examples/examples/custom_nonce.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/examples/custom_nonce.rs b/examples/examples/custom_nonce.rs index 6dbd4f5f5..546b80e73 100644 --- a/examples/examples/custom_nonce.rs +++ b/examples/examples/custom_nonce.rs @@ -25,8 +25,10 @@ use substrate_api_client::{ Api, Error, GetChainInfo, SubmitAndWatch, UnexpectedTxStatus, XtStatus, }; -// To test this example in CI, we run it against the Substrate kitchensink node. Therefore, we use the AssetRuntimeConfig. -// ! Careful: Most runtimes uses plain as tips, they need a polkadot config. +// To test this example with CI we run it against the Substrate kitchensink node, which uses the asset pallet. +// Therefore, we need to use the `AssetRuntimeConfig` in this example. +// ! However, most Substrate runtimes do not use the asset pallet at all. So if you run an example against your own node +// you most likely should use `DefaultRuntimeConfig` instead. #[tokio::main] async fn main() {