Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Artifacts (auto-generated) #1577

Merged
merged 2 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions artifacts/demo_chain_specs/polkadot.json

Large diffs are not rendered by default.

Binary file modified artifacts/polkadot_metadata_full.scale
Binary file not shown.
Binary file modified artifacts/polkadot_metadata_small.scale
Binary file not shown.
Binary file modified artifacts/polkadot_metadata_tiny.scale
Binary file not shown.
16 changes: 9 additions & 7 deletions cli/src/commands/explore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub async fn run(opts: Opts, output: &mut impl std::io::Write) -> color_eyre::Re
Usage:
subxt explore pallet {pallet_placeholder}
explore a specific pallet

{pallets}
"}?;
return Ok(());
Expand Down Expand Up @@ -336,6 +336,8 @@ pub mod tests {
SessionKeys
TaggedTransactionQueue
TransactionPaymentApi
XcmDryRunApi
XcmPaymentApi
"};
assert_eq!(output, expected_output);
// if incorrect pallet, error:
Expand Down Expand Up @@ -367,7 +369,7 @@ pub mod tests {
Usage:
subxt explore pallet Balances calls <CALL>
explore a specific call of this pallet

Available <CALL>'s in the \"Balances\" pallet:"};
assert_eq_start!(output, start);
let output = run_against_file("pallet Balances storage")
Expand All @@ -378,7 +380,7 @@ pub mod tests {
Usage:
subxt explore pallet Balances storage <STORAGE_ENTRY>
explore a specific storage entry of this pallet

Available <STORAGE_ENTRY>'s in the \"Balances\" pallet:
"};
assert_eq_start!(output, start);
Expand All @@ -390,7 +392,7 @@ pub mod tests {
Usage:
subxt explore pallet Balances constants <CONSTANT>
explore a specific constant of this pallet

Available <CONSTANT>'s in the \"Balances\" pallet:
"};
assert_eq_start!(output, start);
Expand All @@ -402,7 +404,7 @@ pub mod tests {
Usage:
subxt explore pallet Balances events <EVENT>
explore a specific event of this pallet

Available <EVENT>'s in the \"Balances\" pallet:
"};
assert_eq_start!(output, start);
Expand All @@ -427,11 +429,11 @@ pub mod tests {
let start = formatdoc! {"
Description:
The `Metadata` api trait that returns metadata for the runtime.

Usage:
subxt explore api Metadata <METHOD>
explore a specific runtime api method

Available <METHOD>'s available for the \"Metadata\" runtime api:
"};
assert_eq_start!(output, start);
Expand Down
Loading
Loading