This repository was archived by the owner on Mar 3, 2025. It is now read-only.
forked from paritytech/subxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reorg the order of deps (paritytech#284) * Reorg the order of deps This patch is simply for easier editor operation when replacing the substrate deps. * . * deps: update jsonrpsee 0.2.0 (paritytech#285) * deps: update jsonrpsee 0.2.0 The motivation is to avoid pinning certain alpha versions and to avoid breaking users builds without having to some `Cargo.lock` updating. * cargo fmt * fix tests * fix a few clippy lints * cargo fmt * Update substrate * update version * update version * update version * deps: update jsonrpsee 0.3.0 (paritytech#289) Signed-off-by: Gregory Hill <[email protected]> * Add NextKeys and QueuedKeys for session module (paritytech#291) * Add NextKeys and QueuedKeys for session module * Fix fmt * for darwinia * fix test, use `RuntimeMetadata::V13` Co-authored-by: Liu-Cheng Xu <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: Aki Wu <[email protected]> Co-authored-by: Greg Hill <[email protected]>
- Loading branch information
1 parent
8b5bb8d
commit 931aa5a
Showing
14 changed files
with
835 additions
and
501 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ members = [".", "client", "proc-macro"] | |
|
||
[package] | ||
name = "substrate-subxt" | ||
version = "0.15.2" | ||
version = "0.15.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
@@ -19,47 +19,51 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] | |
[features] | ||
default = ["tokio1"] | ||
client = ["substrate-subxt-client"] | ||
# jsonrpsee http client can be configured to use tokio02 or tokio1. | ||
tokio02 = ["jsonrpsee-http-client/tokio02"] | ||
tokio1 = ["jsonrpsee-http-client/tokio1"] | ||
# jsonrpsee can be configured to use tokio02 or tokio1. | ||
tokio02 = ["jsonrpsee-http-client/tokio02", "jsonrpsee-ws-client/tokio02"] | ||
tokio1 = ["jsonrpsee-http-client/tokio1", "jsonrpsee-ws-client/tokio1"] | ||
|
||
[dependencies] | ||
async-trait = "0.1.49" | ||
log = "0.4.14" | ||
thiserror = "1.0.24" | ||
codec = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] } | ||
dyn-clone = "1.0.4" | ||
futures = "0.3.13" | ||
jsonrpsee-proc-macros = "=0.2.0-alpha.6" | ||
jsonrpsee-ws-client = "=0.2.0-alpha.6" | ||
jsonrpsee-http-client = { version = "=0.2.0-alpha.6", default-features = false } | ||
hex = "0.4.3" | ||
jsonrpsee-proc-macros = "0.3.0" | ||
jsonrpsee-ws-client = { version = "0.3.0", default-features = false } | ||
jsonrpsee-http-client = { version = "0.3.0", default-features = false } | ||
jsonrpsee-types = "0.3.0" | ||
log = "0.4.14" | ||
num-traits = { version = "0.2.14", default-features = false } | ||
serde = { version = "1.0.124", features = ["derive"] } | ||
serde_json = "1.0.64" | ||
thiserror = "1.0.24" | ||
url = "2.2.1" | ||
codec = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] } | ||
dyn-clone = "1.0.4" | ||
|
||
frame-metadata = "13.0.0" | ||
frame-support = "3.0.0" | ||
sp-runtime = "3.0.0" | ||
sp-version = "3.0.0" | ||
pallet-indices = "3.0.0" | ||
hex = "0.4.3" | ||
sp-std = "3.0.0" | ||
application-crypto = { version = "3.0.0", package = "sp-application-crypto" } | ||
pallet-staking = "3.0.0" | ||
|
||
sp-rpc = { version = "3.0.0", package = "sp-rpc" } | ||
sp-core = { version = "3.0.0", package = "sp-core" } | ||
substrate-subxt-client = { version = "0.7.0", path = "client", optional = true } | ||
substrate-subxt-proc-macro = { version = "0.15.0", path = "proc-macro" } | ||
|
||
sp-application-crypto = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
sp-core = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
sp-rpc = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
sp-runtime = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
sp-std = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
sp-version = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
|
||
frame-metadata = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
frame-support = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
pallet-indices = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
pallet-staking = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
|
||
|
||
[dev-dependencies] | ||
async-std = { version = "1.9.0", features = ["attributes"] } | ||
assert_matches = "1.5.0" | ||
async-std = { version = "1.9.0", features = ["attributes", "tokio1"] } | ||
env_logger = "0.8.3" | ||
frame-system = "3.0.0" | ||
pallet-balances = "3.0.0" | ||
sp-keyring = "3.0.0" | ||
tempdir = "0.3.7" | ||
wabt = "0.10.0" | ||
which = "4.0.2" | ||
assert_matches = "1.5.0" | ||
|
||
sp-keyring = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
frame-system = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
pallet-balances = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "substrate-subxt-proc-macro" | ||
version = "0.15.2" | ||
version = "0.15.3" | ||
authors = ["David Craven <[email protected]>", "Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
autotests = false | ||
|
@@ -29,10 +29,11 @@ async-std = { version = "1.8.0", features = ["attributes"] } | |
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] } | ||
env_logger = "0.8.2" | ||
pretty_assertions = "0.6.1" | ||
sp-keyring = "3.0.0" | ||
substrate-subxt = { path = ".." } | ||
trybuild = "1.0.38" | ||
|
||
sp-keyring = { git = "https://github.com/darwinia-network/substrate.git", tag = "darwinia-v0.11.3" } | ||
|
||
[[test]] | ||
name = "balances" | ||
path = "tests/balances.rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.