From 718c895a6fe9b6687f49d10e49d633379dc19dda Mon Sep 17 00:00:00 2001 From: jjy Date: Fri, 9 Dec 2022 20:22:11 +0800 Subject: [PATCH] chore: bump version to 1.8.0-rc1 --- CHANGELOG.md | 19 ++++++++ Cargo.lock | 56 +++++++++++----------- crates/benches/Cargo.toml | 2 +- crates/block-producer/Cargo.toml | 2 +- crates/chain/Cargo.toml | 2 +- crates/challenge/Cargo.toml | 2 +- crates/common/Cargo.toml | 2 +- crates/config/Cargo.toml | 2 +- crates/db/Cargo.toml | 2 +- crates/dynamic-config/Cargo.toml | 2 +- crates/generator/Cargo.toml | 2 +- crates/godwoken-bin/Cargo.toml | 2 +- crates/hash/Cargo.toml | 2 +- crates/jsonrpc-types/Cargo.toml | 2 +- crates/mem-pool/Cargo.toml | 2 +- crates/metrics/Cargo.toml | 2 +- crates/p2p-network/Cargo.toml | 2 +- crates/polyjuice-sender-recover/Cargo.toml | 2 +- crates/replay-chain/Cargo.toml | 2 +- crates/rpc-client/Cargo.toml | 2 +- crates/rpc-server/Cargo.toml | 2 +- crates/store/Cargo.toml | 2 +- crates/telemetry/Cargo.toml | 2 +- crates/tests/Cargo.toml | 2 +- crates/tools/Cargo.toml | 2 +- crates/traits/Cargo.toml | 2 +- crates/tx-filter/Cargo.toml | 2 +- crates/types/Cargo.toml | 2 +- crates/utils/Cargo.toml | 2 +- crates/version/Cargo.toml | 2 +- devtools/bump.sh | 2 +- 31 files changed, 76 insertions(+), 57 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26a833045..87b16fefa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com). ## [Unreleased] +## [v1.8.0-rc1] - 2022-12-09 + +In this version, an upgrading of on-chain scripts is included: + +- feat: optimize Godwoken finality mechanism [#836](https://github.com/godwokenrises/godwoken/pull/836) +- feat: deprecate verifications for state_checkpoint_list and prev_state_checkpoint [#883](https://github.com/godwokenrises/godwoken/pull/883) + +We also introduce a change to activate the new behavior. + +- feat: determine global state version according to fork height[#858](https://github.com/godwokenrises/godwoken/pull/858) + +Other changes: + +- perf: optional SMT trie feature and migrate command [#859](https://github.com/godwokenrises/godwoken/pull/882) +- feat: optimized trace and metrics [#865](https://github.com/godwokenrises/godwoken/pull/865) +- fix(withdrawal): finalized withdrawal take longer time to unlock [#892](https://github.com/godwokenrises/godwoken/pull/892) +- chore(CI): add docker-prebuilds into monorepo [#885](https://github.com/godwokenrises/godwoken/pull/885) +- feat: support non-x86 build [#882](https://github.com/godwokenrises/godwoken/pull/882) + ## [v1.7.3] - 2022-11-27 - config: deny unknown fields in the config toml file [#862](https://github.com/godwokenrises/godwoken/pull/862) diff --git a/Cargo.lock b/Cargo.lock index 20f48c780..3a9bf5d75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1576,7 +1576,7 @@ dependencies = [ [[package]] name = "godwoken-bin" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "ckb-types", @@ -1609,7 +1609,7 @@ dependencies = [ [[package]] name = "gw-benches" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "criterion", @@ -1627,7 +1627,7 @@ dependencies = [ [[package]] name = "gw-block-producer" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "async-channel", @@ -1672,7 +1672,7 @@ dependencies = [ [[package]] name = "gw-chain" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "ckb-fixed-hash", @@ -1700,7 +1700,7 @@ dependencies = [ [[package]] name = "gw-challenge" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "arc-swap", @@ -1730,7 +1730,7 @@ dependencies = [ [[package]] name = "gw-common" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "cfg-if 0.1.10", "gw-hash", @@ -1742,7 +1742,7 @@ dependencies = [ [[package]] name = "gw-config" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "ckb-fixed-hash", "gw-jsonrpc-types", @@ -1753,7 +1753,7 @@ dependencies = [ [[package]] name = "gw-db" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "ckb-rocksdb", @@ -1766,7 +1766,7 @@ dependencies = [ [[package]] name = "gw-dynamic-config" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "arc-swap", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "gw-generator" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "arc-swap", @@ -1810,14 +1810,14 @@ dependencies = [ [[package]] name = "gw-hash" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "blake2b-ref 0.3.1", ] [[package]] name = "gw-jsonrpc-types" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "ckb-fixed-hash", @@ -1830,7 +1830,7 @@ dependencies = [ [[package]] name = "gw-mem-pool" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "async-trait", @@ -1860,7 +1860,7 @@ dependencies = [ [[package]] name = "gw-metrics" -version = "1.7.1" +version = "1.8.0-rc1" dependencies = [ "arc-swap", "gw-common", @@ -1877,7 +1877,7 @@ dependencies = [ [[package]] name = "gw-p2p-network" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "async-trait", @@ -1895,7 +1895,7 @@ dependencies = [ [[package]] name = "gw-polyjuice-sender-recover" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "gw-common", @@ -1911,7 +1911,7 @@ dependencies = [ [[package]] name = "gw-replay-chain" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "async-jsonrpc-client", @@ -1943,7 +1943,7 @@ dependencies = [ [[package]] name = "gw-rpc-client" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "arc-swap", @@ -1975,7 +1975,7 @@ dependencies = [ [[package]] name = "gw-rpc-server" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "async-trait", @@ -2021,7 +2021,7 @@ dependencies = [ [[package]] name = "gw-store" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "arc-swap", @@ -2036,7 +2036,7 @@ dependencies = [ [[package]] name = "gw-telemetry" -version = "1.7.1" +version = "1.8.0-rc1" dependencies = [ "chrono", "faster-hex 0.6.1", @@ -2057,7 +2057,7 @@ dependencies = [ [[package]] name = "gw-tests" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "async-jsonrpc-client", @@ -2104,7 +2104,7 @@ dependencies = [ [[package]] name = "gw-tools" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "bech32", @@ -2154,7 +2154,7 @@ dependencies = [ [[package]] name = "gw-traits" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "gw-common", @@ -2164,7 +2164,7 @@ dependencies = [ [[package]] name = "gw-tx-filter" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "gw-common", "gw-config", @@ -2177,7 +2177,7 @@ dependencies = [ [[package]] name = "gw-types" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "cfg-if 0.1.10", "ckb-fixed-hash", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "gw-utils" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", "ckb-crypto", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "gw-version" -version = "1.7.3" +version = "1.8.0-rc1" dependencies = [ "anyhow", ] diff --git a/crates/benches/Cargo.toml b/crates/benches/Cargo.toml index 70498141c..7003ed885 100644 --- a/crates/benches/Cargo.toml +++ b/crates/benches/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-benches" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" description = "Godwoken benchmarks." diff --git a/crates/block-producer/Cargo.toml b/crates/block-producer/Cargo.toml index 6c1dca6ff..b9f7986f7 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2021" diff --git a/crates/chain/Cargo.toml b/crates/chain/Cargo.toml index 5040642a3..17579302b 100644 --- a/crates/chain/Cargo.toml +++ b/crates/chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-chain" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/challenge/Cargo.toml b/crates/challenge/Cargo.toml index dc20f5511..f90d163de 100644 --- a/crates/challenge/Cargo.toml +++ b/crates/challenge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-challenge" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 961a51c4d..8edd6da04 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-common" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 2ae31acf0..5b676d7cf 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-config" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/db/Cargo.toml b/crates/db/Cargo.toml index 70c088bc8..d46859c88 100644 --- a/crates/db/Cargo.toml +++ b/crates/db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-db" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/dynamic-config/Cargo.toml b/crates/dynamic-config/Cargo.toml index a70f67254..01b1e64f7 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/generator/Cargo.toml b/crates/generator/Cargo.toml index 9701c638d..04e61f060 100644 --- a/crates/generator/Cargo.toml +++ b/crates/generator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-generator" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/godwoken-bin/Cargo.toml b/crates/godwoken-bin/Cargo.toml index 6bef49737..198a46928 100644 --- a/crates/godwoken-bin/Cargo.toml +++ b/crates/godwoken-bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "godwoken-bin" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2021" diff --git a/crates/hash/Cargo.toml b/crates/hash/Cargo.toml index b9dcd13de..d2cf66935 100644 --- a/crates/hash/Cargo.toml +++ b/crates/hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-hash" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/jsonrpc-types/Cargo.toml b/crates/jsonrpc-types/Cargo.toml index ff50f2c56..301f8ba46 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/mem-pool/Cargo.toml b/crates/mem-pool/Cargo.toml index 693354004..e65c2402d 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/metrics/Cargo.toml b/crates/metrics/Cargo.toml index df0a42a32..7e67987a0 100644 --- a/crates/metrics/Cargo.toml +++ b/crates/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-metrics" -version = "1.7.1" +version = "1.8.0-rc1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/p2p-network/Cargo.toml b/crates/p2p-network/Cargo.toml index b8c5a6dba..43e1ded12 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/polyjuice-sender-recover/Cargo.toml b/crates/polyjuice-sender-recover/Cargo.toml index 484a0d039..62b49a431 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.3" +version = "1.8.0-rc1" 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 d82d36428..b8c0da019 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.3" +version = "1.8.0-rc1" 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 52261bfff..089f27a86 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/rpc-server/Cargo.toml b/crates/rpc-server/Cargo.toml index ab24e0fc3..b96cc1f6c 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.3" +version = "1.8.0-rc1" authors = ["jjy "] edition = "2018" diff --git a/crates/store/Cargo.toml b/crates/store/Cargo.toml index 184f3ce1a..af7c64f7c 100644 --- a/crates/store/Cargo.toml +++ b/crates/store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-store" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/telemetry/Cargo.toml b/crates/telemetry/Cargo.toml index fcba7da1b..a54211d4e 100644 --- a/crates/telemetry/Cargo.toml +++ b/crates/telemetry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-telemetry" -version = "1.7.1" +version = "1.8.0-rc1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/tests/Cargo.toml b/crates/tests/Cargo.toml index 287d9a35e..5c6a9a197 100644 --- a/crates/tests/Cargo.toml +++ b/crates/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-tests" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["jjy "] edition = "2018" diff --git a/crates/tools/Cargo.toml b/crates/tools/Cargo.toml index 90d625e23..2b19de7e5 100644 --- a/crates/tools/Cargo.toml +++ b/crates/tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-tools" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/traits/Cargo.toml b/crates/traits/Cargo.toml index 7a8c9d5e7..f8c4f418f 100644 --- a/crates/traits/Cargo.toml +++ b/crates/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-traits" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/tx-filter/Cargo.toml b/crates/tx-filter/Cargo.toml index 5e61662a9..bcf0c6681 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.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 84ec078f0..16f96d8c6 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-types" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml index 6e3c7ad55..59a347dc0 100644 --- a/crates/utils/Cargo.toml +++ b/crates/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-utils" -version = "1.7.3" +version = "1.8.0-rc1" 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 30f13112b..eead4a1af 100644 --- a/crates/version/Cargo.toml +++ b/crates/version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gw-version" -version = "1.7.3" +version = "1.8.0-rc1" authors = ["Nervos Network"] edition = "2018" diff --git a/devtools/bump.sh b/devtools/bump.sh index cff72f4a8..542b047eb 100755 --- a/devtools/bump.sh +++ b/devtools/bump.sh @@ -10,7 +10,7 @@ main() { exit 1 fi local v="$1" - find . -name 'Cargo.toml' -print0 | xargs -0 sed -i.bak \ + find ./crates -name 'Cargo.toml' -print0 | xargs -0 sed -i.bak \ -e 's/^version = .*/version = "'"$v"'"/' \ -e 's/\({.*path = ".*",.* version = "= \)[^"]*/\1'"$v"'/' find . -name 'Cargo.toml.bak' -exec rm -f {} \;