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

CLI Tool Explore Command: Runtime APIs, Events, Colorized outputs, scale-typegen integration #1290

Merged
merged 66 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
38f3a16
restructure cli commands
tadeohepperle Nov 20, 2023
71e0ed7
config: Add `SkipCheckIfFeeless` signed extension (#1264)
lexnv Nov 16, 2023
6980c2f
subxt: Replace removed lint (#1270)
lexnv Nov 16, 2023
156dd84
lightclient: Add support for multi-chain usecase (#1238)
lexnv Nov 16, 2023
4ae6ffd
Bump futures from 0.3.28 to 0.3.29 (#1272)
dependabot[bot] Nov 20, 2023
62ea604
Bump zeroize from 1.6.0 to 1.7.0 (#1274)
dependabot[bot] Nov 20, 2023
e09a025
Bump tracing-subscriber from 0.3.17 to 0.3.18 (#1275)
dependabot[bot] Nov 20, 2023
0c28a7e
Bump tracing-subscriber from 0.3.17 to 0.3.18 (#1275)
dependabot[bot] Nov 20, 2023
14420b8
Bump getrandom from 0.2.10 to 0.2.11 (#1273)
dependabot[bot] Nov 20, 2023
871561c
impl RpcClientT for Arc<T> and Box<T> (#1277)
niklasad1 Nov 21, 2023
9f74bca
first iteration of using scale_typegen
tadeohepperle Nov 21, 2023
bbe8e4f
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Nov 21, 2023
5bf6c52
introduce indoc for formatting
tadeohepperle Nov 22, 2023
8052211
calls, constants and home are cleaner now
tadeohepperle Nov 22, 2023
5fd50ce
added event subcommand
tadeohepperle Nov 23, 2023
c5973a0
show runtime apis working
tadeohepperle Nov 23, 2023
ec8ac18
add better code formatting
tadeohepperle Nov 23, 2023
f6b8ddd
fix style
tadeohepperle Nov 23, 2023
af019a6
adjust tests, use owo_colorize to not add extra dependency
tadeohepperle Nov 24, 2023
b871375
fmt
tadeohepperle Nov 24, 2023
52b4013
adjust docs
tadeohepperle Nov 24, 2023
febd3a0
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Nov 24, 2023
cd3f660
move scale-typegen-description dependency to workspace
tadeohepperle Nov 29, 2023
a7835f6
improve `substrate-compat` (#1265)
yjhmelody Nov 24, 2023
6f17b5d
Bump proc-macro2 from 1.0.69 to 1.0.70 (#1292)
dependabot[bot] Nov 27, 2023
3b68cb3
Bump serde from 1.0.192 to 1.0.193 (#1291)
dependabot[bot] Nov 27, 2023
e36181c
lightclient: Fix wasm socket closure called after being dropped (#1289)
lexnv Nov 29, 2023
9040872
workflows: Install rustup component for building substrate (#1295)
lexnv Nov 29, 2023
6611a7e
cli: Command to fetch chainSpec and optimise its size (#1278)
lexnv Nov 29, 2023
16a67cd
conflict resolving
tadeohepperle Nov 29, 2023
afd1ce2
update to new scale-typegen interfaces
tadeohepperle Dec 8, 2023
36b7b8b
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 2, 2024
6af9fa3
use released version of scale-typegen
tadeohepperle Jan 2, 2024
4f4d399
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 4, 2024
e36e612
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 4, 2024
b623e3c
remove unused debug file
tadeohepperle Jan 5, 2024
ecd252c
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 8, 2024
f7c6699
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 9, 2024
651a74b
resolve merge errors
tadeohepperle Jan 9, 2024
fc8b568
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 12, 2024
221c9e1
adjustments
tadeohepperle Jan 12, 2024
6a8b345
constants file adjustment
tadeohepperle Jan 12, 2024
04c006e
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 12, 2024
b6f2423
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
jsdw Jan 17, 2024
0b7704a
method renaming
tadeohepperle Jan 16, 2024
0a08a8c
fix issue with encoding runtime api params
tadeohepperle Jan 18, 2024
4223852
Add logging to submit_transaction and unstable driver, and ensure unp…
jsdw Jan 17, 2024
7f4a110
panic if None returned from subscription too, also with stats
jsdw Jan 17, 2024
e8f29bb
change panic to Err just to be on the safe side
jsdw Jan 17, 2024
1fcd3b0
clippy
jsdw Jan 17, 2024
c7b517d
make long tests run only after clippy + fmt pass
jsdw Jan 17, 2024
d3777fa
megre in light client test change pr
jsdw Jan 17, 2024
d95c8eb
chore(subxt/src): typo fix (#1370)
Pan-chao Jan 17, 2024
e39acda
Weekly Cronjob fetching artifacts and generating polkadot.rs file. (#…
tadeohepperle Jan 17, 2024
8c9e1e8
lightclient(fix): Ensure lightclient chainSpec is at least one block …
lexnv Jan 17, 2024
d6d258f
ci: Reduce the light client timeout to 15 minutes (#1373)
lexnv Jan 17, 2024
26607f1
actually only wait for machete+fmt, clippy can be much slower
jsdw Jan 17, 2024
fce3ef7
update CI file from Alex PR
jsdw Jan 18, 2024
240cf26
resolve clippy err
jsdw Jan 18, 2024
1c37385
Try a few RPC nodes in case one of them is not working
jsdw Jan 18, 2024
833beb2
fix submit_transaction debug logging of message
jsdw Jan 18, 2024
f29fbed
Improve Signed Extension and Block Decoding Examples/Book (#1357)
tadeohepperle Jan 18, 2024
9e9dcfa
fix formatting of returned sections
tadeohepperle Jan 18, 2024
d9570df
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 18, 2024
e12dabc
Merge branch 'master' into tadeohepperle/cli-support-runtime-apis
tadeohepperle Jan 19, 2024
e1483f3
make storage use execute flag as well
tadeohepperle Jan 19, 2024
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
86 changes: 86 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ getrandom = { version = "0.2", default-features = false }
hex = "0.4.3"
heck = "0.4.1"
impl-serde = { version = "0.4.0" }
indoc = "2"
jsonrpsee = { version = "0.21" }
pretty_assertions = "1.4.0"
primitive-types = { version = "0.12.2", default-features = false, features = ["codec", "scale-info", "serde"] }
Expand Down Expand Up @@ -97,6 +98,7 @@ wasm-bindgen-test = "0.3.24"
which = "5.0.0"
scale-typegen-description = "0.1.0"
scale-typegen = "0.1.1"
strip-ansi-escapes = "0.2.0"

# Light client support:
smoldot = { version = "0.16.0", default-features = false }
Expand Down
9 changes: 8 additions & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,12 @@ scale-value = { workspace = true }
syn = { workspace = true }
jsonrpsee = { workspace = true, features = ["async-client", "client-ws-transport-native-tls", "http-client"] }
tokio = { workspace = true, features = ["rt-multi-thread"] }
scale-typegen-description = { workspace = true }
heck = { workspace = true }
indoc = { workspace = true }
thiserror = { workspace = true }
smoldot = { workspace = true, optional = true}
smoldot = { workspace = true, optional = true }

[dev-dependencies]
strip-ansi-escapes = { workspace = true }
pretty_assertions = { workspace = true }
94 changes: 0 additions & 94 deletions cli/src/commands/explore/constants.rs

This file was deleted.

Loading
Loading