Skip to content

Commit

Permalink
[release] 0.5.1 (#1362)
Browse files Browse the repository at this point in the history
* [release] 0.5.1

* [release] 0.5.1

* [release] add timeout for long testsuite
  • Loading branch information
ssyuan authored Sep 29, 2020
1 parent 90ee7df commit 1b93ad1
Show file tree
Hide file tree
Showing 152 changed files with 185 additions and 159 deletions.
154 changes: 77 additions & 77 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion account/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-account-api"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion account/lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-account-lib"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion account/service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-account-service"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "benchmarks"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion block-relayer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-block-relayer"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion block-relayer/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-block-relayer-api"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion chain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-chain"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion chain/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-chain-api"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion chain/chain-notify/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-chain-notify"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion chain/mock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-chain-mock"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion chain/open-block/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-open-block"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion chain/service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-chain-service"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions chain/src/tests/test_block_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ fn test_random_uncle() {
assert_eq!(mock_chain.head().current_epoch_uncles_size(), 0);
}

#[stest::test]
#[stest::test(timeout = 480)]
fn test_switch_epoch() {
let (mut mock_chain, _, uncle_block_header) = gen_uncle();
let miner = mock_chain.miner().clone();
Expand Down Expand Up @@ -185,7 +185,7 @@ fn test_switch_epoch() {
assert_eq!(mock_chain.head().current_epoch_uncles_size(), 0);
}

#[stest::test]
#[stest::test(timeout = 480)]
fn test_uncle_in_diff_epoch() {
let (mut mock_chain, _, uncle_block_header) = gen_uncle();
let miner = mock_chain.miner().clone();
Expand Down
2 changes: 1 addition & 1 deletion cmd/faucet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-faucet"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion cmd/generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-generator"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion cmd/miner_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-miner-client"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion cmd/starcoin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-cmd"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion cmd/tx-factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-tx-factory"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-crypto"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/crypto/crypto-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-crypto-macro"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/decrypt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-decrypt"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion commons/logger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-logger"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-metrics"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/scmd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scmd"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/scs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-canonical-serialization"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/stest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stest"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/stest/stest-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stest-macro"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion commons/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sp-utils"
#for unify version with project.
version = "0.5.0"
version = "0.5.1"
authors = ["Parity Technologies <admin@parity.io>", "Starcoin Core Dev <dev@starcoin.org>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-config"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-consensus"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion core/accumulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-accumulator"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion core/forkable-jellyfish-merkle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "forkable-jellyfish-merkle"
version = "0.5.0"
version = "0.5.1"
authors = ["Libra Association <opensource@libra.org>", "Starcoin Core Dev <dev@starcoin.org>"]
description = "Libra jellyfish merkle"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion core/genesis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-genesis"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion core/traits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-traits"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
26 changes: 26 additions & 0 deletions docs/release-notes/v0.5.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Main feature and update

1. Refactor consensus config, optimize difficulty codes for test.
2. [break] Refactor Stdlib TokenBox to TokenLockPool,add pre_mine and time locked genesis init,update scaling_factor to
10^9, Timestamp allow equals conditional judgement.
3. Implement STCUnit/TokenUnit and TokenValue.
4. Upgrade move_vm to the September 27th version, update of libra-related break functions.
5. Implement on_chain_config by Dao, and voting-related functions.
6. [break] Add hash field to block_body.
7. Repackage of U256 U512 to uint module and implementation of conversion methods.
8. Refactor sync actor to ActorService, remove NetworkService generic from SyncActor.
9. Added unit tests of network, consensus, miner, chain module.


## 中文说明

1. 重构共识配置,优化difficulty代码。
2. [break] 重构Stdlib的TokenBox到TokenLockPool,在genesis初始化时增加了预挖、时间锁功能,更新scaling_factor到
10^9,时间戳允许等于条件判断。
3. 实现STCUnit/TokenUnit和TokenValue。
4. 将move_vm升级到9月27日的版本,同步更新libra相关break功能。
5. 实现Dao的on_chain_config,以及投票相关功能。
6. [break]在block_body中增加哈希字段。
7. 将U256 U512重新封装为uint模块,并实现相关转换方法。
8. 将同步actor重构为ActorService,删除SyncActor中的NetworkService泛型。
9. 增加了network, consensus, miner, chain模块的单元测试。
2 changes: 1 addition & 1 deletion executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-executor"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion executor/benchmark/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-executor-benchmark"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions kube/manifest/starcoin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: starcoin
image: starcoin/starcoin:v0.5.0
image: starcoin/starcoin:v0.5.1
imagePullPolicy: Always
command:
- bash
Expand Down Expand Up @@ -82,7 +82,7 @@ spec:
name: starcoin-config
key: start_disable_seed_node
- name: txfactory
image: starcoin/starcoin:v0.5.0
image: starcoin/starcoin:v0.5.1
imagePullPolicy: IfNotPresent
command:
- bash
Expand Down
2 changes: 1 addition & 1 deletion miner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-miner"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion network-p2p/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "network-p2p"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion network-p2p/peerset/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ homepage = "http://parity.io"
license = "GPL-3.0"
name = "peerset"
#for unify version with project.
version = "0.5.0"
version = "0.5.1"
authors = ["Parity Technologies <admin@parity.io>", "Starcoin Core Dev <dev@starcoin.org>"]
edition = "2018"
repository = "https://github.com/paritytech/substrate/"
Expand Down
2 changes: 1 addition & 1 deletion network-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-network-rpc"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion network-rpc/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-network-rpc-api"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion network-rpc/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "network-rpc-core"
version = "0.5.0"
version = "0.5.1"
authors = ["Starcoin Core Dev <dev@starcoin.org>"]
license = "Apache-2.0"
publish = false
Expand Down
Loading

0 comments on commit 1b93ad1

Please sign in to comment.