Release v0.27.0 (#824)

* Bump substrate deps

* Bump to 0.27.0

* update changelog

* Clone and Debug on TxPayload types

* move item to Changed

* remove chore entirely
This commit is contained in:
James Wilson
2023-02-13 16:13:17 +00:00
committed by GitHub
parent 1092e8b26e
commit 7b0e06cf8a
12 changed files with 337 additions and 260 deletions
+9 -9
View File
@@ -1,6 +1,6 @@
[package]
name = "subxt"
version = "0.26.0"
version = "0.27.0"
authors = ["Parity Technologies <admin@parity.io>"]
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.26.0", path = "../macro" }
subxt-metadata = { version = "0.26.0", path = "../metadata" }
subxt-macro = { version = "0.27.0", path = "../macro" }
subxt-metadata = { version = "0.27.0", path = "../metadata" }
# Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256:
impl-serde = { version = "0.4.0" }
@@ -63,8 +63,8 @@ base58 = { version = "0.2.0" }
blake2 = { version = "0.10.4", default-features = false }
# These are only included is "substrate-compat" is enabled.
sp-core = { version = "11.0.0", default-features = false, optional = true }
sp-runtime = { version = "12.0.0", optional = true }
sp-core = { version = "16.0.0", default-features = false, optional = true }
sp-runtime = { version = "18.0.0", optional = true }
[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2", features = ["js"] }
@@ -74,7 +74,7 @@ bitvec = "1"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] }
scale-info = { version = "2.0.0", features = ["bit-vec"] }
tokio = { version = "1.25", features = ["macros", "time", "rt-multi-thread"] }
sp-core = { version = "11.0.0", default-features = false }
sp-runtime = { version = "12.0.0" }
sp-keyring = "12.0.0"
sp-version = "10.0.0"
sp-core = { version = "16.0.0", default-features = false }
sp-runtime = "18.0.0"
sp-keyring = "18.0.0"
sp-version = "16.0.0"
+2
View File
@@ -58,6 +58,7 @@ pub struct ValidationDetails<'a> {
}
/// This represents a statically generated transaction payload.
#[derive(Clone, Debug)]
pub struct StaticTxPayload<CallData> {
pallet_name: &'static str,
call_name: &'static str,
@@ -123,6 +124,7 @@ impl<CallData: Encode> TxPayload for StaticTxPayload<CallData> {
}
/// This represents a dynamically generated transaction payload.
#[derive(Clone, Debug)]
pub struct DynamicTxPayload<'a> {
pallet_name: Cow<'a, str>,
call_name: Cow<'a, str>,