From 3e8ff3c408d8be5b09fe7fb5b0eb6568ce2f411b Mon Sep 17 00:00:00 2001 From: Preston Evans <32944016+preston-evans98@users.noreply.github.com> Date: Wed, 31 May 2023 11:29:16 -0700 Subject: [PATCH] Release v0.1.0 (#374) --- Cargo.toml | 2 +- full-node/db/sov-db/Cargo.toml | 6 +++--- full-node/db/sov-schema-db/Cargo.toml | 3 ++- .../sov-accounts/Cargo.toml | 12 ++++++------ .../module-implementations/sov-bank/Cargo.toml | 12 ++++++------ .../sov-prover-incentives/Cargo.toml | 16 ++++++++-------- .../sov-sequencer-registry/Cargo.toml | 14 +++++++------- module-system/sov-modules-api/Cargo.toml | 4 ++-- module-system/sov-modules-macros/Cargo.toml | 10 +++++----- .../sov-modules-stf-template/Cargo.toml | 6 +++--- module-system/sov-state/Cargo.toml | 10 +++++----- packages_to_publish.txt | 10 +++++----- rollup-interface/Cargo.toml | 4 ++++ 13 files changed, 57 insertions(+), 52 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bab360ac5..b73e595dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" authors = ["Sovereign Labs "] -homepage = "sovereign.xyz" +homepage = "https://www.sovereign.xyz" publish = false repository = "https://github.com/sovereign-labs/sovereign-sdk" rust-version = "1.66" diff --git a/full-node/db/sov-db/Cargo.toml b/full-node/db/sov-db/Cargo.toml index fa6f9cb5e..4e9df93ad 100644 --- a/full-node/db/sov-db/Cargo.toml +++ b/full-node/db/sov-db/Cargo.toml @@ -16,8 +16,8 @@ resolver = "2" [dependencies] # Maintained by sovereign labs jmt = { workspace = true } -sov-schema-db = { path = "../sov-schema-db" } -sov-rollup-interface = { path = "../../../rollup-interface" } +sov-schema-db = { path = "../sov-schema-db", version = "0.1" } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1" } # External @@ -30,7 +30,7 @@ rocksdb = { workspace = true } bincode = "1.3.3" [dev-dependencies] -sov-schema-db = { path = "../sov-schema-db", features = ["temppath"] } +sov-schema-db = { path = "../sov-schema-db", version = "0.1", features = ["temppath"] } [features] default = [] diff --git a/full-node/db/sov-schema-db/Cargo.toml b/full-node/db/sov-schema-db/Cargo.toml index 4eb6c1743..2d15128d8 100644 --- a/full-node/db/sov-schema-db/Cargo.toml +++ b/full-node/db/sov-schema-db/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" [dependencies] # Dependencies maintained by sovereign labs -sov-rollup-interface = { path = "../../../rollup-interface" } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1" } # External dependencies anyhow = { workspace = true } @@ -32,6 +32,7 @@ hex = { workspace = true, optional = true } byteorder = { workspace = true } rand = { workspace = true } hex = { workspace = true } + [features] default = [] temppath = ["dep:byteorder", "dep:rand", "dep:hex"] diff --git a/module-system/module-implementations/sov-accounts/Cargo.toml b/module-system/module-implementations/sov-accounts/Cargo.toml index 2167f3087..ade50f318 100644 --- a/module-system/module-implementations/sov-accounts/Cargo.toml +++ b/module-system/module-implementations/sov-accounts/Cargo.toml @@ -12,8 +12,8 @@ readme = "README.md" resolver = "2" [dev-dependencies] -sov-modules-api = { path = "../../sov-modules-api"} -sov-state = { path = "../../sov-state", features = ["temp"] } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1" } +sov-state = { path = "../../sov-state", version = "0.1", features = ["temp"] } [dependencies] anyhow = { workspace = true } @@ -23,10 +23,10 @@ serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } thiserror = { workspace = true } -sov-modules-api = { path = "../../sov-modules-api", default-features = false } -sov-modules-macros = { path = "../../sov-modules-macros" } -sov-state = { path = "../../sov-state", default-features = false } -sov-rollup-interface = { path = "../../../rollup-interface" } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1", default-features = false } +sov-modules-macros = { path = "../../sov-modules-macros", version = "0.1" } +sov-state = { path = "../../sov-state", version = "0.1", default-features = false } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1" } [features] diff --git a/module-system/module-implementations/sov-bank/Cargo.toml b/module-system/module-implementations/sov-bank/Cargo.toml index 53c762976..97ce69da7 100644 --- a/module-system/module-implementations/sov-bank/Cargo.toml +++ b/module-system/module-implementations/sov-bank/Cargo.toml @@ -12,15 +12,15 @@ readme = "README.md" resolver = "2" [dev-dependencies] -sov-modules-api = { path = "../../sov-modules-api"} -sov-state = { path = "../../sov-state", features = ["temp"] } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1"} +sov-state = { path = "../../sov-state", version = "0.1", features = ["temp"] } [dependencies] anyhow = { workspace = true } -sov-modules-api = { path = "../../sov-modules-api", default-features = false} -sov-modules-macros = { path = "../../sov-modules-macros" } -sov-state = { path = "../../sov-state", default-features = false } -sov-rollup-interface = { path = "../../../rollup-interface" } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1", default-features = false} +sov-modules-macros = { path = "../../sov-modules-macros", version = "0.1" } +sov-state = { path = "../../sov-state", version = "0.1", default-features = false } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1" } serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } thiserror = { workspace = true } diff --git a/module-system/module-implementations/sov-prover-incentives/Cargo.toml b/module-system/module-implementations/sov-prover-incentives/Cargo.toml index c2baad6b3..028f0422d 100644 --- a/module-system/module-implementations/sov-prover-incentives/Cargo.toml +++ b/module-system/module-implementations/sov-prover-incentives/Cargo.toml @@ -12,17 +12,17 @@ readme = "README.md" resolver = "2" [dev-dependencies] -sov-rollup-interface = { path = "../../../rollup-interface", features = ["mocks"] } -sov-modules-api = { path = "../../sov-modules-api"} -sov-state = { path = "../../sov-state", features = ["temp"] } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1", features = ["mocks"] } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1"} +sov-state = { path = "../../sov-state", version = "0.1", features = ["temp"] } [dependencies] anyhow = { workspace = true } -sov-bank = { path = "../sov-bank", default-features = false } -sov-modules-api = { path = "../../sov-modules-api", default-features = false } -sov-modules-macros = { path = "../../sov-modules-macros" } -sov-state = { path = "../../sov-state", default-features = false } -sov-rollup-interface = { path = "../../../rollup-interface" } +sov-bank = { path = "../sov-bank", version = "0.1", default-features = false } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1", default-features = false } +sov-modules-macros = { path = "../../sov-modules-macros", version = "0.1" } +sov-state = { path = "../../sov-state", version = "0.1", default-features = false } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1" } serde = { workspace = true } serde_json = { workspace = true, optional = true } thiserror = { workspace = true } diff --git a/module-system/module-implementations/sov-sequencer-registry/Cargo.toml b/module-system/module-implementations/sov-sequencer-registry/Cargo.toml index 07df0554b..bcd19771d 100644 --- a/module-system/module-implementations/sov-sequencer-registry/Cargo.toml +++ b/module-system/module-implementations/sov-sequencer-registry/Cargo.toml @@ -13,16 +13,16 @@ readme = "README.md" resolver = "2" [dev-dependencies] -sov-modules-api = { path = "../../sov-modules-api"} -sov-state = { path = "../../sov-state", features = ["temp"] } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1" } +sov-state = { path = "../../sov-state", version = "0.1", features = ["temp"] } [dependencies] anyhow = { workspace = true } -sov-bank = { path = "../sov-bank", default-features = false } -sov-modules-api = { path = "../../sov-modules-api", default-features = false } -sov-modules-macros = { path = "../../sov-modules-macros" } -sov-state = { path = "../../sov-state", default-features = false } -sov-rollup-interface = { path = "../../../rollup-interface" } +sov-bank = { path = "../sov-bank", version = "0.1", default-features = false } +sov-modules-api = { path = "../../sov-modules-api", version = "0.1", default-features = false } +sov-modules-macros = { path = "../../sov-modules-macros", version = "0.1" } +sov-state = { path = "../../sov-state", version = "0.1", default-features = false } +sov-rollup-interface = { path = "../../../rollup-interface", version = "0.1" } serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } thiserror = { workspace = true } diff --git a/module-system/sov-modules-api/Cargo.toml b/module-system/sov-modules-api/Cargo.toml index 537541b17..f83f64c32 100644 --- a/module-system/sov-modules-api/Cargo.toml +++ b/module-system/sov-modules-api/Cargo.toml @@ -13,8 +13,8 @@ resolver = "2" [dependencies] anyhow = { workspace = true } -sov-state = { path = "../sov-state", default-features = false } -sov-rollup-interface = { path = "../../rollup-interface" } +sov-state = { path = "../sov-state", version = "0.1", default-features = false } +sov-rollup-interface = { path = "../../rollup-interface", version = "0.1" } serde = { workspace = true } borsh = { workspace = true } thiserror = { workspace = true } diff --git a/module-system/sov-modules-macros/Cargo.toml b/module-system/sov-modules-macros/Cargo.toml index 1566deb89..d04685f4d 100644 --- a/module-system/sov-modules-macros/Cargo.toml +++ b/module-system/sov-modules-macros/Cargo.toml @@ -21,16 +21,16 @@ path = "tests/all_tests.rs" [dev-dependencies] trybuild = "1.0" -sov-modules-api = { path = "../sov-modules-api"} +sov-modules-api = { path = "../sov-modules-api", version = "0.1" } jsonrpsee = { version = "0.16.2", features = ["macros", "client-core", "server"] } -sov-state = { path = "../sov-state", features = ["temp"] } -sov-db = { path = "../../full-node/db/sov-db", features = ["temp"] } +sov-state = { path = "../sov-state", version = "0.1", features = ["temp"] } +sov-db = { path = "../../full-node/db/sov-db", version = "0.1", features = ["temp"] } [dependencies] anyhow = { workspace = true } jsonrpsee = { workspace = true, features = ["http-client", "server"]} -sov-modules-api = { path = "../sov-modules-api", default-features = false } -sov-rollup-interface = { path = "../../rollup-interface" } +sov-modules-api = { path = "../sov-modules-api", version = "0.1", default-features = false } +sov-rollup-interface = { path = "../../rollup-interface", version = "0.1" } syn = { version = "1.0", features = ["full"] } diff --git a/module-system/sov-modules-stf-template/Cargo.toml b/module-system/sov-modules-stf-template/Cargo.toml index ffe273743..341b36a87 100644 --- a/module-system/sov-modules-stf-template/Cargo.toml +++ b/module-system/sov-modules-stf-template/Cargo.toml @@ -21,6 +21,6 @@ tracing = { workspace = true } jmt = { workspace = true } hex = { workspace = true } -sov-rollup-interface = { path = "../../rollup-interface" } -sov-state = { path = "../sov-state", default-features = false } -sov-modules-api = { path = "../sov-modules-api", default-features = false } +sov-rollup-interface = { path = "../../rollup-interface", version = "0.1" } +sov-state = { path = "../sov-state", version = "0.1", default-features = false } +sov-modules-api = { path = "../sov-modules-api", version = "0.1", default-features = false } diff --git a/module-system/sov-state/Cargo.toml b/module-system/sov-state/Cargo.toml index 95330039e..fb43fa081 100644 --- a/module-system/sov-state/Cargo.toml +++ b/module-system/sov-state/Cargo.toml @@ -17,17 +17,17 @@ anyhow = { workspace = true } borsh = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } -sov-rollup-interface = { path = "../../rollup-interface" } -sov-db = { path = "../../full-node/db/sov-db", optional = true } -sov-first-read-last-write-cache = { path = "../utils/sov-first-read-last-write-cache" } +sov-rollup-interface = { path = "../../rollup-interface", version = "0.1" } +sov-db = { path = "../../full-node/db/sov-db", version = "0.1", optional = true } +sov-first-read-last-write-cache = { path = "../utils/sov-first-read-last-write-cache", version = "0.1" } jmt = { workspace = true } hex = { workspace = true } sha2 = { workspace = true } tracing = { workspace = true } [dev-dependencies] -sov-db = { path = "../../full-node/db/sov-db", features = ["temp"] } -sov-schema-db = { path = "../../full-node/db/sov-schema-db", features = ["temppath"] } +sov-db = { path = "../../full-node/db/sov-db", version = "0.1", features = ["temp"] } +sov-schema-db = { path = "../../full-node/db/sov-schema-db", version = "0.1", features = ["temppath"] } [features] default = ["native"] diff --git a/packages_to_publish.txt b/packages_to_publish.txt index 502f7dfa5..d1c0d737a 100644 --- a/packages_to_publish.txt +++ b/packages_to_publish.txt @@ -1,12 +1,12 @@ sov-rollup-interface sov-first-read-last-write-cache +sov-schema-db +sov-db sov-state -sov-modules-macros sov-modules-api +sov-modules-macros sov-modules-stf-template +sov-accounts +sov-bank sov-sequencer-registry sov-prover-incentives -sov-bank -sov-accounts -sov-schema-db -sov-db diff --git a/rollup-interface/Cargo.toml b/rollup-interface/Cargo.toml index 9bd496055..f0e9fdc1d 100644 --- a/rollup-interface/Cargo.toml +++ b/rollup-interface/Cargo.toml @@ -10,6 +10,10 @@ rust-version = { workspace = true } version = { workspace = true } readme = "README.md" resolver = "2" +exclude = [ + "specs/assets/*", +] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html