diff --git a/Cargo.lock b/Cargo.lock index 32087ddafb..cfc3947026 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -203,7 +203,7 @@ dependencies = [ [[package]] name = "airdrop" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -258,7 +258,7 @@ checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" [[package]] name = "api-limiter" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "dashmap", @@ -661,7 +661,7 @@ dependencies = [ [[package]] name = "bcs-ext" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs", @@ -682,7 +682,7 @@ checksum = "7dfdb4953a096c551ce9ace855a604d702e6e62d77fac690575ae347571717f5" [[package]] name = "benchmarks" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "criterion", @@ -1400,7 +1400,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "contrib-contracts" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -1734,7 +1734,7 @@ dependencies = [ [[package]] name = "cryptonight-rs" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "bencher", "cc", @@ -2125,7 +2125,7 @@ dependencies = [ [[package]] name = "db-exporter" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "atomic-counter", @@ -2842,7 +2842,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "forkable-jellyfish-merkle" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "backtrace", @@ -3096,7 +3096,7 @@ dependencies = [ [[package]] name = "genesis-nft-miner" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -4978,7 +4978,7 @@ dependencies = [ [[package]] name = "merkle-generator" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -5356,7 +5356,7 @@ dependencies = [ [[package]] name = "move-coverage" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs", @@ -5550,7 +5550,7 @@ dependencies = [ [[package]] name = "move-package-manager" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs", @@ -6098,7 +6098,7 @@ dependencies = [ [[package]] name = "network-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -6121,7 +6121,7 @@ dependencies = [ [[package]] name = "network-p2p" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -6169,7 +6169,7 @@ dependencies = [ [[package]] name = "network-p2p-core" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -6185,7 +6185,7 @@ dependencies = [ [[package]] name = "network-p2p-derive" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "proc-macro2 1.0.59", @@ -6195,7 +6195,7 @@ dependencies = [ [[package]] name = "network-p2p-types" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bitflags", @@ -6213,7 +6213,7 @@ dependencies = [ [[package]] name = "network-types" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "network-p2p-types", @@ -8087,7 +8087,7 @@ dependencies = [ [[package]] name = "resource-exporter" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -8471,7 +8471,7 @@ dependencies = [ [[package]] name = "sc-peerset" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "futures 0.3.26", "libp2p", @@ -8516,7 +8516,7 @@ dependencies = [ [[package]] name = "scmd" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -8670,7 +8670,7 @@ dependencies = [ [[package]] name = "serde-helpers" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "bcs-ext", "hex", @@ -9148,7 +9148,7 @@ dependencies = [ [[package]] name = "sp-utils" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "futures 0.3.26", "futures-core", @@ -9183,7 +9183,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "starcoin-abi-decoder" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs", @@ -9203,7 +9203,7 @@ dependencies = [ [[package]] name = "starcoin-abi-resolver" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "move-model", @@ -9217,7 +9217,7 @@ dependencies = [ [[package]] name = "starcoin-abi-types" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "hex", @@ -9231,7 +9231,7 @@ dependencies = [ [[package]] name = "starcoin-account" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9255,7 +9255,7 @@ dependencies = [ [[package]] name = "starcoin-account-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9276,7 +9276,7 @@ dependencies = [ [[package]] name = "starcoin-account-provider" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "starcoin-account", @@ -9289,7 +9289,7 @@ dependencies = [ [[package]] name = "starcoin-account-service" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9310,7 +9310,7 @@ dependencies = [ [[package]] name = "starcoin-accumulator" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -9332,7 +9332,7 @@ dependencies = [ [[package]] name = "starcoin-block-relayer" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9361,7 +9361,7 @@ dependencies = [ [[package]] name = "starcoin-chain" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -9407,7 +9407,7 @@ dependencies = [ [[package]] name = "starcoin-chain-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9432,7 +9432,7 @@ dependencies = [ [[package]] name = "starcoin-chain-mock" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9463,7 +9463,7 @@ dependencies = [ [[package]] name = "starcoin-chain-notify" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "starcoin-crypto", @@ -9475,7 +9475,7 @@ dependencies = [ [[package]] name = "starcoin-chain-service" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -9507,7 +9507,7 @@ dependencies = [ [[package]] name = "starcoin-cmd" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -9566,7 +9566,7 @@ dependencies = [ [[package]] name = "starcoin-config" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -9606,7 +9606,7 @@ dependencies = [ [[package]] name = "starcoin-consensus" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "byteorder", @@ -9700,7 +9700,7 @@ dependencies = [ [[package]] name = "starcoin-dataformat-generator" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -9714,7 +9714,7 @@ dependencies = [ [[package]] name = "starcoin-decrypt" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "aes-gcm 0.9.4", "anyhow", @@ -9728,7 +9728,7 @@ dependencies = [ [[package]] name = "starcoin-dev" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -9749,7 +9749,7 @@ dependencies = [ [[package]] name = "starcoin-executor" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -9783,7 +9783,7 @@ dependencies = [ [[package]] name = "starcoin-executor-benchmark" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -9807,7 +9807,7 @@ dependencies = [ [[package]] name = "starcoin-faucet" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "ascii", @@ -9874,7 +9874,7 @@ dependencies = [ [[package]] name = "starcoin-gas" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "clap 3.2.23", "move-binary-format", @@ -9889,7 +9889,7 @@ dependencies = [ [[package]] name = "starcoin-gas-algebra-ext" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "move-binary-format", "move-core-types", @@ -9903,7 +9903,7 @@ dependencies = [ [[package]] name = "starcoin-generator" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -9928,7 +9928,7 @@ dependencies = [ [[package]] name = "starcoin-genesis" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -9959,7 +9959,7 @@ dependencies = [ [[package]] name = "starcoin-indexer" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -9979,11 +9979,11 @@ dependencies = [ [[package]] name = "starcoin-infallible" -version = "2.0.0-alpha" +version = "2.0.0" [[package]] name = "starcoin-language-e2e-tests" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs", @@ -10016,7 +10016,7 @@ dependencies = [ [[package]] name = "starcoin-logger" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "arc-swap", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "starcoin-metrics" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "futures 0.3.26", @@ -10049,7 +10049,7 @@ dependencies = [ [[package]] name = "starcoin-miner" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "starcoin-miner-client" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -10138,7 +10138,7 @@ dependencies = [ [[package]] name = "starcoin-miner-client-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10149,7 +10149,7 @@ dependencies = [ [[package]] name = "starcoin-move-compiler" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "move-binary-format", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "starcoin-move-explain" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "bcs-ext", "clap 3.2.23", @@ -10178,7 +10178,7 @@ dependencies = [ [[package]] name = "starcoin-move-prover" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "atty", @@ -10206,7 +10206,7 @@ dependencies = [ [[package]] name = "starcoin-mvhashmap" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "arc-swap", "crossbeam", @@ -10220,7 +10220,7 @@ dependencies = [ [[package]] name = "starcoin-natives" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "arrayref", "hex", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "starcoin-network" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "starcoin-network-rpc" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "api-limiter", @@ -10337,7 +10337,7 @@ dependencies = [ [[package]] name = "starcoin-network-rpc-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -10359,7 +10359,7 @@ dependencies = [ [[package]] name = "starcoin-node" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -10418,7 +10418,7 @@ dependencies = [ [[package]] name = "starcoin-node-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10439,7 +10439,7 @@ dependencies = [ [[package]] name = "starcoin-open-block" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "starcoin-parallel-executor" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "arc-swap", @@ -10483,7 +10483,7 @@ dependencies = [ [[package]] name = "starcoin-peer-watcher" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -10505,7 +10505,7 @@ dependencies = [ [[package]] name = "starcoin-proptest-helpers" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "crossbeam", "proptest", @@ -10514,7 +10514,7 @@ dependencies = [ [[package]] name = "starcoin-replay" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "starcoin-resource-viewer" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "hex", @@ -10544,7 +10544,7 @@ dependencies = [ [[package]] name = "starcoin-rpc-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10589,7 +10589,7 @@ dependencies = [ [[package]] name = "starcoin-rpc-client" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -10636,7 +10636,7 @@ dependencies = [ [[package]] name = "starcoin-rpc-middleware" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "futures 0.3.26", @@ -10654,7 +10654,7 @@ dependencies = [ [[package]] name = "starcoin-rpc-server" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -10732,7 +10732,7 @@ dependencies = [ [[package]] name = "starcoin-service-registry" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -10752,7 +10752,7 @@ dependencies = [ [[package]] name = "starcoin-state-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10769,7 +10769,7 @@ dependencies = [ [[package]] name = "starcoin-state-service" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10791,7 +10791,7 @@ dependencies = [ [[package]] name = "starcoin-state-store-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "forkable-jellyfish-merkle", @@ -10802,7 +10802,7 @@ dependencies = [ [[package]] name = "starcoin-state-tree" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -10820,7 +10820,7 @@ dependencies = [ [[package]] name = "starcoin-statedb" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -10839,7 +10839,7 @@ dependencies = [ [[package]] name = "starcoin-storage" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -10873,7 +10873,7 @@ dependencies = [ [[package]] name = "starcoin-stratum" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "byteorder", @@ -10897,7 +10897,7 @@ dependencies = [ [[package]] name = "starcoin-sync" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -10960,7 +10960,7 @@ dependencies = [ [[package]] name = "starcoin-sync-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -10977,7 +10977,7 @@ dependencies = [ [[package]] name = "starcoin-system" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "systemstat", @@ -10985,7 +10985,7 @@ dependencies = [ [[package]] name = "starcoin-time-service" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "log 0.4.17", "serde 1.0.152", @@ -10993,7 +10993,7 @@ dependencies = [ [[package]] name = "starcoin-transaction-benchmarks" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "criterion", "criterion-cpu-time", @@ -11010,7 +11010,7 @@ dependencies = [ [[package]] name = "starcoin-transaction-builder" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -11025,7 +11025,7 @@ dependencies = [ [[package]] name = "starcoin-transactional-test-harness" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -11080,7 +11080,7 @@ dependencies = [ [[package]] name = "starcoin-tx-factory" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -11101,7 +11101,7 @@ dependencies = [ [[package]] name = "starcoin-txpool" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -11144,7 +11144,7 @@ dependencies = [ [[package]] name = "starcoin-txpool-api" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -11157,7 +11157,7 @@ dependencies = [ [[package]] name = "starcoin-txpool-mock-service" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -11171,7 +11171,7 @@ dependencies = [ [[package]] name = "starcoin-types" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -11197,7 +11197,7 @@ dependencies = [ [[package]] name = "starcoin-uint" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "bcs-ext", "hex", @@ -11210,7 +11210,7 @@ dependencies = [ [[package]] name = "starcoin-vm-runtime" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -11242,7 +11242,7 @@ dependencies = [ [[package]] name = "starcoin-vm-types" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -11281,7 +11281,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "stdlib" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs-ext", @@ -11308,7 +11308,7 @@ dependencies = [ [[package]] name = "stest" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -11323,7 +11323,7 @@ dependencies = [ [[package]] name = "stest-macro" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "actix", "actix-rt", @@ -11347,7 +11347,7 @@ checksum = "9091b6114800a5f2141aee1d1b9d6ca3592ac062dc5decb3764ec5895a47b4eb" [[package]] name = "stream-task" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-std", @@ -11699,7 +11699,7 @@ dependencies = [ [[package]] name = "test-helper" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "async-trait", @@ -11757,7 +11757,7 @@ dependencies = [ [[package]] name = "testsuite" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "clap 3.2.23", @@ -11921,7 +11921,7 @@ dependencies = [ [[package]] name = "timeout-join-handler" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "thiserror", @@ -12248,7 +12248,7 @@ checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" [[package]] name = "transaction-builder-generator" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "bcs", @@ -12693,7 +12693,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "vm-status-translator" -version = "2.0.0-alpha" +version = "2.0.0" dependencies = [ "anyhow", "schemars", diff --git a/abi/decoder/Cargo.toml b/abi/decoder/Cargo.toml index cb3ad72e89..14203cd31a 100644 --- a/abi/decoder/Cargo.toml +++ b/abi/decoder/Cargo.toml @@ -19,7 +19,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } name = "starcoin-abi-decoder" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } publish = { workspace = true } repository = { workspace = true } diff --git a/abi/resolver/Cargo.toml b/abi/resolver/Cargo.toml index 5f97e7984b..045acc72e1 100644 --- a/abi/resolver/Cargo.toml +++ b/abi/resolver/Cargo.toml @@ -14,7 +14,7 @@ test-helper = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-abi-resolver" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/abi/types/Cargo.toml b/abi/types/Cargo.toml index 2565132ed9..6f0a7d8e6d 100644 --- a/abi/types/Cargo.toml +++ b/abi/types/Cargo.toml @@ -13,7 +13,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } name = "starcoin-abi-types" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } publish = { workspace = true } repository = { workspace = true } diff --git a/account/Cargo.toml b/account/Cargo.toml index e614b4e811..e5a41a2fb6 100644 --- a/account/Cargo.toml +++ b/account/Cargo.toml @@ -26,7 +26,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-account" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/account/api/Cargo.toml b/account/api/Cargo.toml index 3975af6986..35880ab3f6 100644 --- a/account/api/Cargo.toml +++ b/account/api/Cargo.toml @@ -26,7 +26,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-account-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/account/provider/Cargo.toml b/account/provider/Cargo.toml index 4fa36d0d51..8afd18af03 100644 --- a/account/provider/Cargo.toml +++ b/account/provider/Cargo.toml @@ -10,7 +10,7 @@ starcoin-types = { workspace = true } [package] edition = { workspace = true } name = "starcoin-account-provider" -version = "2.0.0-alpha" +version = "2.0.0" authors = { workspace = true } homepage = { workspace = true } license = { workspace = true } diff --git a/account/service/Cargo.toml b/account/service/Cargo.toml index abc5778f99..19ce568ab5 100644 --- a/account/service/Cargo.toml +++ b/account/service/Cargo.toml @@ -23,7 +23,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-account-service" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index 77314d967d..ae25cb336d 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -4,7 +4,7 @@ edition = { workspace = true } license = { workspace = true } name = "benchmarks" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/block-relayer/Cargo.toml b/block-relayer/Cargo.toml index 9d8daba772..0dbe9fa8c1 100644 --- a/block-relayer/Cargo.toml +++ b/block-relayer/Cargo.toml @@ -31,7 +31,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-block-relayer" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/chain/Cargo.toml b/chain/Cargo.toml index 459f5097ae..a31ae28afb 100644 --- a/chain/Cargo.toml +++ b/chain/Cargo.toml @@ -59,7 +59,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-chain" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/chain/api/Cargo.toml b/chain/api/Cargo.toml index c829100422..c407f8fb13 100644 --- a/chain/api/Cargo.toml +++ b/chain/api/Cargo.toml @@ -30,7 +30,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-chain-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/chain/chain-notify/Cargo.toml b/chain/chain-notify/Cargo.toml index 0dfd0073d3..6b3beee61a 100644 --- a/chain/chain-notify/Cargo.toml +++ b/chain/chain-notify/Cargo.toml @@ -12,7 +12,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-chain-notify" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/chain/mock/Cargo.toml b/chain/mock/Cargo.toml index 4f4393c08f..0ad46e1023 100644 --- a/chain/mock/Cargo.toml +++ b/chain/mock/Cargo.toml @@ -38,7 +38,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-chain-mock" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/chain/open-block/Cargo.toml b/chain/open-block/Cargo.toml index 7007fe1299..7f58f6406e 100644 --- a/chain/open-block/Cargo.toml +++ b/chain/open-block/Cargo.toml @@ -27,7 +27,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-open-block" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/chain/service/Cargo.toml b/chain/service/Cargo.toml index 7ae561bbef..4d0f6674ae 100644 --- a/chain/service/Cargo.toml +++ b/chain/service/Cargo.toml @@ -37,7 +37,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-chain-service" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/airdrop/Cargo.toml b/cmd/airdrop/Cargo.toml index 2e69b8ef7d..bc8b3e437e 100644 --- a/cmd/airdrop/Cargo.toml +++ b/cmd/airdrop/Cargo.toml @@ -23,7 +23,7 @@ tokio = { features = ["full"], workspace = true } authors = { workspace = true } edition = { workspace = true } name = "airdrop" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/cmd/db-exporter/Cargo.toml b/cmd/db-exporter/Cargo.toml index 2e16f5298e..2a08788c37 100644 --- a/cmd/db-exporter/Cargo.toml +++ b/cmd/db-exporter/Cargo.toml @@ -47,7 +47,7 @@ edition = { workspace = true } license = { workspace = true } name = "db-exporter" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/faucet/Cargo.toml b/cmd/faucet/Cargo.toml index eef326023c..75aae61413 100644 --- a/cmd/faucet/Cargo.toml +++ b/cmd/faucet/Cargo.toml @@ -35,7 +35,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-faucet" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/generator/Cargo.toml b/cmd/generator/Cargo.toml index ce48fe828b..70146e29e3 100644 --- a/cmd/generator/Cargo.toml +++ b/cmd/generator/Cargo.toml @@ -31,7 +31,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-generator" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/genesis-nft-miner/Cargo.toml b/cmd/genesis-nft-miner/Cargo.toml index 5606f898ea..159e2b3287 100644 --- a/cmd/genesis-nft-miner/Cargo.toml +++ b/cmd/genesis-nft-miner/Cargo.toml @@ -19,7 +19,7 @@ edition = { workspace = true } license = { workspace = true } name = "genesis-nft-miner" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/indexer/Cargo.toml b/cmd/indexer/Cargo.toml index f259303c6c..720f47a426 100644 --- a/cmd/indexer/Cargo.toml +++ b/cmd/indexer/Cargo.toml @@ -24,7 +24,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-indexer" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/merkle-generator/Cargo.toml b/cmd/merkle-generator/Cargo.toml index 915ec4a030..988e825074 100644 --- a/cmd/merkle-generator/Cargo.toml +++ b/cmd/merkle-generator/Cargo.toml @@ -15,7 +15,7 @@ starcoin-vm-types = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "merkle-generator" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/cmd/miner_client/Cargo.toml b/cmd/miner_client/Cargo.toml index 2a9ca27dc9..f724e699e8 100644 --- a/cmd/miner_client/Cargo.toml +++ b/cmd/miner_client/Cargo.toml @@ -50,7 +50,7 @@ starcoin-miner = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-miner-client" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/cmd/miner_client/api/Cargo.toml b/cmd/miner_client/api/Cargo.toml index 89acc5c45c..b3de2fee20 100644 --- a/cmd/miner_client/api/Cargo.toml +++ b/cmd/miner_client/api/Cargo.toml @@ -9,7 +9,7 @@ starcoin-types = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-miner-client-api" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/cmd/peer-watcher/Cargo.toml b/cmd/peer-watcher/Cargo.toml index b4d11d5992..c5ceaf1086 100644 --- a/cmd/peer-watcher/Cargo.toml +++ b/cmd/peer-watcher/Cargo.toml @@ -26,7 +26,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-peer-watcher" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/replay/Cargo.toml b/cmd/replay/Cargo.toml index 570bcb3c94..8192c0aa0c 100644 --- a/cmd/replay/Cargo.toml +++ b/cmd/replay/Cargo.toml @@ -20,7 +20,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-replay" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/resource-exporter/Cargo.toml b/cmd/resource-exporter/Cargo.toml index 0fa25c0e66..2cefad566e 100644 --- a/cmd/resource-exporter/Cargo.toml +++ b/cmd/resource-exporter/Cargo.toml @@ -20,7 +20,7 @@ edition = { workspace = true } license = { workspace = true } name = "resource-exporter" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/starcoin/Cargo.toml b/cmd/starcoin/Cargo.toml index 4c6c6269b3..cbeeb4ba5f 100644 --- a/cmd/starcoin/Cargo.toml +++ b/cmd/starcoin/Cargo.toml @@ -69,7 +69,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-cmd" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/cmd/tx-factory/Cargo.toml b/cmd/tx-factory/Cargo.toml index 6b407cd3a4..c4b401e19e 100644 --- a/cmd/tx-factory/Cargo.toml +++ b/cmd/tx-factory/Cargo.toml @@ -25,7 +25,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-tx-factory" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/accumulator/Cargo.toml b/commons/accumulator/Cargo.toml index 7de9ccf976..e92443bd14 100644 --- a/commons/accumulator/Cargo.toml +++ b/commons/accumulator/Cargo.toml @@ -28,7 +28,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-accumulator" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/api-limiter/Cargo.toml b/commons/api-limiter/Cargo.toml index 60a1618254..ae055824d6 100644 --- a/commons/api-limiter/Cargo.toml +++ b/commons/api-limiter/Cargo.toml @@ -8,7 +8,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } name = "api-limiter" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } publish = { workspace = true } repository = { workspace = true } diff --git a/commons/bcs_ext/Cargo.toml b/commons/bcs_ext/Cargo.toml index 1f5188b20c..6058593be4 100644 --- a/commons/bcs_ext/Cargo.toml +++ b/commons/bcs_ext/Cargo.toml @@ -9,7 +9,7 @@ edition = { workspace = true } license = { workspace = true } name = "bcs-ext" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/decrypt/Cargo.toml b/commons/decrypt/Cargo.toml index 254821941e..7e483b2b23 100644 --- a/commons/decrypt/Cargo.toml +++ b/commons/decrypt/Cargo.toml @@ -13,7 +13,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } name = "starcoin-decrypt" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } publish = { workspace = true } repository = { workspace = true } diff --git a/commons/forkable-jellyfish-merkle/Cargo.toml b/commons/forkable-jellyfish-merkle/Cargo.toml index 47e79d5d25..279b499153 100644 --- a/commons/forkable-jellyfish-merkle/Cargo.toml +++ b/commons/forkable-jellyfish-merkle/Cargo.toml @@ -39,7 +39,7 @@ edition = { workspace = true } license = { workspace = true } name = "forkable-jellyfish-merkle" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/infallible/Cargo.toml b/commons/infallible/Cargo.toml index 56dee30c80..5d558fe4d4 100644 --- a/commons/infallible/Cargo.toml +++ b/commons/infallible/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starcoin-infallible" -version = "2.0.0-alpha" +version = "2.0.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/commons/logger/Cargo.toml b/commons/logger/Cargo.toml index 6d581f8762..4770499b96 100644 --- a/commons/logger/Cargo.toml +++ b/commons/logger/Cargo.toml @@ -19,7 +19,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-logger" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/metrics/Cargo.toml b/commons/metrics/Cargo.toml index bbba87a336..4ebe4005c6 100644 --- a/commons/metrics/Cargo.toml +++ b/commons/metrics/Cargo.toml @@ -16,7 +16,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-metrics" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/proptest-helpers/Cargo.toml b/commons/proptest-helpers/Cargo.toml index 4fd2610397..846106da26 100644 --- a/commons/proptest-helpers/Cargo.toml +++ b/commons/proptest-helpers/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "Apache-2.0" name = "starcoin-proptest-helpers" publish = false -version = "2.0.0-alpha" +version = "2.0.0" [dependencies] crossbeam = "0.8.1" diff --git a/commons/scmd/Cargo.toml b/commons/scmd/Cargo.toml index 71bfe28d9b..2df2c95c5b 100644 --- a/commons/scmd/Cargo.toml +++ b/commons/scmd/Cargo.toml @@ -24,7 +24,7 @@ edition = { workspace = true } license = { workspace = true } name = "scmd" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/serde-helpers/Cargo.toml b/commons/serde-helpers/Cargo.toml index 30f5ef7489..0d41260d1d 100644 --- a/commons/serde-helpers/Cargo.toml +++ b/commons/serde-helpers/Cargo.toml @@ -13,7 +13,7 @@ edition = { workspace = true } license = { workspace = true } name = "serde-helpers" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/service-registry/Cargo.toml b/commons/service-registry/Cargo.toml index 0710f6468b..2ffd77d578 100644 --- a/commons/service-registry/Cargo.toml +++ b/commons/service-registry/Cargo.toml @@ -22,7 +22,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-service-registry" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/stest/Cargo.toml b/commons/stest/Cargo.toml index 103f5421bd..6fc5cd766f 100644 --- a/commons/stest/Cargo.toml +++ b/commons/stest/Cargo.toml @@ -15,7 +15,7 @@ edition = { workspace = true } license = { workspace = true } name = "stest" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/stest/stest-macro/Cargo.toml b/commons/stest/stest-macro/Cargo.toml index ce222a00a5..0601b0ab8e 100644 --- a/commons/stest/stest-macro/Cargo.toml +++ b/commons/stest/stest-macro/Cargo.toml @@ -4,7 +4,7 @@ edition = { workspace = true } license = { workspace = true } name = "stest-macro" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" [lib] proc-macro = true diff --git a/commons/stream-task/Cargo.toml b/commons/stream-task/Cargo.toml index 5716724898..962933fa91 100644 --- a/commons/stream-task/Cargo.toml +++ b/commons/stream-task/Cargo.toml @@ -21,7 +21,7 @@ stest = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "stream-task" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/commons/system/Cargo.toml b/commons/system/Cargo.toml index 9ad5482eb1..af2e2fdef2 100644 --- a/commons/system/Cargo.toml +++ b/commons/system/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "Apache-2.0" name = "starcoin-system" publish = false -version = "2.0.0-alpha" +version = "2.0.0" [dependencies] anyhow = { workspace = true } diff --git a/commons/time-service/Cargo.toml b/commons/time-service/Cargo.toml index b5a69bcd84..45402da5dc 100644 --- a/commons/time-service/Cargo.toml +++ b/commons/time-service/Cargo.toml @@ -8,7 +8,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-time-service" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/timeout-join-handler/Cargo.toml b/commons/timeout-join-handler/Cargo.toml index a95483008f..34dcd41bb1 100644 --- a/commons/timeout-join-handler/Cargo.toml +++ b/commons/timeout-join-handler/Cargo.toml @@ -10,7 +10,7 @@ edition = { workspace = true } license = { workspace = true } name = "timeout-join-handler" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/commons/utils/Cargo.toml b/commons/utils/Cargo.toml index a7e93901b7..af774d3107 100644 --- a/commons/utils/Cargo.toml +++ b/commons/utils/Cargo.toml @@ -19,6 +19,6 @@ edition = { workspace = true } homepage = { workspace = true } license = { workspace = true } repository = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" publish = { workspace = true } rust-version = { workspace = true } diff --git a/config/Cargo.toml b/config/Cargo.toml index 27410effca..5eefdddbb6 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -40,7 +40,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-config" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/config/example/barnard/genesis_config.json b/config/example/barnard/genesis_config.json index dcd820bce6..c923ddffff 100644 --- a/config/example/barnard/genesis_config.json +++ b/config/example/barnard/genesis_config.json @@ -377,7 +377,7 @@ "base_reward_per_uncle_percent": 10, "epoch_block_count": 240, "base_block_difficulty_window": 24, - "min_block_time_target": 5000, + "min_block_time_target": 2000, "max_block_time_target": 60000, "base_max_uncles_per_block": 2, "base_block_gas_limit": 50000000, diff --git a/config/example/proxima/genesis_config.json b/config/example/proxima/genesis_config.json index 938b472b79..9f03b96339 100644 --- a/config/example/proxima/genesis_config.json +++ b/config/example/proxima/genesis_config.json @@ -505,7 +505,7 @@ "base_reward_per_uncle_percent": 10, "epoch_block_count": 240, "base_block_difficulty_window": 24, - "min_block_time_target": 5000, + "min_block_time_target": 2000, "max_block_time_target": 60000, "base_max_uncles_per_block": 2, "base_block_gas_limit": 50000000, diff --git a/config/example/vega/config.toml b/config/example/vega/config.toml new file mode 100644 index 0000000000..2ad2833a8a --- /dev/null +++ b/config/example/vega/config.toml @@ -0,0 +1,52 @@ +[account_provider] +from_env = false + +[logger] +max_backup = 100 + +[metrics] +address = "127.0.0.1" + +[metrics.push_config] +interval = 0 + +[miner] +miner_thread = 3 + +[network] +max_incoming_peers = 25 +max_outgoing_peers = 75 +node_name = "alice-node1" +seeds = ["/ip4/1.2.3.3/tcp/9840/p2p/QmRZ6ZwVzhJ6xpVV1CEve2RKiUzK4y2pSx3eg2cvQMsT4f", "/ip4/1.2.3.4/tcp/9840/p2p/12D3KooWCfUex27aoqaKScponiLB4N4FWbgmbHYjVoRebGrQaRYk"] + +[network.network_rpc_quotas] +default_global_api_quota = "2000/s" +[rpc.api_quotas] +custom_user_api_quota = [["chain.info", "100/s"], ["chain.get_block_by_hash", "100/s"]] +default_global_api_quota = "2000/s" + +[rpc.http] +apis = "chain,miner,node,state,txpool,contract" + +[rpc.ipc] +apis = "account,chain,debug,miner,network_manager,node_manager,node,pubsub,state,sync_manager,txpool,contract" + +[rpc.tcp] +apis = "chain,miner,node,state,txpool,contract" + +[rpc.ws] +apis = "chain,miner,node,pubsub,state,txpool,contract" + +[storage] +max_open_files = 40960 + +[stratum] +port = 8090 + +[sync] + +[tx_pool] +max_count = 8192 + +[vault] +dir = "/data/my_starcoin_vault" diff --git a/config/example/vega/genesis_config.json b/config/example/vega/genesis_config.json new file mode 100644 index 0000000000..1ab9bee7cc --- /dev/null +++ b/config/example/vega/genesis_config.json @@ -0,0 +1,407 @@ +{ + "genesis_block_parameter": { + "Static": { + "parent_hash": "0x9c1d2feee27125518498fa6bfae233a44c6838bd67c6c50bff02ab4f91837e3a", + "timestamp": 1718943459997, + "difficulty": "0x5f" + } + }, + "version": { + "major": 1 + }, + "reward_delay": 7, + "pre_mine_amount": 159256800000000000, + "time_mint_amount": 477770400000000000, + "time_mint_period": 94608000, + "vm_config": { + "gas_schedule": { + "instruction_table": [ + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 638, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1132, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 3, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 41, + "memory_gas": 1 + }, + { + "instruction_gas": 21, + "memory_gas": 1 + }, + { + "instruction_gas": 23, + "memory_gas": 1 + }, + { + "instruction_gas": 459, + "memory_gas": 1 + }, + { + "instruction_gas": 13, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 1, + "memory_gas": 1 + }, + { + "instruction_gas": 582, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 2, + "memory_gas": 1 + }, + { + "instruction_gas": 34, + "memory_gas": 1 + }, + { + "instruction_gas": 15, + "memory_gas": 1 + }, + { + "instruction_gas": 14, + "memory_gas": 1 + }, + { + "instruction_gas": 13, + "memory_gas": 1 + }, + { + "instruction_gas": 27, + "memory_gas": 1 + } + ], + "native_table": [ + { + "instruction_gas": 21, + "memory_gas": 1 + }, + { + "instruction_gas": 64, + "memory_gas": 1 + }, + { + "instruction_gas": 61, + "memory_gas": 1 + }, + { + "instruction_gas": 3351, + "memory_gas": 1 + }, + { + "instruction_gas": 181, + "memory_gas": 1 + }, + { + "instruction_gas": 98, + "memory_gas": 1 + }, + { + "instruction_gas": 84, + "memory_gas": 1 + }, + { + "instruction_gas": 1334, + "memory_gas": 1 + }, + { + "instruction_gas": 1902, + "memory_gas": 1 + }, + { + "instruction_gas": 53, + "memory_gas": 1 + }, + { + "instruction_gas": 227, + "memory_gas": 1 + }, + { + "instruction_gas": 572, + "memory_gas": 1 + }, + { + "instruction_gas": 1436, + "memory_gas": 1 + }, + { + "instruction_gas": 26, + "memory_gas": 1 + }, + { + "instruction_gas": 353, + "memory_gas": 1 + }, + { + "instruction_gas": 24, + "memory_gas": 1 + }, + { + "instruction_gas": 212, + "memory_gas": 1 + }, + { + "instruction_gas": 52, + "memory_gas": 1 + }, + { + "instruction_gas": 26, + "memory_gas": 1 + }, + { + "instruction_gas": 2002, + "memory_gas": 1 + }, + { + "instruction_gas": 64, + "memory_gas": 1 + } + ], + "gas_constants": { + "global_memory_per_byte_cost": 4, + "global_memory_per_byte_write_cost": 9, + "min_transaction_gas_units": 600, + "large_transaction_cutoff": 600, + "intrinsic_gas_per_byte": 8, + "maximum_number_of_gas_units": 40000000, + "min_price_per_gas_unit": 1, + "max_price_per_gas_unit": 10000, + "max_transaction_size_in_bytes": 60000, + "gas_unit_scaling_factor": 1, + "default_account_size": 800 + } + } + }, + "publishing_option": { + "script_allowed": false, + "module_publishing_allowed": false + }, + "consensus_config": { + "uncle_rate_target": 240, + "base_block_time_target": 10000, + "base_reward_per_block": 10000000000, + "base_reward_per_uncle_percent": 10, + "epoch_block_count": 240, + "base_block_difficulty_window": 24, + "min_block_time_target": 2000, + "max_block_time_target": 60000, + "base_max_uncles_per_block": 2, + "base_block_gas_limit": 50000000, + "strategy": 1 + }, + "association_key_pair": [ + null, + "0x810a82a896a4f8fd065bcab8b06588fe1afdbb3d3830693c65a73d31ee1e482d85a40286b624b8481b05d9ed748e7c051b63ed36ce952cbc48bb0de4bfc6ec5888feded087075af9585a83c777ba52da1ab3aef139764a0de5fbc2d8aa8d380b02" + ], + "genesis_key_pair": null, + "stdlib_version": { + "Version": 12 + }, + "dao_config": { + "voting_delay": 3600000, + "voting_period": 604800000, + "voting_quorum_rate": 4, + "min_action_delay": 86400000 + }, + "time_service_type": "RealTimeService", + "transaction_timeout": 86400, + "dag_effective_height": 0 +} \ No newline at end of file diff --git a/config/example/vega/network_key b/config/example/vega/network_key new file mode 100644 index 0000000000..3c656bac53 --- /dev/null +++ b/config/example/vega/network_key @@ -0,0 +1 @@ +f2bb591fbeda3b19a8210b58d4ca6a5305f4c53eefe32630e2eb6a6efbd02378 \ No newline at end of file diff --git a/config/src/genesis_config.rs b/config/src/genesis_config.rs index 43491ada30..06d8c390c3 100644 --- a/config/src/genesis_config.rs +++ b/config/src/genesis_config.rs @@ -79,8 +79,10 @@ pub enum BuiltinNetworkID { /// A ephemeral dag-related network just for developer test. DagTest = 250, /// Starcoin main net. - #[default] Main = 1, + #[default] + /// Starcoin dag net + Vega = 2, } impl Display for BuiltinNetworkID { @@ -93,6 +95,7 @@ impl Display for BuiltinNetworkID { BuiltinNetworkID::Barnard => write!(f, "barnard"), BuiltinNetworkID::Main => write!(f, "main"), BuiltinNetworkID::DagTest => write!(f, "dagtest"), + BuiltinNetworkID::Vega => write!(f, "vega"), } } } @@ -109,6 +112,7 @@ impl FromStr for BuiltinNetworkID { "barnard" => Ok(BuiltinNetworkID::Barnard), "main" => Ok(BuiltinNetworkID::Main), "dagtest" => Ok(BuiltinNetworkID::DagTest), + "vega" => Ok(BuiltinNetworkID::Vega), s => Err(format_err!("Unknown network: {}", s)), } } @@ -123,6 +127,7 @@ impl TryFrom for BuiltinNetworkID { 252 => Self::Proxima, 251 => Self::Barnard, 250 => Self::DagTest, + 2 => Self::Vega, 1 => Self::Main, id => bail!("{} is not a builtin chain id", id), }) @@ -168,7 +173,9 @@ impl BuiltinNetworkID { pub fn is_dag_test(self) -> bool { matches!(self, BuiltinNetworkID::DagTest) } - + pub fn is_vega(self) -> bool { + matches!(self, BuiltinNetworkID::Vega) + } pub fn networks() -> Vec { vec![ BuiltinNetworkID::Test, @@ -178,6 +185,7 @@ impl BuiltinNetworkID { BuiltinNetworkID::Barnard, BuiltinNetworkID::Main, BuiltinNetworkID::DagTest, + BuiltinNetworkID::Vega, ] } @@ -190,6 +198,7 @@ impl BuiltinNetworkID { BuiltinNetworkID::Barnard => &G_BARNARD_CONFIG, BuiltinNetworkID::Main => &G_MAIN_CONFIG, BuiltinNetworkID::DagTest => &G_DAG_TEST_CONFIG, + BuiltinNetworkID::Vega => &G_VEGA_CONFIG, } } @@ -202,6 +211,7 @@ impl BuiltinNetworkID { BuiltinNetworkID::Barnard => G_BARNARD_BOOT_NODES.as_slice(), BuiltinNetworkID::Main => G_MAIN_BOOT_NODES.as_slice(), BuiltinNetworkID::DagTest => G_EMPTY_BOOT_NODES.as_slice(), + BuiltinNetworkID::Vega => G_VEGA_BOOT_NODES.as_slice(), } } @@ -713,7 +723,7 @@ static G_UNCLE_RATE_TARGET: u64 = 240; static G_DEFAULT_BASE_BLOCK_TIME_TARGET: u64 = 10000; static G_DEFAULT_BASE_BLOCK_DIFF_WINDOW: u64 = 24; static G_BASE_REWARD_PER_UNCLE_PERCENT: u64 = 10; -static G_MIN_BLOCK_TIME_TARGET: u64 = 5000; +static G_MIN_BLOCK_TIME_TARGET: u64 = 2000; static G_MAX_BLOCK_TIME_TARGET: u64 = 60000; pub static G_BASE_MAX_UNCLES_PER_BLOCK: u64 = 2; @@ -1085,7 +1095,14 @@ pub static G_MAIN_BOOT_NODES: Lazy> = Lazy::new(|| { "/dns4/main9.seed.starcoin.org/tcp/9840/p2p/12D3KooWLKo5X7yntEaAhUTh62ksD8pwsSu7CyTgZ76bRcStHF7x".parse().expect("parse multi addr should be ok"), ] }); - +pub static G_VEGA_BOOT_NODES: Lazy> = Lazy::new(|| { + vec![ + "/dns4/vega1.seed.starcoin.org/tcp/9840/p2p/12D3KooWE41rox2ErznPf7iGgnLaU24sm4yHfagxwz7gUqgt8y6B".parse().expect("parse multi addr should be ok"), + "/dns4/vega2.seed.starcoin.org/tcp/9840/p2p/12D3KooWK11Dxx97igwPoVoUkDPUsbdaeXgJjxWzaX1NW4Beci9U".parse().expect("parse multi addr should be ok"), + "/dns4/vega3.seed.starcoin.org/tcp/9840/p2p/12D3KooWM5GVvUPxqJXkoxjPoiPbBk8jCSwCmKF78N42aV97zuZy".parse().expect("parse multi addr should be ok"), + "/dns4/vega4.seed.starcoin.org/tcp/9840/p2p/12D3KooWAr8PQGBJSvjNp7L93VJGXZKwLXjryHBbrswgxbRxvgES".parse().expect("parse multi addr should be ok"), +] +}); pub static G_MAIN_CONFIG: Lazy = Lazy::new(|| { let stdlib_version = StdlibVersion::Version(4); let publishing_option = TransactionPublishOption::locked(); @@ -1115,7 +1132,7 @@ pub static G_MAIN_CONFIG: Lazy = Lazy::new(|| { epoch_block_count: G_DEFAULT_BASE_BLOCK_DIFF_WINDOW * 10, base_block_difficulty_window: G_DEFAULT_BASE_BLOCK_DIFF_WINDOW, base_reward_per_uncle_percent: G_BASE_REWARD_PER_UNCLE_PERCENT, - min_block_time_target: G_MIN_BLOCK_TIME_TARGET, + min_block_time_target: 5000, max_block_time_target: G_MAX_BLOCK_TIME_TARGET, base_max_uncles_per_block: G_BASE_MAX_UNCLES_PER_BLOCK, base_block_gas_limit: G_BASE_BLOCK_GAS_LIMIT, @@ -1142,6 +1159,57 @@ pub static G_LATEST_GAS_PARAMS: Lazy = Lazy::new(|| { StarcoinGasParameters::from_on_chain_gas_schedule(&gas_schedule.to_btree_map()).unwrap() }); +pub static G_VEGA_CONFIG: Lazy = Lazy::new(|| { + let stdlib_version = StdlibVersion::Version(12); + let publishing_option = TransactionPublishOption::locked(); + GenesisConfig { + genesis_block_parameter: GenesisBlockParameterConfig::Static(GenesisBlockParameter{ + parent_hash: HashValue::from_hex_literal("0x9c1d2feee27125518498fa6bfae233a44c6838bd67c6c50bff02ab4f91837e3a").unwrap(), + timestamp: 1718943459997, + difficulty: 0x5f.into(), + }), + version: Version { major: 1 }, + reward_delay: 7, + pre_mine_amount: G_DEFAULT_PRE_MINT_AMOUNT.scaling(), + time_mint_amount: G_DEFAULT_TIME_LOCKED_AMOUNT.scaling(), + time_mint_period: G_DEFAULT_TIME_LOCKED_PERIOD, + vm_config: VMConfig { + gas_schedule: CostTable { + instruction_table: instruction_table_v1(), + native_table: native_table_v2(), + gas_constants: G_GAS_CONSTANTS_V2.clone(), + }, + }, + publishing_option, + consensus_config: ConsensusConfig { + uncle_rate_target: G_UNCLE_RATE_TARGET, + base_block_time_target: G_DEFAULT_BASE_BLOCK_TIME_TARGET, + base_reward_per_block: G_DEFAULT_BASE_REWARD_PER_BLOCK.scaling(), + epoch_block_count: G_DEFAULT_BASE_BLOCK_DIFF_WINDOW * 10, + base_block_difficulty_window: G_DEFAULT_BASE_BLOCK_DIFF_WINDOW, + base_reward_per_uncle_percent: G_BASE_REWARD_PER_UNCLE_PERCENT, + min_block_time_target: G_MIN_BLOCK_TIME_TARGET, + max_block_time_target: G_MAX_BLOCK_TIME_TARGET, + base_max_uncles_per_block: G_BASE_MAX_UNCLES_PER_BLOCK, + base_block_gas_limit: G_BASE_BLOCK_GAS_LIMIT, + strategy: ConsensusStrategy::Argon.value(), + }, + association_key_pair: (None, MultiEd25519PublicKey::from_encoded_string("810a82a896a4f8fd065bcab8b06588fe1afdbb3d3830693c65a73d31ee1e482d85a40286b624b8481b05d9ed748e7c051b63ed36ce952cbc48bb0de4bfc6ec5888feded087075af9585a83c777ba52da1ab3aef139764a0de5fbc2d8aa8d380b02") + .expect("create multi public key must success.")), + genesis_key_pair: None, + time_service_type: TimeServiceType::RealTimeService, + stdlib_version, + dao_config: DaoConfig { + voting_delay: 60 * 60 * 1000, // 1h + voting_period: 60 * 60 * 24 * 7 * 1000, // 7d + voting_quorum_rate: 4, + min_action_delay: 60 * 60 * 24 * 1000, // 1d + }, + transaction_timeout: ONE_DAY, + dag_effective_height: 0, + } +}); + #[cfg(test)] mod tests { use starcoin_gas::StarcoinGasParameters; diff --git a/config/src/lib.rs b/config/src/lib.rs index 6ce21b9eb1..e90b05acdd 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -56,6 +56,7 @@ pub use genesis_config::{ BuiltinNetworkID, ChainNetwork, ChainNetworkID, FutureBlockParameter, FutureBlockParameterResolver, GenesisBlockParameter, GenesisBlockParameterConfig, GenesisConfig, G_DEV_CONFIG, G_HALLEY_CONFIG, G_MAIN_CONFIG, G_PROXIMA_CONFIG, G_TEST_CONFIG, + G_VEGA_CONFIG, }; pub use logger_config::LoggerConfig; pub use metrics_config::MetricsConfig; @@ -165,7 +166,7 @@ impl FromStr for Connect { } static G_OPT_NET_HELP: &str = r#"Chain Network - Builtin network: test,dev,halley,proxima,barnard,main + Builtin network: test,dev,halley,proxima,barnard,main,vega Custom network format: chain_name:chain_id Such as: my_chain:123 will init a new chain with id `123`. diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index ea4b947354..b4b9eab010 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -33,7 +33,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-consensus" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/consensus/cryptonight-rs/Cargo.toml b/consensus/cryptonight-rs/Cargo.toml index 8f3b394a0b..ce66061b20 100644 --- a/consensus/cryptonight-rs/Cargo.toml +++ b/consensus/cryptonight-rs/Cargo.toml @@ -21,7 +21,7 @@ edition = { workspace = true } license = { workspace = true } name = "cryptonight-rs" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/contrib-contracts/Cargo.toml b/contrib-contracts/Cargo.toml index 89b4e2e6a9..74c5bf6ac1 100644 --- a/contrib-contracts/Cargo.toml +++ b/contrib-contracts/Cargo.toml @@ -23,7 +23,7 @@ tempfile = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "contrib-contracts" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/dataformat-generator/Cargo.toml b/dataformat-generator/Cargo.toml index 9ec7c64739..6464cbea11 100644 --- a/dataformat-generator/Cargo.toml +++ b/dataformat-generator/Cargo.toml @@ -14,7 +14,7 @@ starcoin-vm-types = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-dataformat-generator" -version = "2.0.0-alpha" +version = "2.0.0" build = "build.rs" homepage = { workspace = true } license = { workspace = true } diff --git a/executor/Cargo.toml b/executor/Cargo.toml index 25d246e540..380ad6e789 100644 --- a/executor/Cargo.toml +++ b/executor/Cargo.toml @@ -46,7 +46,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-executor" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/executor/benchmark/Cargo.toml b/executor/benchmark/Cargo.toml index 5cb7acfdc0..f75996783e 100644 --- a/executor/benchmark/Cargo.toml +++ b/executor/benchmark/Cargo.toml @@ -26,7 +26,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-executor-benchmark" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/genesis/Cargo.toml b/genesis/Cargo.toml index ed30552536..4fe98e2b68 100644 --- a/genesis/Cargo.toml +++ b/genesis/Cargo.toml @@ -34,7 +34,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-genesis" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/genesis/generated/barnard/genesis b/genesis/generated/barnard/genesis index 63b481a9ea..ba2c71368c 100644 Binary files a/genesis/generated/barnard/genesis and b/genesis/generated/barnard/genesis differ diff --git a/genesis/generated/halley/genesis b/genesis/generated/halley/genesis index 0abd37c02c..8b3ab9de7c 100644 Binary files a/genesis/generated/halley/genesis and b/genesis/generated/halley/genesis differ diff --git a/genesis/generated/proxima/genesis b/genesis/generated/proxima/genesis index b5697803e7..91e2b13614 100644 Binary files a/genesis/generated/proxima/genesis and b/genesis/generated/proxima/genesis differ diff --git a/genesis/generated/vega/genesis b/genesis/generated/vega/genesis new file mode 100644 index 0000000000..542e1142f5 Binary files /dev/null and b/genesis/generated/vega/genesis differ diff --git a/kube/manifest/service-vega.yaml b/kube/manifest/service-vega.yaml new file mode 100644 index 0000000000..de85a81d15 --- /dev/null +++ b/kube/manifest/service-vega.yaml @@ -0,0 +1,182 @@ +apiVersion: v1 +kind: Service +metadata: + name: starcoin-svc + namespace: starcoin-vega +spec: + selector: + app: starcoin + ports: + - protocol: TCP + port: 80 + targetPort: 9850 + name: http-rpc-80 + - protocol: TCP + port: 9850 + targetPort: 9850 + name: http-rpc + - protocol: TCP + port: 9870 + targetPort: 9870 + name: ws-rpc + - port: 9101 + name: metrics + protocol: TCP + targetPort: 9101 + type: LoadBalancer +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-0 + annotations: + service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true" + name: starcoin-0 + namespace: starcoin-vega +spec: + ports: + - port: 9840 + name: node + protocol: TCP + targetPort: 9840 + - port: 9850 + name: http-rpc + protocol: TCP + targetPort: 9850 + - port: 9860 + name: tcp-rpc + protocol: TCP + targetPort: 9860 + - port: 9870 + name: ws-rpc + protocol: TCP + targetPort: 9870 + - port: 9101 + name: metrics + protocol: TCP + targetPort: 9101 + selector: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-0 + type: LoadBalancer +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-1 + annotations: + service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true" + name: starcoin-1 + namespace: starcoin-vega +spec: + ports: + - port: 9840 + name: node + protocol: TCP + targetPort: 9840 + - port: 9850 + name: http-rpc + protocol: TCP + targetPort: 9850 + - port: 9860 + name: tcp-rpc + protocol: TCP + targetPort: 9860 + - port: 9870 + name: ws-rpc + protocol: TCP + targetPort: 9870 + - port: 9101 + name: metrics + protocol: TCP + targetPort: 9101 + selector: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-1 + type: LoadBalancer +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-2 + annotations: + service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true" + name: starcoin-2 + namespace: starcoin-vega +spec: + ports: + - port: 9840 + name: node + protocol: TCP + targetPort: 9840 + - port: 9850 + name: http-rpc + protocol: TCP + targetPort: 9850 + - port: 9860 + name: tcp-rpc + protocol: TCP + targetPort: 9860 + - port: 9870 + name: ws-rpc + protocol: TCP + targetPort: 9870 + - port: 9101 + name: metrics + protocol: TCP + targetPort: 9101 + selector: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-2 + type: LoadBalancer +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-3 + annotations: + service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true" + name: starcoin-3 + namespace: starcoin-vega +spec: + ports: + - port: 9840 + name: node + protocol: TCP + targetPort: 9840 + - port: 9850 + name: http-rpc + protocol: TCP + targetPort: 9850 + - port: 9860 + name: tcp-rpc + protocol: TCP + targetPort: 9860 + - port: 9870 + name: ws-rpc + protocol: TCP + targetPort: 9870 + - port: 9101 + name: metrics + protocol: TCP + targetPort: 9101 + selector: + app: starcoin + network: vega + statefulset.kubernetes.io/pod-name: starcoin-3 + type: LoadBalancer \ No newline at end of file diff --git a/kube/manifest/starcoin-vega-namespace.yaml b/kube/manifest/starcoin-vega-namespace.yaml new file mode 100644 index 0000000000..b7dcd7c32a --- /dev/null +++ b/kube/manifest/starcoin-vega-namespace.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Namespace +metadata: + labels: + app: starcoin + network: vega + name: starcoin-vega diff --git a/kube/manifest/starcoin-vega.yaml b/kube/manifest/starcoin-vega.yaml new file mode 100644 index 0000000000..9306dee871 --- /dev/null +++ b/kube/manifest/starcoin-vega.yaml @@ -0,0 +1,84 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: starcoin + namespace: starcoin-vega + labels: + app: starcoin + network: vega +spec: + selector: + matchLabels: + app: starcoin + serviceName: starcoin-svc + replicas: 4 + template: + metadata: + name: starcoin + labels: + app: starcoin + network: vega + spec: + nodeSelector: + starcoin/node-pool: seed-pool + containers: + - name: starcoin + image: ghcr.io/starcoinorg/starcoin:v2.0.0 + imagePullPolicy: Always + command: + - bash + - -c + args: + - + rm -rf /sc-data/vega/starcoin.ipc /sc-data/vega/starcoindb/db/starcoindb/LOCK; + id=$(echo -e $POD_NAME|awk -F'-' '{print $2}') && IFS='; ' read -r -a node_keys <<< $NODE_KEYS && + node_key=${node_keys[$id]}; + if [ ! -z $node_key ]; then + node_key_flag="--node-key ${node_key}"; + fi; + /starcoin/starcoin -n vega --discover-local true --disable-miner-client false --p2prpc-default-global-api-quota 9000/s --p2prpc-custom-user-api-quota get_header_by_hash=9000/s --p2prpc-custom-user-api-quota get_headers_by_hash=9000/s --p2prpc-custom-user-api-quota info=9000/s --p2prpc-custom-user-api-quota get_block_by_hash=9000/s --p2prpc-custom-user-api-quota get_block_ids=9000/s --p2prpc-custom-user-api-quota get_blocks=9000/s --jsonrpc-default-global-api-quota 9000/s --jsonrpc-custom-user-api-quota chain.get_headers_by_hash=9000/s --jsonrpc-custom-user-api-quota chain.get_header_by_hash=9000/s --jsonrpc-custom-user-api-quota chain.info=9000/s --jsonrpc-custom-user-api-quota chain.get_block_by_hash=9000/s --jsonrpc-custom-user-api-quota chain.get_block_ids=9000/s --jsonrpc-custom-user-api-quota chain.get_blocks=9000/s --min-peers-to-propagate 512 --max-peers-to-propagate 1024 --max-outgoing-peers 512 --max-incoming-peers 512 -d /sc-data $node_key_flag; + ports: + - containerPort: 9840 + hostPort: 9840 + volumeMounts: + - name: starcoin-volume + mountPath: /sc-data + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: NODE_KEYS + valueFrom: + secretKeyRef: + name: node-keys + key: node-keys + livenessProbe: + tcpSocket: + port: 9840 + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 2 + failureThreshold: 4 + successThreshold: 1 + readinessProbe: + exec: + command: + - sh + - -c + - >- + /starcoin/starcoin -n vega -d /sc-data node sync status|grep Synchronized + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 2 + failureThreshold: 3 + successThreshold: 1 + volumeClaimTemplates: + - metadata: + name: starcoin-volume + namespace: starcoin-vega + spec: + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: 500Gi diff --git a/miner/Cargo.toml b/miner/Cargo.toml index 55f6e7152f..42ced531e6 100644 --- a/miner/Cargo.toml +++ b/miner/Cargo.toml @@ -47,7 +47,7 @@ test-helper = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-miner" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/network-p2p/Cargo.toml b/network-p2p/Cargo.toml index e4ddce9d4b..985b0eb519 100644 --- a/network-p2p/Cargo.toml +++ b/network-p2p/Cargo.toml @@ -56,7 +56,7 @@ edition = { workspace = true } license = { workspace = true } name = "network-p2p" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network-p2p/core/Cargo.toml b/network-p2p/core/Cargo.toml index 1acd18486b..5f85626d07 100644 --- a/network-p2p/core/Cargo.toml +++ b/network-p2p/core/Cargo.toml @@ -18,7 +18,7 @@ edition = { workspace = true } license = { workspace = true } name = "network-p2p-core" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network-p2p/derive/Cargo.toml b/network-p2p/derive/Cargo.toml index abc74e0828..c139648753 100644 --- a/network-p2p/derive/Cargo.toml +++ b/network-p2p/derive/Cargo.toml @@ -13,7 +13,7 @@ edition = { workspace = true } license = { workspace = true } name = "network-p2p-derive" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network-p2p/peerset/Cargo.toml b/network-p2p/peerset/Cargo.toml index ce150ad7fd..81c2db7832 100644 --- a/network-p2p/peerset/Cargo.toml +++ b/network-p2p/peerset/Cargo.toml @@ -18,7 +18,7 @@ homepage = { workspace = true } license = { workspace = true } name = "sc-peerset" repository = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" publish = { workspace = true } rust-version = { workspace = true } diff --git a/network-p2p/types/Cargo.toml b/network-p2p/types/Cargo.toml index 5871db614f..5702f056cc 100644 --- a/network-p2p/types/Cargo.toml +++ b/network-p2p/types/Cargo.toml @@ -21,7 +21,7 @@ edition = { workspace = true } license = { workspace = true } name = "network-p2p-types" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network-rpc/Cargo.toml b/network-rpc/Cargo.toml index d4e57b60e5..fca26e38f0 100644 --- a/network-rpc/Cargo.toml +++ b/network-rpc/Cargo.toml @@ -53,7 +53,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-network-rpc" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network-rpc/api/Cargo.toml b/network-rpc/api/Cargo.toml index 6f9ff763cb..87e95d7158 100644 --- a/network-rpc/api/Cargo.toml +++ b/network-rpc/api/Cargo.toml @@ -22,7 +22,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-network-rpc-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network/Cargo.toml b/network/Cargo.toml index 89992a5cd8..01511e42e1 100644 --- a/network/Cargo.toml +++ b/network/Cargo.toml @@ -46,7 +46,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-network" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/network/api/Cargo.toml b/network/api/Cargo.toml index 99d4525967..e9e932dda0 100644 --- a/network/api/Cargo.toml +++ b/network/api/Cargo.toml @@ -21,7 +21,7 @@ starcoin-types = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "network-api" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/network/types/Cargo.toml b/network/types/Cargo.toml index 54712a157a..cd0e91e385 100644 --- a/network/types/Cargo.toml +++ b/network/types/Cargo.toml @@ -10,7 +10,7 @@ starcoin-types = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "network-types" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/node/Cargo.toml b/node/Cargo.toml index ccb23d3527..844b7d46ea 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -64,7 +64,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-node" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/node/api/Cargo.toml b/node/api/Cargo.toml index 4353387514..45d91d62e5 100644 --- a/node/api/Cargo.toml +++ b/node/api/Cargo.toml @@ -23,7 +23,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-node-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/rpc/api/Cargo.toml b/rpc/api/Cargo.toml index f327b30f6b..6a17bacf65 100644 --- a/rpc/api/Cargo.toml +++ b/rpc/api/Cargo.toml @@ -55,7 +55,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-rpc-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/rpc/api/generated_rpc_schema/node.json b/rpc/api/generated_rpc_schema/node.json index 9e76517105..f84e0d1dcb 100644 --- a/rpc/api/generated_rpc_schema/node.json +++ b/rpc/api/generated_rpc_schema/node.json @@ -111,7 +111,8 @@ "Proxima", "Barnard", "DagTest", - "Main" + "Main", + "Vega" ] } }, diff --git a/rpc/client/Cargo.toml b/rpc/client/Cargo.toml index 8c5409c8a2..c94e851ce2 100644 --- a/rpc/client/Cargo.toml +++ b/rpc/client/Cargo.toml @@ -59,7 +59,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-rpc-client" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/rpc/middleware/Cargo.toml b/rpc/middleware/Cargo.toml index 8eaec05ced..54c2388169 100644 --- a/rpc/middleware/Cargo.toml +++ b/rpc/middleware/Cargo.toml @@ -20,7 +20,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-rpc-middleware" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/rpc/server/Cargo.toml b/rpc/server/Cargo.toml index f23410efb7..d6517d58ee 100644 --- a/rpc/server/Cargo.toml +++ b/rpc/server/Cargo.toml @@ -86,7 +86,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-rpc-server" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/state/api/Cargo.toml b/state/api/Cargo.toml index 73b73de47e..f65d6b1e52 100644 --- a/state/api/Cargo.toml +++ b/state/api/Cargo.toml @@ -19,7 +19,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-state-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/state/service/Cargo.toml b/state/service/Cargo.toml index 6dabd2fe21..bc5f6304fa 100644 --- a/state/service/Cargo.toml +++ b/state/service/Cargo.toml @@ -24,7 +24,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-state-service" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/state/state-store-api/Cargo.toml b/state/state-store-api/Cargo.toml index 0d5f6934c0..2b92dbc105 100644 --- a/state/state-store-api/Cargo.toml +++ b/state/state-store-api/Cargo.toml @@ -11,7 +11,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-state-store-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/state/state-tree/Cargo.toml b/state/state-tree/Cargo.toml index 5a192e53fa..be32443627 100644 --- a/state/state-tree/Cargo.toml +++ b/state/state-tree/Cargo.toml @@ -20,7 +20,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-state-tree" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/state/statedb/Cargo.toml b/state/statedb/Cargo.toml index fd71a6f411..49c1b54fe1 100644 --- a/state/statedb/Cargo.toml +++ b/state/statedb/Cargo.toml @@ -19,7 +19,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-statedb" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/storage/Cargo.toml b/storage/Cargo.toml index 02aa010688..0f9a6b3f1e 100644 --- a/storage/Cargo.toml +++ b/storage/Cargo.toml @@ -43,7 +43,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-storage" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/stratum/Cargo.toml b/stratum/Cargo.toml index 8642dc3fd4..ca8c9f2564 100644 --- a/stratum/Cargo.toml +++ b/stratum/Cargo.toml @@ -24,7 +24,7 @@ stest = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-stratum" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/sync/Cargo.toml b/sync/Cargo.toml index eaa78f145f..a3a8ee9d91 100644 --- a/sync/Cargo.toml +++ b/sync/Cargo.toml @@ -67,7 +67,7 @@ starcoin-genesis = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-sync" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/sync/api/Cargo.toml b/sync/api/Cargo.toml index d1454cf209..153008c4bc 100644 --- a/sync/api/Cargo.toml +++ b/sync/api/Cargo.toml @@ -15,7 +15,7 @@ stream-task = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "starcoin-sync-api" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/test-helper/Cargo.toml b/test-helper/Cargo.toml index f439679fdd..9bcd9d9480 100644 --- a/test-helper/Cargo.toml +++ b/test-helper/Cargo.toml @@ -59,7 +59,7 @@ edition = { workspace = true } license = { workspace = true } name = "test-helper" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index f7294d7dd4..6284173b6c 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -45,7 +45,7 @@ edition = { workspace = true } license = { workspace = true } name = "testsuite" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/txpool/Cargo.toml b/txpool/Cargo.toml index dff3926d19..6c1d544345 100644 --- a/txpool/Cargo.toml +++ b/txpool/Cargo.toml @@ -51,7 +51,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-txpool" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/txpool/api/Cargo.toml b/txpool/api/Cargo.toml index 302185df6a..2077dde558 100644 --- a/txpool/api/Cargo.toml +++ b/txpool/api/Cargo.toml @@ -13,7 +13,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-txpool-api" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/txpool/mock-service/Cargo.toml b/txpool/mock-service/Cargo.toml index 99390db716..acaf30f649 100644 --- a/txpool/mock-service/Cargo.toml +++ b/txpool/mock-service/Cargo.toml @@ -16,7 +16,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-txpool-mock-service" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/types/Cargo.toml b/types/Cargo.toml index ebb501df85..4473953541 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -30,7 +30,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-types" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/types/uint/Cargo.toml b/types/uint/Cargo.toml index 93b690dc6c..bd4860c8d6 100644 --- a/types/uint/Cargo.toml +++ b/types/uint/Cargo.toml @@ -15,7 +15,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-uint" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/compiler/Cargo.toml b/vm/compiler/Cargo.toml index 61cbe39df5..26eba71c5f 100644 --- a/vm/compiler/Cargo.toml +++ b/vm/compiler/Cargo.toml @@ -21,7 +21,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-move-compiler" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/dev/Cargo.toml b/vm/dev/Cargo.toml index c7e0d6e397..a12f5f8c30 100644 --- a/vm/dev/Cargo.toml +++ b/vm/dev/Cargo.toml @@ -21,7 +21,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-dev" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/e2e-tests/Cargo.toml b/vm/e2e-tests/Cargo.toml index dd2e91a139..a098a256f7 100644 --- a/vm/e2e-tests/Cargo.toml +++ b/vm/e2e-tests/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/gas-algebra-ext/Cargo.toml b/vm/gas-algebra-ext/Cargo.toml index a54b51cccb..2940ab2848 100644 --- a/vm/gas-algebra-ext/Cargo.toml +++ b/vm/gas-algebra-ext/Cargo.toml @@ -16,7 +16,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-gas-algebra-ext" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/move-coverage/Cargo.toml b/vm/move-coverage/Cargo.toml index db77c3f835..df4669195b 100644 --- a/vm/move-coverage/Cargo.toml +++ b/vm/move-coverage/Cargo.toml @@ -21,7 +21,7 @@ edition = { workspace = true } license = { workspace = true } name = "move-coverage" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/move-explain/Cargo.toml b/vm/move-explain/Cargo.toml index 0699b1c10e..99f668d1b4 100644 --- a/vm/move-explain/Cargo.toml +++ b/vm/move-explain/Cargo.toml @@ -16,5 +16,5 @@ license = { workspace = true } name = "starcoin-move-explain" publish = { workspace = true } repository = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" rust-version = { workspace = true } diff --git a/vm/move-package-manager/Cargo.toml b/vm/move-package-manager/Cargo.toml index fa2e7a3fe2..f2cf6c9cd1 100644 --- a/vm/move-package-manager/Cargo.toml +++ b/vm/move-package-manager/Cargo.toml @@ -67,5 +67,5 @@ license = { workspace = true } name = "move-package-manager" publish = { workspace = true } repository = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" rust-version = { workspace = true } diff --git a/vm/move-prover/Cargo.toml b/vm/move-prover/Cargo.toml index b8cb528dfb..ec837fe64f 100644 --- a/vm/move-prover/Cargo.toml +++ b/vm/move-prover/Cargo.toml @@ -35,7 +35,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-move-prover" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/mvhashmap/Cargo.toml b/vm/mvhashmap/Cargo.toml index e195c387a3..6bdb1b3c41 100644 --- a/vm/mvhashmap/Cargo.toml +++ b/vm/mvhashmap/Cargo.toml @@ -5,7 +5,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-mvhashmap" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/natives/Cargo.toml b/vm/natives/Cargo.toml index 53ecb67ab8..eece99f237 100644 --- a/vm/natives/Cargo.toml +++ b/vm/natives/Cargo.toml @@ -30,7 +30,7 @@ testing = ["move-stdlib/testing"] authors = { workspace = true } edition = { workspace = true } name = "starcoin-natives" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true } diff --git a/vm/parallel-executor/Cargo.toml b/vm/parallel-executor/Cargo.toml index 9ace2ef7cc..b3a27a9f5f 100644 --- a/vm/parallel-executor/Cargo.toml +++ b/vm/parallel-executor/Cargo.toml @@ -5,7 +5,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-parallel-executor" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/proptest-helpers/Cargo.toml b/vm/proptest-helpers/Cargo.toml index f89e9e9a61..a3baca1068 100644 --- a/vm/proptest-helpers/Cargo.toml +++ b/vm/proptest-helpers/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/resource-viewer/Cargo.toml b/vm/resource-viewer/Cargo.toml index 3056c00743..088c6e5241 100644 --- a/vm/resource-viewer/Cargo.toml +++ b/vm/resource-viewer/Cargo.toml @@ -13,7 +13,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-resource-viewer" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/starcoin-gas/Cargo.toml b/vm/starcoin-gas/Cargo.toml index dcef07d547..425c96e3b7 100644 --- a/vm/starcoin-gas/Cargo.toml +++ b/vm/starcoin-gas/Cargo.toml @@ -16,7 +16,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-gas" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/starcoin-transactional-test-harness/Cargo.toml b/vm/starcoin-transactional-test-harness/Cargo.toml index 00b33464b1..5f307b2dfc 100644 --- a/vm/starcoin-transactional-test-harness/Cargo.toml +++ b/vm/starcoin-transactional-test-harness/Cargo.toml @@ -71,7 +71,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-transactional-test-harness" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/stdlib/Cargo.toml b/vm/stdlib/Cargo.toml index 6a85e232a8..d364d66484 100644 --- a/vm/stdlib/Cargo.toml +++ b/vm/stdlib/Cargo.toml @@ -29,7 +29,7 @@ edition = { workspace = true } license = { workspace = true } name = "stdlib" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/transaction-benchmarks/Cargo.toml b/vm/transaction-benchmarks/Cargo.toml index a4ae8c87bf..55967a84ff 100644 --- a/vm/transaction-benchmarks/Cargo.toml +++ b/vm/transaction-benchmarks/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = { workspace = true } license = { workspace = true } publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/transaction-builder-generator/Cargo.toml b/vm/transaction-builder-generator/Cargo.toml index 5910cbec76..5cb95d92b1 100644 --- a/vm/transaction-builder-generator/Cargo.toml +++ b/vm/transaction-builder-generator/Cargo.toml @@ -31,6 +31,6 @@ homepage = { workspace = true } license = { workspace = true } name = "transaction-builder-generator" repository = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" publish = { workspace = true } rust-version = { workspace = true } diff --git a/vm/transaction-builder/Cargo.toml b/vm/transaction-builder/Cargo.toml index 81d9805289..b3a7bbab9c 100644 --- a/vm/transaction-builder/Cargo.toml +++ b/vm/transaction-builder/Cargo.toml @@ -17,7 +17,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-transaction-builder" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/types/Cargo.toml b/vm/types/Cargo.toml index 76dd75dfee..6cb11664a2 100644 --- a/vm/types/Cargo.toml +++ b/vm/types/Cargo.toml @@ -52,7 +52,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-vm-types" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/types/src/genesis_config.rs b/vm/types/src/genesis_config.rs index c2cc1f5889..2b11abdc01 100644 --- a/vm/types/src/genesis_config.rs +++ b/vm/types/src/genesis_config.rs @@ -197,6 +197,10 @@ impl ChainId { pub fn is_dag_test(self) -> bool { self.id == 250 } + + pub fn is_vega(self) -> bool { + self.id == 2 + } } impl fmt::Display for ChainId { diff --git a/vm/vm-runtime/Cargo.toml b/vm/vm-runtime/Cargo.toml index 67ae19b56d..f7afe655ba 100644 --- a/vm/vm-runtime/Cargo.toml +++ b/vm/vm-runtime/Cargo.toml @@ -4,7 +4,7 @@ edition = { workspace = true } license = { workspace = true } name = "starcoin-vm-runtime" publish = { workspace = true } -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } repository = { workspace = true } rust-version = { workspace = true } diff --git a/vm/vm-status-translator/Cargo.toml b/vm/vm-status-translator/Cargo.toml index c700d24db8..59b51fd200 100644 --- a/vm/vm-status-translator/Cargo.toml +++ b/vm/vm-status-translator/Cargo.toml @@ -9,7 +9,7 @@ starcoin-vm-types = { workspace = true } authors = { workspace = true } edition = { workspace = true } name = "vm-status-translator" -version = "2.0.0-alpha" +version = "2.0.0" homepage = { workspace = true } license = { workspace = true } publish = { workspace = true }