Skip to content

Commit

Permalink
[genesis] Reset testnet and prepre new version (#1704)
Browse files Browse the repository at this point in the history
* [genesis] Reset testnet and prepre new version

* [cargo] version to 0.4.1
  • Loading branch information
jolestar authored May 18, 2024
1 parent 094e21c commit 3ea59eb
Show file tree
Hide file tree
Showing 51 changed files with 100 additions and 99 deletions.
92 changes: 46 additions & 46 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/data_verify/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-verify"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-benchmarks"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-config"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-da/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-da"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-executor"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-faucet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-faucet"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-framework-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-framework-tests"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-genesis-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-genesis-builder"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-genesis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-genesis"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-indexer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-indexer"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-integration-test-runner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-integration-test-runner"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-key/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-key"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-open-rpc-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-open-rpc-macros"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-open-rpc-spec-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-open-rpc-spec-builder"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-open-rpc-spec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-open-rpc-spec"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-open-rpc-spec/schemas/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"name": "Apache-2.0",
"url": "https://raw.githubusercontent.com/rooch-network/rooch/main/LICENSE"
},
"version": "0.1.0"
"version": "0.4.1"
},
"methods": [
{
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-open-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-open-rpc"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-pipeline-processor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-pipeline-processor"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-proposer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-proposer"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-relayer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-relayer"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-rpc-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-rpc-api"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-rpc-client"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-rpc-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-rpc-server"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-sequencer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-sequencer"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-store"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-test-transaction-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-test-transaction-builder"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-types"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
9 changes: 5 additions & 4 deletions crates/rooch-types/src/genesis_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub static G_LOCAL_CONFIG: Lazy<GenesisConfig> = Lazy::new(|| GenesisConfig {
});

pub static G_DEV_CONFIG: Lazy<GenesisConfig> = Lazy::new(|| GenesisConfig {
bitcoin_network: crate::bitcoin::network::Network::Testnet.to_num(),
bitcoin_network: crate::bitcoin::network::Network::Regtest.to_num(),
bitcoin_block_height: 0,
timestamp: 0,
sequencer_account: ROOCH_FRAMEWORK_ADDRESS,
Expand All @@ -46,11 +46,12 @@ pub static G_DEV_CONFIG: Lazy<GenesisConfig> = Lazy::new(|| GenesisConfig {
});

pub static G_TEST_CONFIG: Lazy<GenesisConfig> = Lazy::new(|| {
// curl -sSL "https://mempool.space/testnet/api/block/000000009373df1134670bd45e75a6b8f1fb07610a9eeb7933ef266da9507cb9"
// curl -sSL "https://mempool.space/testnet/api/block/00000000000000076f7641550f6c5b37c7e383eae883545fa72c05aa7a7a65ef"

GenesisConfig {
bitcoin_network: crate::bitcoin::network::Network::Testnet.to_num(),
bitcoin_block_height: 2815983,
timestamp: 1715941066000,
bitcoin_block_height: 2816175,
timestamp: 1716012694000,
sequencer_account: AccountAddress::from_hex_literal(
"0xbe2701d15ccdc282caf8ca6647e7a54db5721f8bcb7b980b4d0c65a151bf74da",
)
Expand Down
2 changes: 1 addition & 1 deletion crates/rooch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/testsuite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "testsuite"
version = "0.1.0"
version = "0.4.1"

authors = { workspace = true }
edition = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion frameworks/bitcoin-move/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
#Bitcoin Move framework
name = "bitcoin-move"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion frameworks/framework-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framework-builder"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion frameworks/framework-release/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framework-release"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion frameworks/framework-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framework-types"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion frameworks/moveos-stdlib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-stdlib"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion frameworks/rooch-framework/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rooch-framework"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion moveos/metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "metrics"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-commons/accumulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "accumulator"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-commons/moveos-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-common"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-commons/timeout-join-handler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "timeout-join-handler"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-compiler"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-config"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-object-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-object-runtime"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-store"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-types"
version = "0.1.0"
version = "0.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-verifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-verifier"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion moveos/moveos-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "moveos-wasm"
version = "0.1.0"
version = "0.4.1"
edition = "2021"

[dependencies]
Expand Down
Loading

0 comments on commit 3ea59eb

Please sign in to comment.