diff --git a/Cargo.lock b/Cargo.lock index fe0666a602..ebd1232125 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2501,7 +2501,7 @@ dependencies = [ [[package]] name = "smoldot" -version = "1.1.3" +version = "1.2.0" dependencies = [ "arrayvec 0.7.6", "async-lock", @@ -2594,7 +2594,7 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "1.1.4" +version = "1.2.0" dependencies = [ "async-channel", "async-lock", @@ -2629,7 +2629,7 @@ dependencies = [ [[package]] name = "smoldot-light-wasm" -version = "3.1.4" +version = "3.2.0" dependencies = [ "async-lock", "async-task", diff --git a/benchmarks/Cargo.lock b/benchmarks/Cargo.lock index 1223926693..fca1748737 100644 --- a/benchmarks/Cargo.lock +++ b/benchmarks/Cargo.lock @@ -7283,7 +7283,7 @@ dependencies = [ [[package]] name = "smoldot" -version = "1.1.3" +version = "1.2.0" dependencies = [ "arrayvec 0.7.6", "async-lock", @@ -7360,7 +7360,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.9", - "smoldot 1.1.3", + "smoldot 1.2.0", "tar", "tempfile", "tokio", diff --git a/e2e-tests/Cargo.lock b/e2e-tests/Cargo.lock index cfa5a8d33b..ab2f62bb8d 100644 --- a/e2e-tests/Cargo.lock +++ b/e2e-tests/Cargo.lock @@ -7243,7 +7243,7 @@ dependencies = [ [[package]] name = "smoldot" -version = "1.1.3" +version = "1.2.0" dependencies = [ "arrayvec 0.7.6", "async-lock", @@ -7305,7 +7305,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.9", - "smoldot 1.1.3", + "smoldot 1.2.0", "tar", "tempfile", "tokio", diff --git a/e2e-tests/js/package-lock.json b/e2e-tests/js/package-lock.json index 71858a23b4..8f919d515e 100644 --- a/e2e-tests/js/package-lock.json +++ b/e2e-tests/js/package-lock.json @@ -10,7 +10,7 @@ }, "../../wasm-node/javascript": { "name": "smoldot", - "version": "3.1.3", + "version": "3.2.0", "license": "GPL-3.0-or-later WITH Classpath-exception-2.0", "dependencies": { "ws": "^8.8.1" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index d59803d947..8a73a77fbb 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smoldot" -version = "1.1.3" +version = "1.2.0" description = "Primitives to build a client for Substrate-based blockchains" documentation = "https://docs.rs/smoldot" keywords = ["blockchain", "peer-to-peer"] diff --git a/light-base/Cargo.toml b/light-base/Cargo.toml index b500c67baf..776e306c69 100644 --- a/light-base/Cargo.toml +++ b/light-base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smoldot-light" -version = "1.1.4" +version = "1.2.0" description = "Browser bindings to a light client for Substrate-based blockchains" documentation = "https://docs.rs/smoldot-light" authors.workspace = true diff --git a/wasm-node/CHANGELOG.md b/wasm-node/CHANGELOG.md index df2cd03d4c..7c1534ab37 100644 --- a/wasm-node/CHANGELOG.md +++ b/wasm-node/CHANGELOG.md @@ -2,13 +2,16 @@ ## Unreleased +## 3.2.0 - 2026-06-02 + ### Added -- Implement the `ext_trie_blake2_256_verify_proof_version_1` and `ext_trie_blake2_256_verify_proof_version_2` host functions. The verifier handles Substrate's compact proof format (as produced by `sp_trie::generate_trie_proof`): path children are replaced by an empty inline placeholder and the target leaf's value is reconstructed from the caller-supplied expected value (hashed for state version V1 values of 33 bytes or more, matching `sp_trie`'s threshold). +- `chainHead_v1_storage` can now read child-trie storage (the default child trie), letting callers read e.g. contract storage directly without going through a runtime call. ([#3278](https://github.com/paritytech/smoldot/pull/3278)) +- Implement the `ext_trie_blake2_256_verify_proof_version_1` and `ext_trie_blake2_256_verify_proof_version_2` host functions. The verifier handles Substrate's compact proof format (as produced by `sp_trie::generate_trie_proof`): path children are replaced by an empty inline placeholder and the target leaf's value is reconstructed from the caller-supplied expected value (hashed for state version V1 values of 33 bytes or more, matching `sp_trie`'s threshold). ([#3263](https://github.com/paritytech/smoldot/pull/3263)) ### Fixed -- `ext_transaction_index_index_version_1` and `ext_transaction_index_renew_version_1` now consume their parameters with the correct wasm value types (3xI32 and 2xI32 respectively). The previous code read the first parameter as a packed pointer-size (I64), which crashed the wasm executor as soon as a substrate runtime actually called either function (e.g. `pallet-transaction-storage::store` / `renew`). Behavior remains a no-op since smoldot is a light client and has no offchain transaction index to update. +- `ext_transaction_index_index_version_1` and `ext_transaction_index_renew_version_1` now consume their parameters with the correct wasm value types (3xI32 and 2xI32 respectively). The previous code read the first parameter as a packed pointer-size (I64), which crashed the wasm executor as soon as a substrate runtime actually called either function (e.g. `pallet-transaction-storage::store` / `renew`). Behavior remains a no-op since smoldot is a light client and has no offchain transaction index to update. ([#3263](https://github.com/paritytech/smoldot/pull/3263)) ## 3.1.4 - 2026-05-29 diff --git a/wasm-node/javascript/package-lock.json b/wasm-node/javascript/package-lock.json index 2695be7eb5..ac2a14e216 100644 --- a/wasm-node/javascript/package-lock.json +++ b/wasm-node/javascript/package-lock.json @@ -1,12 +1,12 @@ { "name": "smoldot", - "version": "3.1.4", + "version": "3.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "smoldot", - "version": "3.1.4", + "version": "3.2.0", "license": "GPL-3.0-or-later WITH Classpath-exception-2.0", "dependencies": { "ws": "^8.8.1" diff --git a/wasm-node/javascript/package.json b/wasm-node/javascript/package.json index 38b2027706..4ea139a176 100644 --- a/wasm-node/javascript/package.json +++ b/wasm-node/javascript/package.json @@ -1,6 +1,6 @@ { "name": "smoldot", - "version": "3.1.4", + "version": "3.2.0", "description": "Light client that connects to Polkadot and Substrate-based blockchains", "contributors": [ "Parity Technologies ", diff --git a/wasm-node/rust/Cargo.toml b/wasm-node/rust/Cargo.toml index d27175f65f..d0ce783328 100644 --- a/wasm-node/rust/Cargo.toml +++ b/wasm-node/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smoldot-light-wasm" -version = "3.1.4" +version = "3.2.0" description = "Browser bindings to a light client for Substrate-based blockchains" authors.workspace = true license.workspace = true