diff --git a/bin/wasm-node/CHANGELOG.md b/bin/wasm-node/CHANGELOG.md index b9feba2265..1903706431 100644 --- a/bin/wasm-node/CHANGELOG.md +++ b/bin/wasm-node/CHANGELOG.md @@ -7,6 +7,7 @@ - Syncing no longer stalls if the gap between the finalized and latest block is more than 100 blocks. ([#2801](https://github.com/paritytech/smoldot/pull/2801)) - No longer silently discard justifications when receive a block from the network that was already known locally. ([#2800](https://github.com/paritytech/smoldot/pull/2800)) - CPU-heavy operations such as verifying finality proofs or compiling the runtime will now better respect the CPU rate limit. ([#2803](https://github.com/paritytech/smoldot/pull/2803)) +- Fix the `finalizedBlockHashes` and `prunedBlockHashes` fields having wrong names in `chainHead_unstable_followEvent` events. ([#2812](https://github.com/paritytech/smoldot/pull/2812)) ## 0.7.0 - 2022-09-28 diff --git a/src/json_rpc/methods.rs b/src/json_rpc/methods.rs index 235e81d2fb..19ae311491 100644 --- a/src/json_rpc/methods.rs +++ b/src/json_rpc/methods.rs @@ -629,9 +629,9 @@ pub enum FollowEvent<'a> { }, #[serde(rename = "finalized")] Finalized { - #[serde(rename = "finalizedBlocksHashes")] + #[serde(rename = "finalizedBlockHashes")] finalized_blocks_hashes: Vec, - #[serde(rename = "prunedBlocksHashes")] + #[serde(rename = "prunedBlockHashes")] pruned_blocks_hashes: Vec, }, #[serde(rename = "stop")]