diff --git a/CHANGELOG.md b/CHANGELOG.md index f46cc3c03..8a36ec2f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com). ## [Unreleased] +## [v1.7.2] - 2022-11-25 + +- fix: use mem pool state for “get block” RPCs [#871](https://github.com/godwokenrises/godwoken/pull/871) + ## [v1.7.1] - 2022-11-13 - fix: Support revert inner call state [#835](https://github.com/godwokenrises/godwoken/pull/835) diff --git a/Cargo.lock b/Cargo.lock index da848d6b6..9c1f16b28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1587,7 +1587,7 @@ dependencies = [ [[package]] name = "godwoken-bin" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "ckb-types", @@ -1618,7 +1618,7 @@ dependencies = [ [[package]] name = "gw-benches" -version = "1.7.1" +version = "1.7.2" dependencies = [ "criterion", "gw-common", @@ -1634,7 +1634,7 @@ dependencies = [ [[package]] name = "gw-block-producer" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "async-channel", @@ -1683,7 +1683,7 @@ dependencies = [ [[package]] name = "gw-chain" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "ckb-fixed-hash", @@ -1709,7 +1709,7 @@ dependencies = [ [[package]] name = "gw-challenge" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "arc-swap", @@ -1739,7 +1739,7 @@ dependencies = [ [[package]] name = "gw-common" -version = "1.7.1" +version = "1.7.2" dependencies = [ "cfg-if 0.1.10", "gw-hash", @@ -1751,7 +1751,7 @@ dependencies = [ [[package]] name = "gw-config" -version = "1.7.1" +version = "1.7.2" dependencies = [ "ckb-fixed-hash", "gw-jsonrpc-types", @@ -1762,7 +1762,7 @@ dependencies = [ [[package]] name = "gw-db" -version = "1.7.1" +version = "1.7.2" dependencies = [ "ckb-rocksdb", "gw-config", @@ -1775,7 +1775,7 @@ dependencies = [ [[package]] name = "gw-dynamic-config" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "arc-swap", @@ -1790,7 +1790,7 @@ dependencies = [ [[package]] name = "gw-generator" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "arc-swap", @@ -1818,14 +1818,14 @@ dependencies = [ [[package]] name = "gw-hash" -version = "1.7.1" +version = "1.7.2" dependencies = [ "blake2b-ref 0.3.1", ] [[package]] name = "gw-jsonrpc-types" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "ckb-fixed-hash", @@ -1838,7 +1838,7 @@ dependencies = [ [[package]] name = "gw-mem-pool" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "async-trait", @@ -1869,7 +1869,7 @@ dependencies = [ [[package]] name = "gw-p2p-network" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "async-trait", @@ -1887,7 +1887,7 @@ dependencies = [ [[package]] name = "gw-polyjuice-sender-recover" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "gw-common", @@ -1903,7 +1903,7 @@ dependencies = [ [[package]] name = "gw-replay-chain" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "async-jsonrpc-client", @@ -1934,7 +1934,7 @@ dependencies = [ [[package]] name = "gw-rpc-client" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "arc-swap", @@ -1966,7 +1966,7 @@ dependencies = [ [[package]] name = "gw-rpc-server" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "async-trait", @@ -2010,7 +2010,7 @@ dependencies = [ [[package]] name = "gw-store" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "arc-swap", @@ -2026,7 +2026,7 @@ dependencies = [ [[package]] name = "gw-tests" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "async-jsonrpc-client", @@ -2074,7 +2074,7 @@ dependencies = [ [[package]] name = "gw-tools" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "bech32 0.6.0", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "gw-traits" -version = "1.7.1" +version = "1.7.2" dependencies = [ "gw-common", "gw-db", @@ -2125,7 +2125,7 @@ dependencies = [ [[package]] name = "gw-tx-filter" -version = "1.7.1" +version = "1.7.2" dependencies = [ "gw-common", "gw-config", @@ -2138,7 +2138,7 @@ dependencies = [ [[package]] name = "gw-types" -version = "1.7.1" +version = "1.7.2" dependencies = [ "cfg-if 0.1.10", "ckb-fixed-hash", @@ -2151,7 +2151,7 @@ dependencies = [ [[package]] name = "gw-utils" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", "ckb-crypto", @@ -2173,7 +2173,7 @@ dependencies = [ [[package]] name = "gw-version" -version = "1.7.1" +version = "1.7.2" dependencies = [ "anyhow", ] diff --git a/crates/benches/Cargo.toml b/crates/benches/Cargo.toml index 3dcd209d3..c6f9a74c0 100644 --- a/crates/benches/Cargo.toml +++ b/crates/benches/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-benches" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" description = "Godwoken benchmarks." diff --git a/crates/block-producer/Cargo.toml b/crates/block-producer/Cargo.toml index d9fe67232..79bacf721 100644 --- a/crates/block-producer/Cargo.toml +++ b/crates/block-producer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-block-producer" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2021" diff --git a/crates/chain/Cargo.toml b/crates/chain/Cargo.toml index 6475ae39e..4e08ef0b8 100644 --- a/crates/chain/Cargo.toml +++ b/crates/chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-chain" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/challenge/Cargo.toml b/crates/challenge/Cargo.toml index 44f01c113..c26c8d5a7 100644 --- a/crates/challenge/Cargo.toml +++ b/crates/challenge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-challenge" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 34c99fa4b..d1dcf65d6 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-common" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index f3d925c1c..287d74932 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-config" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/db/Cargo.toml b/crates/db/Cargo.toml index 438d98fd3..86700e3e7 100644 --- a/crates/db/Cargo.toml +++ b/crates/db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-db" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/dynamic-config/Cargo.toml b/crates/dynamic-config/Cargo.toml index 6334d8a5b..4549eb68e 100644 --- a/crates/dynamic-config/Cargo.toml +++ b/crates/dynamic-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-dynamic-config" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/generator/Cargo.toml b/crates/generator/Cargo.toml index b66c15bea..4a8af33f4 100644 --- a/crates/generator/Cargo.toml +++ b/crates/generator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-generator" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/godwoken-bin/Cargo.toml b/crates/godwoken-bin/Cargo.toml index 827cbf493..40b37ed82 100644 --- a/crates/godwoken-bin/Cargo.toml +++ b/crates/godwoken-bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "godwoken-bin" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2021" diff --git a/crates/hash/Cargo.toml b/crates/hash/Cargo.toml index bd3a9faa0..a847737c3 100644 --- a/crates/hash/Cargo.toml +++ b/crates/hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-hash" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/jsonrpc-types/Cargo.toml b/crates/jsonrpc-types/Cargo.toml index 51f32f556..754874135 100644 --- a/crates/jsonrpc-types/Cargo.toml +++ b/crates/jsonrpc-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-jsonrpc-types" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/mem-pool/Cargo.toml b/crates/mem-pool/Cargo.toml index e6df53a1d..45d37b312 100644 --- a/crates/mem-pool/Cargo.toml +++ b/crates/mem-pool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-mem-pool" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/p2p-network/Cargo.toml b/crates/p2p-network/Cargo.toml index 3e87433a1..c59b60043 100644 --- a/crates/p2p-network/Cargo.toml +++ b/crates/p2p-network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-p2p-network" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/polyjuice-sender-recover/Cargo.toml b/crates/polyjuice-sender-recover/Cargo.toml index c03a65533..7a3ff5512 100644 --- a/crates/polyjuice-sender-recover/Cargo.toml +++ b/crates/polyjuice-sender-recover/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-polyjuice-sender-recover" -version = "1.7.1" +version = "1.7.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/replay-chain/Cargo.toml b/crates/replay-chain/Cargo.toml index 7b4f46fdf..aa6305bfd 100644 --- a/crates/replay-chain/Cargo.toml +++ b/crates/replay-chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-replay-chain" -version = "1.7.1" +version = "1.7.2" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/rpc-client/Cargo.toml b/crates/rpc-client/Cargo.toml index d6459220f..56ddbfa48 100644 --- a/crates/rpc-client/Cargo.toml +++ b/crates/rpc-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-rpc-client" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/rpc-server/Cargo.toml b/crates/rpc-server/Cargo.toml index f803cdad3..b192b0ddb 100644 --- a/crates/rpc-server/Cargo.toml +++ b/crates/rpc-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-rpc-server" -version = "1.7.1" +version = "1.7.2" authors = ["jjy "] edition = "2018" diff --git a/crates/store/Cargo.toml b/crates/store/Cargo.toml index cfb258cef..441c01bee 100644 --- a/crates/store/Cargo.toml +++ b/crates/store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-store" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/tests/Cargo.toml b/crates/tests/Cargo.toml index 87e260e04..b345875d9 100644 --- a/crates/tests/Cargo.toml +++ b/crates/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-tests" -version = "1.7.1" +version = "1.7.2" authors = ["jjy "] edition = "2018" diff --git a/crates/tools/Cargo.toml b/crates/tools/Cargo.toml index a098b6cb2..c8480df77 100644 --- a/crates/tools/Cargo.toml +++ b/crates/tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-tools" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/traits/Cargo.toml b/crates/traits/Cargo.toml index abf0d3228..103b9491b 100644 --- a/crates/traits/Cargo.toml +++ b/crates/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-traits" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/tx-filter/Cargo.toml b/crates/tx-filter/Cargo.toml index 47a01e12e..3f42fc5ad 100644 --- a/crates/tx-filter/Cargo.toml +++ b/crates/tx-filter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-tx-filter" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 70768f387..97acb75c9 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-types" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml index 779e5bfd0..ae67131f9 100644 --- a/crates/utils/Cargo.toml +++ b/crates/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-utils" -version = "1.7.1" +version = "1.7.2" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/version/Cargo.toml b/crates/version/Cargo.toml index e9b5e2cf0..1903b4914 100644 --- a/crates/version/Cargo.toml +++ b/crates/version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-version" -version = "1.7.1" +version = "1.7.2" authors = ["Nervos Network"] edition = "2018"