From d92352ad739836a4100e1ef1db607acc82ed8c5a Mon Sep 17 00:00:00 2001 From: James Wilson Date: Tue, 24 Jan 2023 16:55:27 +0000 Subject: [PATCH] Prep for releasing 0.26.0 (#802) * Prep for releasing 0.26.0 * link to new RPC spec --- CHANGELOG.md | 140 +++++++++++++++++++++++++++ Cargo.lock | 131 +++++++++++++++---------- cli/Cargo.toml | 6 +- codegen/Cargo.toml | 4 +- examples/Cargo.toml | 2 +- macro/Cargo.toml | 4 +- metadata/Cargo.toml | 2 +- subxt/Cargo.toml | 6 +- testing/integration-tests/Cargo.toml | 6 +- testing/test-runtime/Cargo.toml | 2 +- testing/ui-tests/Cargo.toml | 2 +- 11 files changed, 235 insertions(+), 70 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 314e861866..2b034dc3f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,146 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.26.0] - 2022-01-24 + +This release adds a number of improvements, most notably: + +- We make Substrate dependencies optional ([#760](https://github.com/paritytech/subxt/pull/760)), which makes WASM builds both smaller and more reliable. To do this, we re-implement some core types like `AccountId32`, `MultiAddress` and `MultiSignature` internally. +- Allow access to storage entries ([#774](https://github.com/paritytech/subxt/pull/774)) and runtime API's ([#777](https://github.com/paritytech/subxt/pull/777)) from some block. This is part of a move towards a more "block centric" interface, which will better align with the newly available `chainHead` style RPC interface. +- Add RPC methods for the new `chainHead` style interface (see https://paritytech.github.io/json-rpc-interface-spec/). These are currently unstable, but will allow users to start experimenting with this new API if their nodes support it. +- More advanced type substitution is now possible in the codegen interface ([#735](https://github.com/paritytech/subxt/pull/735)). + +This release introduces a number of breaking changes that can be generally be fixed with mechanical tweaks to your code. The notable changes are described below. + +### Make Storage API more Block-centric + +See [#774](https://github.com/paritytech/subxt/pull/774). This PR makes the Storage API more consistent with the Events API, and allows access to it from a given block as part of a push to provide a more block centric API that will hopefully be easier to understand, and will align with the new RPC `chainHead` style RPC interface. + +Before, your code will look like: + +```rust +let a = api.storage().fetch(&staking_bonded, None).await?; +``` + +After, it should look like: + +```rust +let a = api.storage().at(None).await?.fetch(&staking_bonded).await?; +``` + +Essentially, the final parameter for choosing which block to call some method at has been moved out of the storage method itself and is now provided to instantiate the storage API, either explicitly via an `.at(optional_block_hash)` as above, or implicitly when calling `block.storage()` to access the same storage methods for some block. + +An alternate way to access the same storage (primarily used if you have subscribed to blocks or otherwise are working with some block) now is: + +```rust +let block = api.blocks().at(None).await? +let a = block.storage().fetch(&staking_bonded, None).await?; +``` + +### More advanced type substitution in codegen + +See [#735](https://github.com/paritytech/subxt/pull/735). Previously, you could perform basic type substitution like this: + +```rust +#[subxt::subxt(runtime_metadata_path = "../polkadot_metadata.scale")] +pub mod node_runtime { + #[subxt::subxt(substitute_type = "sp_arithmetic::per_things::Foo")] + use crate::Foo; +} +``` + +This example would use `crate::Foo` every time an `sp_arithmetic::per_things::Foo` was encountered in the codegen. However, this was limited; the substitute type had to have the name number and order of generic parameters for this to work. + +We've changed the interface above into: + +```rust +#[subxt::subxt( + runtime_metadata_path = "../polkadot_metadata.scale", + substitute_type( + type = "sp_arithmetic::per_things::Foo", + with = "crate::Foo" + ) +)] +pub mod node_runtime {} +``` + +In this example, we can (optionally) specify the generic parameters we expect to see on the original type ("type"), and then of those, decide which should be present on the substitute type ("with"). If no parameters are provided at all, we'll get the same behaviour as before. This allows much more flexibility when defining substitute types. + +### Optional Substrate dependencies + +See [#760](https://github.com/paritytech/subxt/pull/760). Subxt now has a "substrate-compat" feature (enabled by default, and disabled for WASM builds). At present, enabling this feature simply exposes the `PairSigner` (which was always available before), allowing transactions to be signed via Substrate signer logic (as before). When disabled, you (currently) must bring your own signer implementation, but in return we can avoid bringing in a substantial number of Substrate dependencies in the process. + +Regardless, this change also tidied up and moved various bits and pieces around to be consistent with this goal. To address some common moves, previously we'd have: + +```rust +use subxt::{ + ext::{ + sp_core::{ sr25519, Pair }, + sp_runtime::{ AccountId32, generic::Header }, + }, + tx::{ + Era, + PlainTip, + PolkadotExtrinsicParamsBuilder + } +}; +``` + +And now this would look more like: + +```rust +// `sp_core` and `sp_runtime` are no longer exposed via `ext`; add the crates yourself at matching versions to use: +use sp_core::{ + sr25519, + Pair, +}; +use subxt::{ + // You'll often want to use the "built-in" `AccountId32` now instead of the `sp_runtime` version: + utils::AccountId32, + // traits used in our `Config` trait are now provided directly in this module: + config::Header, + // Polkadot and Substrate specific Config types are now in the relevant Config section: + config::polkadot::{ + Era, + PlainTip, + PolkadotExtrinsicParamsBuilder + } +} +``` + +Additionally, the `type Hashing` in the `Config` trait is now called `Hasher`, to clarify what it is, and types returned directly from the RPC calls now all live in `crate::rpc::types`, rather than sometimes living in Substrate crates. + +Some other note worthy PRs that were merged since the last release: + +### Added + +- Add block-centric Storage API ([#774](https://github.com/paritytech/subxt/pull/774)) +- Add `chainHead` RPC methods ([#766](https://github.com/paritytech/subxt/pull/766)) +- Allow for remapping type parameters in type substitutions ([#735](https://github.com/paritytech/subxt/pull/735)) +- Add ability to set custom metadata etc on OnlineClient ([#794](https://github.com/paritytech/subxt/pull/794)) +- Add `Cargo.lock` for deterministic builds ([#795](https://github.com/paritytech/subxt/pull/795)) +- Add API to execute runtime calls ([#777](https://github.com/paritytech/subxt/pull/777)) +- Add bitvec-like generic support to the scale-bits type for use in codegen ([#718](https://github.com/paritytech/subxt/pull/718)) +- Add `--derive-for-type` to cli ([#708](https://github.com/paritytech/subxt/pull/708)) + +### Changed + +- rename subscribe_to_updates() to updater() ([#792](https://github.com/paritytech/subxt/pull/792)) +- Expose `Update` ([#791](https://github.com/paritytech/subxt/pull/791)) +- Expose version info in CLI tool with build-time obtained git hash ([#787](https://github.com/paritytech/subxt/pull/787)) +- Implement deserialize on AccountId32 ([#773](https://github.com/paritytech/subxt/pull/773)) +- Codegen: Preserve attrs and add #[allow(clippy::all)] ([#784](https://github.com/paritytech/subxt/pull/784)) +- make ChainBlockExtrinsic cloneable ([#778](https://github.com/paritytech/subxt/pull/778)) +- Make sp_core and sp_runtime dependencies optional, and bump to latest ([#760](https://github.com/paritytech/subxt/pull/760)) +- Make verbose rpc error display ([#758](https://github.com/paritytech/subxt/pull/758)) +- rpc: Expose the `subscription ID` for `RpcClientT` ([#733](https://github.com/paritytech/subxt/pull/733)) +- events: Fetch metadata at arbitrary blocks ([#727](https://github.com/paritytech/subxt/pull/727)) + +### Fixed + +- Fix decoding events via `.as_root_event()` and add test ([#767](https://github.com/paritytech/subxt/pull/767)) +- Retain Rust code items from `mod` decorated with `subxt` attribute ([#721](https://github.com/paritytech/subxt/pull/721)) + ## [0.25.0] - 2022-11-16 This release resolves the `parity-util-mem crate` several version guard by updating substrate related dependencies which makes diff --git a/Cargo.lock b/Cargo.lock index 36be459001..2ede39707c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,7 +27,7 @@ version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ - "gimli 0.27.0", + "gimli 0.27.1", ] [[package]] @@ -128,9 +128,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.61" +version = "0.1.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705339e0e4a9690e2908d2b3d049d85682cf19fbd5782494498fbf7003a6a282" +checksum = "eff18d764974428cf3a9328e23fc5c986f5fbed46e6cd4cdf42544df5d297ec1" dependencies = [ "proc-macro2", "quote", @@ -165,7 +165,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.30.2", + "object 0.30.3", "rustc-demangle", ] @@ -372,9 +372,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.1.1" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec7a4128863c188deefe750ac1d1dfe66c236909f845af04beed823638dc1b2" +checksum = "d8d93d855ce6a0aa87b8473ef9169482f40abaa2e9e0993024c35c902cbd5920" dependencies = [ "bitflags", "clap_derive", @@ -667,9 +667,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d1075c37807dcf850c379432f0df05ba52cc30f279c5cfc43cc221ce7f8579" +checksum = "b61a7545f753a88bcbe0a70de1fcc0221e10bfc752f576754fa91e663db1622e" dependencies = [ "cc", "cxxbridge-flags", @@ -679,9 +679,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5044281f61b27bc598f2f6647d480aed48d2bf52d6eb0b627d84c0361b17aa70" +checksum = "f464457d494b5ed6905c63b0c4704842aba319084a0a3561cdc1359536b53200" dependencies = [ "cc", "codespan-reporting", @@ -694,15 +694,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61b50bc93ba22c27b0d31128d2d130a0a6b3d267ae27ef7e4fae2167dfe8781c" +checksum = "43c7119ce3a3701ed81aca8410b9acf6fc399d2629d057b87e2efa4e63a3aaea" [[package]] name = "cxxbridge-macro" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e61fda7e62115119469c7b3591fd913ecca96fb766cfd3f2e2502ab7bc87a5" +checksum = "65e07508b90551e610910fa648a1878991d367064997a596135b86df30daf07e" dependencies = [ "proc-macro2", "quote", @@ -1145,9 +1145,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.0" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793" +checksum = "221996f774192f0f718773def8201c4ae31f02616a54ccfc2d358bb0e5cefdec" [[package]] name = "glob" @@ -1163,9 +1163,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "gloo-net" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9050ff8617e950288d7bf7f300707639fdeda5ca0d0ecf380cff448cfd52f4a6" +checksum = "9902a044653b26b99f7e3693a42f171312d9be8b26b5697bd1e43ad1f8a35e10" dependencies = [ "futures-channel", "futures-core", @@ -1183,9 +1183,9 @@ dependencies = [ [[package]] name = "gloo-timers" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c4a8d6391675c6b2ee1a6c8d06e8e2d03605c44cec1270675985a4c2a5500b" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" dependencies = [ "futures-channel", "futures-core", @@ -1495,7 +1495,7 @@ dependencies = [ [[package]] name = "integration-tests" -version = "0.25.0" +version = "0.26.0" dependencies = [ "assert_matches", "frame-metadata", @@ -1542,7 +1542,7 @@ checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" dependencies = [ "hermit-abi 0.2.6", "io-lifetimes 1.0.4", - "rustix 0.36.6", + "rustix 0.36.7", "windows-sys 0.42.0", ] @@ -1885,6 +1885,15 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" +[[package]] +name = "nom8" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8" +dependencies = [ + "memchr", +] + [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -1971,9 +1980,9 @@ dependencies = [ [[package]] name = "object" -version = "0.30.2" +version = "0.30.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b8c786513eb403643f2a88c244c2aaa270ef2153f55094587d0c48a3cf22a83" +checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" dependencies = [ "memchr", ] @@ -2037,9 +2046,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "parity-scale-codec" -version = "3.2.1" +version = "3.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "366e44391a8af4cfd6002ef6ba072bae071a96aafca98d7d448a34c5dca38b6a" +checksum = "e7ab01d0f889e957861bc65888d5ccbe82c158d0270136ba46820d43837cdf72" dependencies = [ "arrayvec 0.7.2", "bitvec", @@ -2052,9 +2061,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.1.3" +version = "3.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" +checksum = "86b26a931f824dd4eca30b3e43bb4f31cd5f0d3a403c5f5ff27106b805bfde7b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2214,13 +2223,12 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" +checksum = "66618389e4ec1c7afe67d51a9bf34ff9236480f8d51e7489b7d5ab0303c13f34" dependencies = [ "once_cell", - "thiserror", - "toml", + "toml_edit", ] [[package]] @@ -2363,9 +2371,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.10.1" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3" +checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b" dependencies = [ "crossbeam-channel", "crossbeam-deque", @@ -2477,9 +2485,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.6" +version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4feacf7db682c6c329c4ede12649cd36ecab0f3be5b7d74e6a20304725db4549" +checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" dependencies = [ "bitflags", "errno", @@ -2687,9 +2695,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.7.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c" +checksum = "645926f31b250a2dca3c232496c2d898d91036e45ca0e97e0e2390c54e11be36" dependencies = [ "bitflags", "core-foundation", @@ -2700,9 +2708,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.6.1" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556" +checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" dependencies = [ "core-foundation-sys", "libc", @@ -3248,9 +3256,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "ss58-registry" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d44528162f980c0e03c71e005d334332c8da0aec9f2b0b4bdc557ed4a9f24776" +checksum = "e40c020d72bc0a9c5660bb71e4a6fdef081493583062c474740a7d59f55f0e7b" dependencies = [ "Inflector", "num-format", @@ -3322,7 +3330,7 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "subxt" -version = "0.25.0" +version = "0.26.0" dependencies = [ "base58", "bitvec", @@ -3357,9 +3365,9 @@ dependencies = [ [[package]] name = "subxt-cli" -version = "0.25.0" +version = "0.26.0" dependencies = [ - "clap 4.1.1", + "clap 4.1.3", "color-eyre", "frame-metadata", "hex", @@ -3375,7 +3383,7 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.25.0" +version = "0.26.0" dependencies = [ "bitvec", "darling", @@ -3396,7 +3404,7 @@ dependencies = [ [[package]] name = "subxt-examples" -version = "0.25.0" +version = "0.26.0" dependencies = [ "futures", "hex", @@ -3411,7 +3419,7 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.25.0" +version = "0.26.0" dependencies = [ "darling", "proc-macro-error", @@ -3421,7 +3429,7 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.25.0" +version = "0.26.0" dependencies = [ "bitvec", "criterion", @@ -3477,7 +3485,7 @@ dependencies = [ [[package]] name = "test-runtime" -version = "0.25.0" +version = "0.26.0" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -3623,13 +3631,30 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.10" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4553f467ac8e3d374bc9a177a26801e5d0f9b211aa1673fb137a403afd1c9cf5" + +[[package]] +name = "toml_edit" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "729bfd096e40da9c001f778f5cdecbd2957929a24e10e5883d9392220a751581" +dependencies = [ + "indexmap", + "nom8", + "toml_datetime", +] + [[package]] name = "tower-service" version = "0.3.2" @@ -3799,7 +3824,7 @@ checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "ui-tests" -version = "0.25.0" +version = "0.26.0" dependencies = [ "frame-metadata", "parity-scale-codec", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index ea0fa5ce57..e2fcea8633 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-cli" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = true @@ -17,9 +17,9 @@ path = "src/main.rs" [dependencies] # perform subxt codegen -subxt-codegen = { version = "0.25.0", path = "../codegen" } +subxt-codegen = { version = "0.26.0", path = "../codegen" } # perform node compatibility -subxt-metadata = { version = "0.25.0", path = "../metadata" } +subxt-metadata = { version = "0.26.0", path = "../metadata" } # parse command line args clap = { version = "4.0.8", features = ["derive", "cargo"] } # colourful error reports diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 662e7b48cb..685430d521 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-codegen" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = true @@ -21,7 +21,7 @@ proc-macro-error = "1.0.4" quote = "1.0.8" syn = "1.0.58" scale-info = "2.0.0" -subxt-metadata = { version = "0.25.0", path = "../metadata" } +subxt-metadata = { version = "0.26.0", path = "../metadata" } jsonrpsee = { version = "0.16.0", features = ["async-client", "client-ws-transport", "http-client"] } hex = "0.4.3" tokio = { version = "1.8", features = ["macros", "rt-multi-thread"] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 31da6f146b..a4e2d82540 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-examples" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = false diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 098503efcf..e9afcab0e7 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-macro" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = true @@ -20,4 +20,4 @@ darling = "0.14.0" proc-macro-error = "1.0.4" syn = "1.0.58" -subxt-codegen = { path = "../codegen", version = "0.25.0" } +subxt-codegen = { path = "../codegen", version = "0.26.0" } diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index 7d24cf87a3..9f77f1046b 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt-metadata" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = true diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index 03fcf8d5cf..5c9321cad5 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subxt" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = true @@ -50,8 +50,8 @@ parking_lot = "0.12.0" frame-metadata = "15.0.0" derivative = "2.2.0" -subxt-macro = { version = "0.25.0", path = "../macro" } -subxt-metadata = { version = "0.25.0", path = "../metadata" } +subxt-macro = { version = "0.26.0", path = "../macro" } +subxt-metadata = { version = "0.26.0", path = "../metadata" } # Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256: impl-serde = { version = "0.4.0" } diff --git a/testing/integration-tests/Cargo.toml b/testing/integration-tests/Cargo.toml index 66f24a20b9..78762700aa 100644 --- a/testing/integration-tests/Cargo.toml +++ b/testing/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "integration-tests" -version = "0.25.0" +version = "0.26.0" authors = ["Parity Technologies "] edition = "2021" publish = false @@ -27,8 +27,8 @@ sp-core = { version = "11.0.0", default-features = false } sp-keyring = "12.0.0" sp-runtime = "12.0.0" syn = "1.0.0" -subxt = { version = "0.25.0", path = "../../subxt" } -subxt-codegen = { version = "0.25.0", path = "../../codegen" } +subxt = { version = "0.26.0", path = "../../subxt" } +subxt-codegen = { version = "0.26.0", path = "../../codegen" } test-runtime = { path = "../test-runtime" } tokio = { version = "1.8", features = ["macros", "time"] } tracing = "0.1.34" diff --git a/testing/test-runtime/Cargo.toml b/testing/test-runtime/Cargo.toml index 278d0407df..dc03300a9f 100644 --- a/testing/test-runtime/Cargo.toml +++ b/testing/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime" -version = "0.25.0" +version = "0.26.0" edition = "2021" publish = false diff --git a/testing/ui-tests/Cargo.toml b/testing/ui-tests/Cargo.toml index 01a9e54899..4ade0a04c4 100644 --- a/testing/ui-tests/Cargo.toml +++ b/testing/ui-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ui-tests" -version = "0.25.0" +version = "0.26.0" edition = "2021" publish = false