Skip to content

Commit

Permalink
Relase 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sanlee42 committed Oct 23, 2024
1 parent a417db8 commit 7cd0bd7
Show file tree
Hide file tree
Showing 113 changed files with 225 additions and 227 deletions.
220 changes: 110 additions & 110 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion abi/decoder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
name = "starcoin-abi-decoder"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion abi/resolver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-helper = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
name = "starcoin-abi-resolver"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion abi/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
name = "starcoin-abi-types"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-account"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion account/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-account-api"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion account/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ starcoin-types = { workspace = true }
[package]
edition = { workspace = true }
name = "starcoin-account-provider"
version = "2.0.1"
version = "2.0.2"
authors = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion account/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-account-service"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "benchmarks"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion block-relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-block-relayer"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-chain"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion chain/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-chain-api"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion chain/chain-notify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-chain-notify"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion chain/mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-chain-mock"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
10 changes: 4 additions & 6 deletions chain/mock/src/mock_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ impl MockChain {
Ok(Self::new_inner(net, chain, miner, storage))
}

pub fn new_with_params(
net: ChainNetwork,
k: KType,
) -> Result<Self> {
pub fn new_with_params(net: ChainNetwork, k: KType) -> Result<Self> {
let (storage, chain_info, _, dag) = Genesis::init_storage_for_test_with_param(&net, k)?;
let chain = BlockChain::new(
net.time_service(),
Expand Down Expand Up @@ -259,15 +256,16 @@ impl MockChain {
.dag()
.ghostdata_by_hash(previous_pruning)?
.ok_or_else(|| format_err!("Cannot find ghostdata by hash: {:?}", previous_pruning))?;

let MineNewDagBlockInfo {
tips: pruned_tips,
blue_blocks,
pruning_point,
} = self.head.dag().calc_mergeset_and_tips(
previous_pruning,
prevous_ghostdata.as_ref(),
4,3
4,
3,
)?;

debug!(
Expand Down
2 changes: 1 addition & 1 deletion chain/open-block/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-open-block"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion chain/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-chain-service"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/airdrop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tokio = { features = ["full"], workspace = true }
authors = { workspace = true }
edition = { workspace = true }
name = "airdrop"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cmd/db-exporter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "db-exporter"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cmd/faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-faucet"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-generator"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/genesis-nft-miner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "genesis-nft-miner"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-indexer"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/merkle-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ starcoin-vm-types = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
name = "merkle-generator"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cmd/miner_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ starcoin-miner = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
name = "starcoin-miner-client"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cmd/miner_client/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ starcoin-types = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
name = "starcoin-miner-client-api"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cmd/peer-watcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-peer-watcher"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/replay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-replay"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/resource-exporter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "resource-exporter"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cmd/starcoin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-cmd"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion cmd/tx-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-tx-factory"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/accumulator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-accumulator"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/api-limiter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
name = "api-limiter"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion commons/bcs_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "bcs-ext"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/decrypt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
name = "starcoin-decrypt"
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion commons/forkable-jellyfish-merkle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "forkable-jellyfish-merkle"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/infallible/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starcoin-infallible"
version = "2.0.1"
version = "2.0.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion commons/logger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-logger"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-metrics"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion commons/proptest-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ edition = "2021"
license = "Apache-2.0"
name = "starcoin-proptest-helpers"
publish = false
version = "2.0.1"
version = "2.0.2"

[dependencies]
crossbeam = "0.8.1"
Expand Down
2 changes: 1 addition & 1 deletion commons/scmd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "scmd"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/serde-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "serde-helpers"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
2 changes: 1 addition & 1 deletion commons/service-registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ edition = { workspace = true }
license = { workspace = true }
name = "starcoin-service-registry"
publish = { workspace = true }
version = "2.0.1"
version = "2.0.2"
homepage = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
Loading

0 comments on commit 7cd0bd7

Please sign in to comment.