diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index ecb3bdbc44..e873ad7c57 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -46,6 +46,9 @@ runs: - uses: taiki-e/install-action@nextest env: GITHUB_TOKEN: ${{ inputs.github_token }} + - uses: taiki-e/install-action@machete + env: + GITHUB_TOKEN: ${{ inputs.github_token }} - uses: taiki-e/install-action@cargo-llvm-cov env: GITHUB_TOKEN: ${{ inputs.github_token }} diff --git a/Cargo.lock b/Cargo.lock index 780cb74126..e00314bf97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,10 +191,8 @@ dependencies = [ "alloy-primitives", "alloy-sol-type-parser", "alloy-sol-types", - "arbitrary", "derive_more 2.0.1", "itoa", - "proptest", "serde", "serde_json", "winnow 0.7.13", @@ -267,23 +265,6 @@ dependencies = [ "thiserror 2.0.17", ] -[[package]] -name = "alloy-evm" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "428b58c17ab5f9f71765dc5f116acb6580f599ce243b8ce391de3ba859670c61" -dependencies = [ - "alloy-consensus", - "alloy-eips", - "alloy-hardforks", - "alloy-primitives", - "alloy-sol-types", - "auto_impl", - "derive_more 2.0.1", - "revm", - "thiserror 2.0.17", -] - [[package]] name = "alloy-genesis" version = "1.1.0" @@ -298,19 +279,6 @@ dependencies = [ "serde_with", ] -[[package]] -name = "alloy-hardforks" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e29d7eacf42f89c21d7f089916d0bdb4f36139a31698790e8837d2dbbd4b2c3" -dependencies = [ - "alloy-chains", - "alloy-eip2124", - "alloy-primitives", - "auto_impl", - "dyn-clone", -] - [[package]] name = "alloy-json-abi" version = "1.4.1" @@ -1299,7 +1267,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ - "borsh", "serde", ] @@ -3567,14 +3534,12 @@ dependencies = [ "anyhow", "borsh", "demo-stf-declaration", - "schemars 0.8.22", "serde", "serde_json", "sov-accounts", "sov-address", "sov-attester-incentives", "sov-bank", - "sov-blob-storage", "sov-build", "sov-capabilities", "sov-chain-state", @@ -3588,7 +3553,6 @@ dependencies = [ "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", - "sov-revenue-share", "sov-rollup-apis", "sov-rollup-interface", "sov-sequencer-registry", @@ -3597,7 +3561,6 @@ dependencies = [ "sov-synthetic-load", "sov-test-modules", "sov-test-utils", - "sov-uniqueness", "tracing", ] @@ -3608,8 +3571,6 @@ dependencies = [ "anyhow", "arbitrary", "borsh", - "clap", - "jsonrpsee", "schemars 0.8.22", "serde", "sov-accounts", @@ -3617,21 +3578,16 @@ dependencies = [ "sov-attester-incentives", "sov-bank", "sov-blob-storage", - "sov-capabilities", "sov-chain-state", "sov-evm", "sov-hyperlane-integration", - "sov-kernels", "sov-modules-api", "sov-modules-stf-blueprint", "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", "sov-revenue-share", - "sov-rollup-apis", - "sov-rollup-interface", "sov-sequencer-registry", - "sov-state", "sov-synthetic-load", "sov-test-modules", "sov-test-utils", @@ -9970,7 +9926,6 @@ dependencies = [ "serde", "sov-address", "sov-modules-api", - "sov-state", "sov-test-utils", "strum 0.26.3", "thiserror 2.0.17", @@ -9985,10 +9940,8 @@ dependencies = [ "schemars 0.8.22", "serde", "sov-address", - "sov-bank", "sov-chain-state", "sov-modules-api", - "sov-state", "sov-test-utils", "strum 0.26.3", "thiserror 2.0.17", @@ -11231,15 +11184,12 @@ dependencies = [ "demo-stf", "serde", "serde_json", - "slop-algebra", "sov-mock-da", "sov-mock-zkvm", "sov-modules-api", "sov-rollup-interface", "sov-sp1-adapter", "sp1", - "sp1-core-executor", - "sp1-recursion-executor", "sp1-sdk", ] @@ -11275,7 +11225,6 @@ dependencies = [ "derivative", "schemars 0.8.22", "serde", - "sov-address", "sov-attester-incentives", "sov-bank", "sov-chain-state", @@ -11301,7 +11250,6 @@ dependencies = [ "borsh", "derive_more 2.0.1", "proptest", - "proptest-derive 0.5.1", "schemars 0.8.22", "serde", "serde_json", @@ -11329,8 +11277,6 @@ dependencies = [ "clap", "criterion", "demo-stf", - "derivative", - "derive_more 2.0.1", "futures", "humantime", "prettytable-rs", @@ -11338,7 +11284,6 @@ dependencies = [ "risc0", "serde", "sov-address", - "sov-capabilities", "sov-db", "sov-hyperlane-integration", "sov-metrics", @@ -11346,7 +11291,6 @@ dependencies = [ "sov-mock-zkvm", "sov-modules-api", "sov-modules-rollup-blueprint", - "sov-modules-stf-blueprint", "sov-node-client", "sov-risc0-adapter", "sov-rollup-interface", @@ -11356,7 +11300,6 @@ dependencies = [ "sov-test-modules", "sov-test-utils", "sov-transaction-generator", - "strum 0.26.3", "tempfile", "tokio", "tracing", @@ -11371,7 +11314,6 @@ dependencies = [ "bincode", "borsh", "derive_more 2.0.1", - "futures", "rockbound", "serde", "serde_json", @@ -11421,7 +11363,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "serde", "serde_json", "sov-modules-api", ] @@ -11485,7 +11426,6 @@ dependencies = [ "testcontainers", "thiserror 2.0.17", "tokio", - "tower 0.5.2", "tracing", "uuid", ] @@ -11550,7 +11490,6 @@ dependencies = [ "borsh", "byteorder", "criterion", - "derivative", "digest 0.10.7", "futures", "hex", @@ -11564,7 +11503,6 @@ dependencies = [ "schemars 0.8.22", "serde", "serde_json", - "serde_with", "sha2 0.10.9", "sov-db", "sov-db-types", @@ -11580,7 +11518,6 @@ dependencies = [ "tokio", "tokio-stream", "tracing", - "uuid", ] [[package]] @@ -11652,7 +11589,6 @@ dependencies = [ "sov-full-node-configs", "sov-hyperlane-integration", "sov-kernels", - "sov-metrics", "sov-mock-da", "sov-mock-zkvm", "sov-modules-api", @@ -11679,7 +11615,6 @@ dependencies = [ "tempfile", "testcontainers", "tokio", - "tokio-stream", "tracing", "tracing-panic", "tracing-subscriber 0.3.20", @@ -11690,18 +11625,14 @@ name = "sov-demo-rollup-rest-api-load-testing" version = "0.3.0" dependencies = [ "anyhow", - "borsh", "demo-stf", "rest-api-load-testing", - "sha2 0.10.9", "sov-address", "sov-api-spec", "sov-bank", "sov-cli", "sov-demo-rollup", "sov-hyperlane-integration", - "sov-mock-da", - "sov-mock-zkvm", "sov-modules-api", "sov-modules-rollup-blueprint", "sov-test-utils", @@ -11714,15 +11645,12 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more 2.0.1", "jsonrpsee", - "serde", "serde_json", "sov-address", "sov-modules-api", "sov-state", "sov-universal-wallet", - "tracing", ] [[package]] @@ -11742,7 +11670,6 @@ dependencies = [ "derive_more 2.0.1", "futures", "jsonrpsee", - "reqwest", "serde", "serde_json", "sov-cli", @@ -11759,10 +11686,8 @@ dependencies = [ "alloy-consensus", "alloy-primitives", "arbitrary", - "rand_chacha 0.3.1", "revm", "secp256k1 0.30.0", - "sha2 0.10.9", "sov-eth-dev-signer", "sov-transaction-generator", ] @@ -11859,8 +11784,6 @@ dependencies = [ "itertools 0.14.0", "jsonrpsee", "jsonschema", - "proptest", - "rand 0.8.5", "revm", "revm-database-interface", "revm-inspectors", @@ -11923,10 +11846,8 @@ dependencies = [ "alloy-rpc-types-eth", "alloy-sol-types", "anyhow", - "arbitrary", "async-trait", "hex", - "proptest", ] [[package]] @@ -12018,7 +11939,6 @@ name = "sov-kernels" version = "0.3.0" dependencies = [ "anyhow", - "serde_json", "sov-blob-storage", "sov-chain-state", "sov-modules-api", @@ -12038,14 +11958,11 @@ dependencies = [ "borsh", "derive_more 2.0.1", "futures", - "hex", "insta", - "openapiv3", "reqwest", "serde", "serde_json", "serde_with", - "serde_yaml", "sov-api-spec", "sov-db", "sov-mock-da", @@ -12056,7 +11973,6 @@ dependencies = [ "tempfile", "tokio", "tracing", - "utoipa-swagger-ui", ] [[package]] @@ -12078,7 +11994,6 @@ dependencies = [ "serde", "sov-metrics", "sp1-lib", - "strum 0.26.3", "tokio", "tokio-metrics", "toml 0.8.23", @@ -12135,7 +12050,6 @@ dependencies = [ "arbitrary", "bincode", "borsh", - "digest 0.10.7", "ed25519-dalek", "hex", "rand 0.8.5", @@ -12268,7 +12182,6 @@ dependencies = [ "async-trait", "borsh", "console-subscriber", - "derivative", "futures", "hex", "openapiv3", @@ -12304,18 +12217,14 @@ name = "sov-modules-stf-blueprint" version = "0.3.0" dependencies = [ "anyhow", - "axum 0.8.8", "borsh", "hex", - "jsonrpsee", - "schemars 0.8.22", "serde", "sov-metrics", "sov-modules-api", "sov-rollup-interface", "sov-state", "thiserror 2.0.17", - "tokio", "tracing", ] @@ -12343,16 +12252,11 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more 2.0.1", "schemars 0.8.22", "serde", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "sov-test-utils", "strum 0.26.3", - "thiserror 2.0.17", - "tracing", ] [[package]] @@ -12360,13 +12264,9 @@ name = "sov-paymaster" version = "0.3.0" dependencies = [ "anyhow", - "arbitrary", - "bcs", "borsh", "derivative", "derive_more 2.0.1", - "proptest", - "proptest-derive 0.5.1", "schemars 0.8.22", "serde", "sov-bank", @@ -12375,7 +12275,6 @@ dependencies = [ "sov-paymaster", "sov-state", "sov-test-utils", - "sov-universal-wallet", "strum 0.26.3", "tempfile", "tracing", @@ -12486,10 +12385,8 @@ dependencies = [ "bincode", "borsh", "bytemuck", - "digest 0.10.7", "ed25519-dalek", "hex", - "home", "jsonschema", "proptest", "rand 0.8.5", @@ -12516,17 +12413,11 @@ dependencies = [ "anyhow", "axum 0.8.8", "axum-server", - "base64 0.22.1", "borsh", - "derivative", - "derive_more 2.0.1", "hex", - "openapiv3", "reqwest", "serde", "serde_json", - "serde_with", - "serde_yaml", "sov-api-spec", "sov-bank", "sov-kernels", @@ -12542,7 +12433,6 @@ dependencies = [ "tempfile", "thiserror 2.0.17", "tracing", - "utoipa-swagger-ui", ] [[package]] @@ -12592,7 +12482,6 @@ name = "sov-rpc-eth-types" version = "0.3.0" dependencies = [ "alloy-eips", - "alloy-evm", "alloy-primitives", "alloy-rpc-types", "alloy-serde", @@ -12620,15 +12509,12 @@ dependencies = [ "base64 0.22.1", "bincode", "borsh", - "dashmap 6.1.0", "derivative", "derive_more 2.0.1", "flume", "futures", "hex", - "jsonrpsee", "mini-moka", - "openapiv3", "proptest", "proptest-derive 0.5.1", "reltester", @@ -12637,7 +12523,6 @@ dependencies = [ "serde", "serde_json", "serde_with", - "serde_yaml", "sov-api-spec", "sov-blob-sender", "sov-blob-storage", @@ -12672,7 +12557,6 @@ dependencies = [ "tokio-stream", "tracing", "tracing-subscriber 0.3.20", - "utoipa-swagger-ui", "uuid", ] @@ -12709,17 +12593,13 @@ dependencies = [ "borsh", "clap", "demo-stf", - "derivative", - "rand 0.8.5", "reqwest", "schemars 0.8.22", "serde", - "sov-address", "sov-api-spec", "sov-bank", "sov-celestia-adapter", "sov-db", - "sov-evm-test-utils", "sov-kernels", "sov-metrics", "sov-mock-da", @@ -12727,7 +12607,6 @@ dependencies = [ "sov-modules-api", "sov-modules-rollup-blueprint", "sov-modules-stf-blueprint", - "sov-node-client", "sov-paymaster", "sov-rollup-interface", "sov-sequencer", @@ -12738,7 +12617,6 @@ dependencies = [ "sov-synthetic-load", "sov-test-utils", "sov-transaction-generator", - "sov-value-setter", "sp1", "strum 0.26.3", "tokio", @@ -12749,11 +12627,8 @@ name = "sov-soak-testing-lib" version = "0.3.0" dependencies = [ "anyhow", - "borsh", "clap", "rand 0.8.5", - "schemars 0.8.22", - "serde", "sov-api-spec", "sov-bank", "sov-modules-api", @@ -12761,7 +12636,6 @@ dependencies = [ "sov-test-state-consistency", "sov-test-utils", "sov-transaction-generator", - "sov-value-setter", "tokio", ] @@ -12857,11 +12731,9 @@ dependencies = [ "nomt", "nomt-core", "proptest", - "proptest-derive 0.5.1", "serde", "serde-big-array", "serde_json", - "serde_with", "sha2 0.10.9", "sov-db", "sov-db-types", @@ -12934,8 +12806,6 @@ dependencies = [ "sov-address", "sov-metrics", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", ] @@ -12960,7 +12830,6 @@ dependencies = [ "sov-universal-wallet", "strum 0.26.3", "tempfile", - "thiserror 2.0.17", "tracing", ] @@ -12998,7 +12867,6 @@ dependencies = [ "serde_json", "sha2 0.10.9", "sov-accounts", - "sov-address", "sov-api-spec", "sov-attester-incentives", "sov-bank", @@ -13141,18 +13009,15 @@ dependencies = [ "bs58", "convert_case 0.6.0", "darling 0.21.3", - "hex", "proc-macro2", "quote", "syn 2.0.106", - "syn_derive", ] [[package]] name = "sov-universal-wallet-macros" version = "0.3.0" dependencies = [ - "proc-macro2", "sov-universal-wallet-macro-helpers", "syn 2.0.106", ] @@ -13167,7 +13032,6 @@ dependencies = [ "serde", "sov-address", "sov-modules-api", - "sov-rollup-interface", "sov-state", "sov-test-utils", "sov-value-setter", @@ -13202,7 +13066,6 @@ name = "sovereign-web3" version = "0.3.0" dependencies = [ "base64 0.22.1", - "borsh", "hex", "reqwest", "serde", @@ -14253,18 +14116,6 @@ dependencies = [ "syn 2.0.106", ] -[[package]] -name = "syn_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" -dependencies = [ - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.106", -] - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -15578,7 +15429,6 @@ dependencies = [ "serde", "serde_json", "sov-modules-api", - "sov-rollup-interface", "sov-universal-wallet", ] diff --git a/Cargo.toml b/Cargo.toml index 55dd8af4c6..34a491b9cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -210,7 +210,7 @@ concread = { version = "0.5.7" } anyhow = { version = "1.0.95" } async-trait = "0.1.81" -arrayvec = { version = "0.7.6", features = ["serde", "borsh"] } +arrayvec = "0.7.6" console-subscriber = "0.5" axum = { version = "0.8.8", default-features = false } @@ -229,12 +229,9 @@ bytes = { version = "1.10", default-features = false } convert_case = { version = "0.6", default-features = false } chrono = { version = "0.4", default-features = false, features = ["now"] } darling = "0.21" -dashmap = "6.1.0" -delegate = "0.13.4" derive-new = "0.7.0" derivative = { version = "2.2", features = ["use_core"] } digest = { version = "0.10.7", default-features = false, features = ["alloc"] } -derive-getters = { version = "0.5.0" } # Don't forget to upgrade zkVM patches if changing this one. ed25519-dalek = { version = "=2.1.1", default-features = false } futures = { version = "0.3", default-features = false } @@ -243,7 +240,6 @@ insta = { version = "1.39", features = ["json"] } jsonschema = "0.26.1" once_cell = "1.19" openapiv3 = "2.0.0" -prometheus = { version = "0.14", default-features = false } proc-macro2 = { version = "1.0" } proptest = { version = "1.5", default-features = false, features = ["std", "alloc"] } proptest-derive = "0.5.0" @@ -312,12 +308,10 @@ ethereum-types = { version = "0.14.1", default-features = false } alloy = { version = "1.0.41", default-features = false, features = ["std", "essentials"] } alloy-serde = { version = "1.1.3", default-features = false } alloy-pubsub = { version = "1.0.41", default-features = false } -alloy-chains = { version = "0.2.14", default-features = false } alloy-primitives = { version = "1.4.1", default-features = false } alloy-sol-types = { version = "1.4.1", default-features = false } alloy-dyn-abi = { version = "1.4.1", default-features = false } alloy-eips = { version = "1.1.0", default-features = false } -alloy-evm = { version = "0.23.1", default-features = false } alloy-consensus = { version = "1.1.0", default-features = false } alloy-contract = { version = "1.0.41", default-features = false } alloy-transport = { version = "1.0.41", default-features = false } @@ -334,10 +328,6 @@ alloy-rlp = { version = "0.3.12", default-features = false } reth-primitives-traits = { git = "https://github.com/paradigmxyz/reth", tag = "v1.9.0", default-features = false } revm = { version = "31.0.0", features = ["serde"], default-features = false } revm-database-interface = { version = "8.0.4", default-features = false } -revm-context = { version = "11.0.0", default-features = false } -revm-handler = { version = "12.0.0", default-features = false } -revm-context-interface = { version = "12.0.0", default-features = false } -revm-inspector = { version = "12.0.0", default-features = false } revm-inspectors = { version = "0.32.0", default-features = false } secp256k1 = { version = "=0.30.0", default-features = false, features = [ "global-context", diff --git a/Makefile b/Makefile index 6693b1be75..f3c343a444 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ install-dev-tools: install-cargo-tools install-risc0-toolchain install-sp1-toolc cp .vscode/settings.default.json .vscode/settings.json cargo install cargo-llvm-cov cargo install cargo-hack - cargo install cargo-udeps + cargo install cargo-machete cargo install cargo-deny cargo install flaky-finder cargo install cargo-insta @@ -106,7 +106,7 @@ install-dev-tools: install-cargo-tools install-risc0-toolchain install-sp1-toolc install-cargo-tools: ## Installs all necessary cargo helpers cargo install cargo-llvm-cov cargo install cargo-hack - cargo install cargo-udeps + cargo install cargo-machete cargo install cargo-deny cargo install flaky-finder cargo install cargo-insta diff --git a/crates/adapters/avail/Cargo.toml b/crates/adapters/avail/Cargo.toml index 200c4a35f8..8d3266b486 100644 --- a/crates/adapters/avail/Cargo.toml +++ b/crates/adapters/avail/Cargo.toml @@ -27,7 +27,6 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = tokio = { workspace = true, optional = true } futures = { workspace = true, optional = true } tracing = { workspace = true } -tracing-subscriber = { workspace = true, features = ["fmt"] } async-trait = { workspace = true } anyhow = { workspace = true } serde = { workspace = true } diff --git a/crates/adapters/celestia/Cargo.toml b/crates/adapters/celestia/Cargo.toml index c3e5c114f4..6bffe262e6 100644 --- a/crates/adapters/celestia/Cargo.toml +++ b/crates/adapters/celestia/Cargo.toml @@ -44,7 +44,6 @@ serde_json = { workspace = true, features = ["alloc"] } thiserror = { workspace = true } tokio = { workspace = true, optional = true, features = ["sync"] } -tower = { workspace = true, optional = true } tracing = { workspace = true } # Used by the checker. rand = { workspace = true, optional = true } @@ -72,7 +71,7 @@ risc0-zkvm-platform = { workspace = true } bincode = { workspace = true } rand = { workspace = true, features = ["small_rng"] } testcontainers = { workspace = true } -uuid = { workspace = true, features = ["v4"] } +uuid = { workspace = true, features = ["v4", "arbitrary"] } [features] default = [] @@ -86,7 +85,6 @@ native = [ "sov-rollup-interface/native", "dep:sov-metrics", "sov-metrics/native", - "dep:tower", "sov-modules-macros?/native", "dep:rand", ] diff --git a/crates/adapters/mock-zkvm/Cargo.toml b/crates/adapters/mock-zkvm/Cargo.toml index 834ab8a310..d88cd3bfba 100644 --- a/crates/adapters/mock-zkvm/Cargo.toml +++ b/crates/adapters/mock-zkvm/Cargo.toml @@ -15,7 +15,6 @@ workspace = true [dependencies] anyhow = { workspace = true } borsh = { workspace = true } -digest = { workspace = true } bincode = { workspace = true } serde = { workspace = true } sov-rollup-interface = { workspace = true } diff --git a/crates/adapters/risc0/Cargo.toml b/crates/adapters/risc0/Cargo.toml index 8d0d7a919e..a45310877e 100644 --- a/crates/adapters/risc0/Cargo.toml +++ b/crates/adapters/risc0/Cargo.toml @@ -18,7 +18,6 @@ arbitrary = { workspace = true, features = ["derive"], optional = true } bincode = { workspace = true } borsh = { workspace = true, features = ["derive"] } bytemuck = "1.17.0" -digest = { workspace = true, features = ["alloc"] } ed25519-dalek = { workspace = true, features = ["serde", "alloc"] } hex = { workspace = true } proptest = { workspace = true, features = ["alloc", "std"], optional = true } @@ -33,7 +32,6 @@ serde = { workspace = true, features = [ sha2 = { workspace = true } thiserror = { workspace = true } -home = { version = "=0.5.9", optional = true } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["fmt"] } @@ -59,7 +57,6 @@ native = [ "sov-metrics?/native", "risc0-zkvm/prove", "sov-rollup-interface/native", - "home", "sov-risc0-adapter/native" ] bench = [ diff --git a/crates/adapters/sp1/fibonacci-program/Cargo.lock b/crates/adapters/sp1/fibonacci-program/Cargo.lock index b5874d788b..d875bbcd30 100644 --- a/crates/adapters/sp1/fibonacci-program/Cargo.lock +++ b/crates/adapters/sp1/fibonacci-program/Cargo.lock @@ -1046,9 +1046,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "slop-algebra" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "691beea96fd18d4881f9ca1cb4e58194dac6366f24956a2fdae00c8ee382a0c9" +checksum = "733912d564a68ff209707e71fdc517d4ff82d4362b6a409f6a8241dfcb7a576a" dependencies = [ "itertools 0.14.0", "p3-field", @@ -1057,9 +1057,9 @@ dependencies = [ [[package]] name = "slop-bn254" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1852499c245f7f3dec23408b4930b3ea7570ae914b9c31f12950ac539d85ee" +checksum = "a71b23ede427299e139fb822c5d0ea8fb931dc297eba0c6e2f30f774c04ebc81" dependencies = [ "ff 0.13.1", "p3-bn254-fr", @@ -1073,9 +1073,9 @@ dependencies = [ [[package]] name = "slop-challenger" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4349af93602f3876a3eda948a74d9d16d774c401dfe25f41a45ffd84f230bc1" +checksum = "59e4993210936ab317c0d56ee8257e1cdfe6c2fae4df1e158737f034e21d45f9" dependencies = [ "futures", "p3-challenger", @@ -1086,9 +1086,9 @@ dependencies = [ [[package]] name = "slop-koala-bear" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "574784c044d11cf9d8238dc18bce9b897bc34d0fb1daaceafd75ebb400084016" +checksum = "8986e94b9a43d58fc8ce5bf111b0985479ab888ced923e3052fb19943f7859b4" dependencies = [ "lazy_static", "p3-koala-bear", @@ -1101,36 +1101,36 @@ dependencies = [ [[package]] name = "slop-poseidon2" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5af617970b63e8d7199204bc02996745b6c35c39f2b513a118c62c7b1a0b2f1b" +checksum = "5b06e4a24cba104a0a39740eedd97e60e8896926cc38e6a58d5866cc9811affa" dependencies = [ "p3-poseidon2", ] [[package]] name = "slop-primitives" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58d82c53508f3ebff8acdabb5db2584f37686257a2549a17c977cf30cd9e24e6" +checksum = "0b0b66701c82f6aab97f4990b5d9ed7463beb5b5042dbe5eda5f6c71a6207b35" dependencies = [ "slop-algebra", ] [[package]] name = "slop-symmetric" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15acfa7f567ffa4f36de134492632a397c33fa6af2e48894e50978b52eeeb871" +checksum = "e6d159948b924fd00f280064d7a049e43dceb2f26067f32fb99570d3169969ee" dependencies = [ "p3-symmetric", ] [[package]] name = "sp1-lib" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "517e820776910468611149dda66791bdb700c1b7d68b96f0ea2e604f00ad8771" +checksum = "9b96392c1b1c197beaa6b0806099a8d73643a09d5ac0874e26c9c5153a7fcb4c" dependencies = [ "bincode", "serde", @@ -1139,9 +1139,9 @@ dependencies = [ [[package]] name = "sp1-primitives" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f395525b4fc46d37136f45be264c81718a67f4409c14c547ff491a263e019e7" +checksum = "b6b77098dae9d62e080be3af253188c08e7e96e666423306654eede0110bf363" dependencies = [ "bincode", "blake3", @@ -1163,9 +1163,9 @@ dependencies = [ [[package]] name = "sp1-zkvm" -version = "6.0.2" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45aa8c53b0332dcce1f588185df97e8ed9e7a6b37b0c6584f29674017628831f" +checksum = "d31a7c3f072f248342284031684c9195e2264422964129c3b8652f9196ecc937" dependencies = [ "cfg-if", "critical-section", diff --git a/crates/full-node/sov-api-spec/Cargo.toml b/crates/full-node/sov-api-spec/Cargo.toml index c66a8c9628..cbf7bc2be6 100644 --- a/crates/full-node/sov-api-spec/Cargo.toml +++ b/crates/full-node/sov-api-spec/Cargo.toml @@ -12,6 +12,9 @@ repository.workspace = true [lints] workspace = true +[package.metadata.cargo-machete] +ignored = ["chrono", "regress", "reqwest"] + [dependencies] openapiv3 = { workspace = true } sov-modules-api = { workspace = true, features = ["native"] } diff --git a/crates/full-node/sov-blob-sender/Cargo.toml b/crates/full-node/sov-blob-sender/Cargo.toml index 69a8bdf0f1..801903305a 100644 --- a/crates/full-node/sov-blob-sender/Cargo.toml +++ b/crates/full-node/sov-blob-sender/Cargo.toml @@ -18,7 +18,6 @@ async-trait = { workspace = true } bincode = { workspace = true } borsh = { workspace = true } derive_more = { workspace = true } -futures = { workspace = true } rockbound = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } @@ -28,10 +27,13 @@ sov-modules-api = { workspace = true, features = ["native"] } sov-db = { workspace = true } tokio = { workspace = true, features = ["sync", "rt"] } tracing = { workspace = true } -uuid = { workspace = true, features = ["v7"] } +uuid = { workspace = true, features = ["std", "v7"] } [dev-dependencies] sov-mock-da = { workspace = true, features = ["native"] } tempfile = { workspace = true } sov-test-utils = { workspace = true } tracing-subscriber = { workspace = true } + +[package.metadata.cargo-machete] +ignored = ["bincode"] diff --git a/crates/full-node/sov-db-types/Cargo.toml b/crates/full-node/sov-db-types/Cargo.toml index 452d4b7a8a..09bb7b00f7 100644 --- a/crates/full-node/sov-db-types/Cargo.toml +++ b/crates/full-node/sov-db-types/Cargo.toml @@ -41,3 +41,6 @@ arbitrary = [ "sov-rollup-interface/arbitrary", "rockbound?/arbitrary" ] + +[package.metadata.cargo-machete] +ignored = ["proptest"] diff --git a/crates/full-node/sov-db/Cargo.toml b/crates/full-node/sov-db/Cargo.toml index c2d7c3f13c..c612b773dc 100644 --- a/crates/full-node/sov-db/Cargo.toml +++ b/crates/full-node/sov-db/Cargo.toml @@ -39,9 +39,6 @@ hex = { workspace = true } tracing = { workspace = true } rand = { workspace = true, optional = true } schemars = { workspace = true } -uuid = { workspace = true, features = ["std", "v7"] } -serde_with = { workspace = true } -derivative = { workspace = true } digest = { workspace = true } sov-db-types = { workspace = true, features = ["native"] } strum = { workspace = true, features = ["derive"], optional = true } @@ -73,7 +70,6 @@ arbitrary = [ "sov-test-utils/arbitrary", "sov-mock-da/arbitrary", "sov-db/arbitrary", - "uuid/arbitrary", "sov-db-types/arbitrary" ] migration-script = [] diff --git a/crates/full-node/sov-eth-dev-generator/Cargo.toml b/crates/full-node/sov-eth-dev-generator/Cargo.toml index 7ddf8cfabe..dbcb11e9b6 100644 --- a/crates/full-node/sov-eth-dev-generator/Cargo.toml +++ b/crates/full-node/sov-eth-dev-generator/Cargo.toml @@ -20,6 +20,4 @@ sov-transaction-generator = { workspace = true } alloy-primitives = { workspace = true } alloy-consensus = { workspace = true } secp256k1 = { workspace = true } -sha2 = { workspace = true } -rand_chacha = { workspace = true } arbitrary = { workspace = true } diff --git a/crates/full-node/sov-ledger-apis/Cargo.toml b/crates/full-node/sov-ledger-apis/Cargo.toml index b1e7a192c3..c356c58824 100644 --- a/crates/full-node/sov-ledger-apis/Cargo.toml +++ b/crates/full-node/sov-ledger-apis/Cargo.toml @@ -18,19 +18,15 @@ axum = { workspace = true, features = ["http1", "http2", "ws", "json"] } borsh = { workspace = true } derive_more = { workspace = true, features = ["display"] } futures = { workspace = true } -hex = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } serde_with = { workspace = true, features = ["base64"] } -serde_yaml = { workspace = true } sov-db = { workspace = true } sov-modules-api = { workspace = true, features = ["native"] } sov-rest-utils = { workspace = true } sov-rollup-interface = { workspace = true, features = ["native"] } tokio = { workspace = true, features = ["macros"] } tracing = { workspace = true } -utoipa-swagger-ui = { workspace = true, features = ["axum"] } -openapiv3 = { workspace = true } [dev-dependencies] assert-json-diff = "2" diff --git a/crates/full-node/sov-metrics/Cargo.toml b/crates/full-node/sov-metrics/Cargo.toml index 9dfdb5c457..81c32f9db7 100644 --- a/crates/full-node/sov-metrics/Cargo.toml +++ b/crates/full-node/sov-metrics/Cargo.toml @@ -14,7 +14,6 @@ workspace = true [dependencies] tracing = { workspace = true, optional = true } -strum = { workspace = true, optional = true } tokio = { workspace = true, features = ["sync", "net", "macros", "rt", "io-util"], default-features = false, optional = true } serde = { workspace = true } bincode = { workspace = true, optional = true } @@ -56,7 +55,6 @@ native = [ "dep:tokio", "dep:schemars", "dep:tracing", - "dep:strum", "dep:bincode", "dep:http", "dep:derivative", diff --git a/crates/full-node/sov-rollup-apis/Cargo.toml b/crates/full-node/sov-rollup-apis/Cargo.toml index 516e1b5bfb..ad8f40d08f 100644 --- a/crates/full-node/sov-rollup-apis/Cargo.toml +++ b/crates/full-node/sov-rollup-apis/Cargo.toml @@ -17,17 +17,10 @@ workspace = true [dependencies] axum = { workspace = true } borsh = { workspace = true } -derive_more = { workspace = true } -derivative = { workspace = true } thiserror = { workspace = true } hex = { workspace = true } serde = { workspace = true } -utoipa-swagger-ui = { workspace = true, features = ["axum"] } -openapiv3 = { workspace = true } serde_json = { workspace = true } -serde_with = { workspace = true, features = ["base64"] } -serde_yaml = { workspace = true } -base64 = { workspace = true } tracing = { workspace = true } # Sovereign dependencies diff --git a/crates/full-node/sov-sequencer/Cargo.toml b/crates/full-node/sov-sequencer/Cargo.toml index 90933d922d..d8cf614869 100644 --- a/crates/full-node/sov-sequencer/Cargo.toml +++ b/crates/full-node/sov-sequencer/Cargo.toml @@ -21,19 +21,16 @@ axum = { workspace = true, features = ["http1", "http2", "ws", "json", "query"] base64 = { workspace = true } bincode = { workspace = true } borsh = { workspace = true } -dashmap = { workspace = true } derivative = { workspace = true } derive_more = { workspace = true } futures = { workspace = true } hex = { workspace = true } -jsonrpsee = { workspace = true, default-features = false, features = ["client", "server"] } mini-moka = "0.10" sov-full-node-configs = { workspace = true } rockbound = { workspace = true } schemars = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -serde_yaml = { workspace = true } serde_with = { workspace = true, features = ["base64"] } sov-blob-sender = { workspace = true } sov-blob-storage = { workspace = true, features = ["native"] } @@ -53,8 +50,6 @@ tracing = { workspace = true } tokio = { workspace = true, features = ["sync", "rt"] } tokio-stream = { workspace = true } uuid = { workspace = true, features = ["std", "v7", "serde",] } -utoipa-swagger-ui = { workspace = true, features = ["axum"] } -openapiv3 = { workspace = true } backon = { workspace = true } flume = { workspace = true } time = "0.3" @@ -91,3 +86,6 @@ default = [] test-utils = [ "sov-modules-api/test-utils" ] + +[package.metadata.cargo-machete] +ignored = ["bincode"] diff --git a/crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program/Cargo.toml b/crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program/Cargo.toml index dc97167ff2..a8ea43a93f 100644 --- a/crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program/Cargo.toml +++ b/crates/module-system/module-implementations/extern/hyperlane-solana-register/solana/program/Cargo.toml @@ -11,21 +11,17 @@ publish = false [features] default = ["debug-logs"] no-entrypoint = [] -test-client = ["dep:solana-sdk", "dep:spl-noop"] +test-client = ["dep:spl-noop"] test-utils = [] debug-logs = [] [dependencies] -solana-sdk = { workspace = true, optional = true } borsh = { workspace = true } solana-program = { workspace = true } spl-noop = { workspace = true, features = ["no-entrypoint"], optional = true } hyperlane-sealevel-mailbox = { workspace = true, features = ["no-entrypoint"] } -hyperlane-sealevel-igp = { workspace = true, features = ["no-entrypoint"] } -account-utils = { workspace = true } hyperlane-core = { workspace = true } -hyperlane-sealevel-connection-client = { workspace = true } [lib] crate-type = ["cdylib", "lib"] diff --git a/crates/module-system/module-implementations/module-template/Cargo.toml b/crates/module-system/module-implementations/module-template/Cargo.toml index 3b90de922b..5d375ca7e1 100644 --- a/crates/module-system/module-implementations/module-template/Cargo.toml +++ b/crates/module-system/module-implementations/module-template/Cargo.toml @@ -50,3 +50,6 @@ native = [ "sov-modules-api/native", "sov-state/native", ] + +[package.metadata.cargo-machete] +ignored = ["proptest"] diff --git a/crates/module-system/module-implementations/sb-blacklist/Cargo.toml b/crates/module-system/module-implementations/sb-blacklist/Cargo.toml index 24c3550f42..f2590d9295 100644 --- a/crates/module-system/module-implementations/sb-blacklist/Cargo.toml +++ b/crates/module-system/module-implementations/sb-blacklist/Cargo.toml @@ -9,18 +9,20 @@ readme = "README.md" publish = false resolver = "2" +[package.metadata.cargo-machete] +ignored = ["borsh", "serde"] + [dependencies] anyhow = { workspace = true } borsh = { workspace = true, features = ["rc"] } serde = { workspace = true } sov-modules-api = { workspace = true } -sov-state = { workspace = true } schemars = { workspace = true } thiserror = "2.0.17" [dev-dependencies] -sov-address = { workspace = true, features = ["evm"] } +sov-address = { workspace = true, features = ["native", "evm"] } sov-test-utils = { workspace = true } strum = { workspace = true } @@ -28,12 +30,10 @@ strum = { workspace = true } default = [] arbitrary = [ "sov-modules-api/arbitrary", - "sov-state/arbitrary", "sov-test-utils/arbitrary", "sov-address/arbitrary" ] native = [ "sov-modules-api/native", - "sov-state/native", "sov-address/native", ] diff --git a/crates/module-system/module-implementations/sb-session-registry/Cargo.toml b/crates/module-system/module-implementations/sb-session-registry/Cargo.toml index f8bd4dcce9..21d923ec25 100644 --- a/crates/module-system/module-implementations/sb-session-registry/Cargo.toml +++ b/crates/module-system/module-implementations/sb-session-registry/Cargo.toml @@ -9,20 +9,21 @@ readme = "README.md" publish = false resolver = "2" +[package.metadata.cargo-machete] +ignored = ["borsh", "serde"] + [dependencies] anyhow = { workspace = true } borsh = { workspace = true, features = ["rc"] } serde = { workspace = true } sov-chain-state = { workspace = true } -sov-bank = { workspace = true } sov-modules-api = { workspace = true } -sov-state = { workspace = true } schemars = { workspace = true } thiserror = "2.0.17" [dev-dependencies] -sov-address = { workspace = true, features = ["evm"] } +sov-address = { workspace = true, features = ["native", "evm"] } sov-test-utils = { workspace = true } schemars = { workspace = true } strum = { workspace = true } @@ -31,15 +32,11 @@ strum = { workspace = true } default = [] arbitrary = [ "sov-modules-api/arbitrary", - "sov-state/arbitrary", "sov-test-utils/arbitrary", "sov-address/arbitrary", - "sov-bank/arbitrary" ] native = [ - "sov-bank/native", "sov-modules-api/native", - "sov-state/native", "sov-address/native", "sov-chain-state/native" ] diff --git a/crates/module-system/module-implementations/sov-attester-incentives/Cargo.toml b/crates/module-system/module-implementations/sov-attester-incentives/Cargo.toml index 849b64d0a6..09b9140da3 100644 --- a/crates/module-system/module-implementations/sov-attester-incentives/Cargo.toml +++ b/crates/module-system/module-implementations/sov-attester-incentives/Cargo.toml @@ -14,6 +14,9 @@ publish = false [lints] workspace = true +[package.metadata.cargo-machete] +ignored = ["tokio"] + [dev-dependencies] strum = { workspace = true } sov-attester-incentives = { workspace = true, features = ["native"] } @@ -34,7 +37,6 @@ derivative = { workspace = true } tracing = { workspace = true } schemars = { workspace = true } -sov-address = { workspace = true } sov-bank = { workspace = true } sov-chain-state = { workspace = true } sov-modules-api = { workspace = true } @@ -46,7 +48,6 @@ tokio = { workspace = true, optional = true } default = [] native = [ "sov-attester-incentives/native", - "sov-address/native", "sov-bank/native", "sov-chain-state/native", "sov-mock-da/native", diff --git a/crates/module-system/module-implementations/sov-bank/Cargo.toml b/crates/module-system/module-implementations/sov-bank/Cargo.toml index 8d15e19c21..c77fa3bb6e 100644 --- a/crates/module-system/module-implementations/sov-bank/Cargo.toml +++ b/crates/module-system/module-implementations/sov-bank/Cargo.toml @@ -18,7 +18,6 @@ anyhow = { workspace = true } borsh = { workspace = true, features = ["rc"] } derive_more = { workspace = true, features = ["display"] } proptest = { workspace = true, optional = true } -proptest-derive = { workspace = true, optional = true } schemars = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } @@ -40,9 +39,8 @@ sov-test-utils = { workspace = true } [features] default = [] arbitrary = [ - "sov-modules-api/arbitrary", "dep:proptest", - "dep:proptest-derive", + "sov-modules-api/arbitrary", "sov-bank/arbitrary", "sov-state/arbitrary", "sov-test-utils/arbitrary", @@ -58,3 +56,6 @@ native = [ ] cli = ["native"] test-utils = [] + +[package.metadata.cargo-machete] +ignored = ["proptest"] diff --git a/crates/module-system/module-implementations/sov-blob-storage/Cargo.toml b/crates/module-system/module-implementations/sov-blob-storage/Cargo.toml index f36b67122a..e011876514 100644 --- a/crates/module-system/module-implementations/sov-blob-storage/Cargo.toml +++ b/crates/module-system/module-implementations/sov-blob-storage/Cargo.toml @@ -19,7 +19,6 @@ borsh = { workspace = true } derive_more = { workspace = true } tracing = { workspace = true } hex = { workspace = true } -schemars = { workspace = true } serde = { workspace = true } sov-modules-api = { workspace = true } @@ -31,6 +30,7 @@ sov-chain-state = { workspace = true } [dev-dependencies] +schemars = { workspace = true } tempfile = { workspace = true } strum = { workspace = true } sov-blob-storage = { path = ".", features = ["native", "test-utils"] } @@ -58,3 +58,6 @@ native = [ "sov-rollup-interface/native", "sov-value-setter/native", ] + +[package.metadata.cargo-machete] +ignored = ["schemars"] diff --git a/crates/module-system/module-implementations/sov-evm/Cargo.toml b/crates/module-system/module-implementations/sov-evm/Cargo.toml index 28e4482679..48e1f7617f 100644 --- a/crates/module-system/module-implementations/sov-evm/Cargo.toml +++ b/crates/module-system/module-implementations/sov-evm/Cargo.toml @@ -70,8 +70,6 @@ revm = { workspace = true, features = [ revm-database-interface = { workspace = true } revm-inspectors = { workspace = true, default-features = false, optional = true } sov-rpc-eth-types = { workspace = true, optional = true } -rand = { workspace = true, optional = true } -proptest = { workspace = true, optional = true } [dev-dependencies] alloy-primitives = { workspace = true, features = ["getrandom"] } @@ -96,8 +94,6 @@ sov-modules-api = { workspace = true, features = ["test-utils"] } [features] arbitrary = [ "dep:arbitrary", - "dep:rand", - "dep:proptest", "alloy-eips/arbitrary", "alloy-primitives/arbitrary", "alloy-rpc-types?/arbitrary", @@ -111,14 +107,12 @@ arbitrary = [ "sov-test-utils/arbitrary", "sov-bank/arbitrary", "sov-uniqueness/arbitrary", - "alloy-consensus/arbitrary", - "sov-evm-test-utils/arbitrary" + "alloy-consensus/arbitrary" ] native = [ "alloy-rpc-types", "alloy-rpc-types-trace", "jsonrpsee", - "dep:rand", "revm-inspectors", "alloy-primitives/std", "dep:sov-rpc-eth-types", diff --git a/crates/module-system/module-implementations/sov-operator-incentives/Cargo.toml b/crates/module-system/module-implementations/sov-operator-incentives/Cargo.toml index 2f11f9cdf1..f888080643 100644 --- a/crates/module-system/module-implementations/sov-operator-incentives/Cargo.toml +++ b/crates/module-system/module-implementations/sov-operator-incentives/Cargo.toml @@ -16,16 +16,11 @@ workspace = true [dependencies] anyhow = { workspace = true } -borsh = { workspace = true, features = ["rc"] } +borsh = { workspace = true } schemars = { workspace = true } serde = { workspace = true } -thiserror = { workspace = true } -tracing = { workspace = true } -derive_more = { workspace = true } strum = { workspace = true } sov-modules-api = { workspace = true } -sov-rollup-interface = { workspace = true } -sov-state = { workspace = true } [dev-dependencies] sov-test-utils = { workspace = true } @@ -34,6 +29,7 @@ sov-test-utils = { workspace = true } default = [] native = [ "sov-modules-api/native", - "sov-rollup-interface/native", - "sov-state/native", ] + +[package.metadata.cargo-machete] +ignored = ["borsh"] diff --git a/crates/module-system/module-implementations/sov-paymaster/Cargo.toml b/crates/module-system/module-implementations/sov-paymaster/Cargo.toml index ead4950e2b..2265ad2762 100644 --- a/crates/module-system/module-implementations/sov-paymaster/Cargo.toml +++ b/crates/module-system/module-implementations/sov-paymaster/Cargo.toml @@ -15,13 +15,9 @@ workspace = true [dependencies] anyhow = { workspace = true } -arbitrary = { workspace = true, optional = true } borsh = { workspace = true, features = ["rc"] } -bcs = { workspace = true } derivative = { workspace = true } derive_more = { workspace = true } -proptest = { workspace = true, optional = true } -proptest-derive = { workspace = true, optional = true } schemars = { workspace = true } serde = { workspace = true } tracing = { workspace = true } @@ -29,7 +25,6 @@ tracing = { workspace = true } sov-bank = { workspace = true } sov-state = { workspace = true } sov-modules-api = { workspace = true } -sov-universal-wallet = { workspace = true } [dev-dependencies] tempfile = { workspace = true } @@ -49,9 +44,6 @@ native = [ ] default = [] arbitrary = [ - "dep:arbitrary", - "dep:proptest", - "dep:proptest-derive", "sov-paymaster/arbitrary", "sov-modules-api/arbitrary", "sov-state/arbitrary", diff --git a/crates/module-system/module-implementations/sov-revenue-share/Cargo.toml b/crates/module-system/module-implementations/sov-revenue-share/Cargo.toml index 6e1d6bf0a5..f58ad1e441 100644 --- a/crates/module-system/module-implementations/sov-revenue-share/Cargo.toml +++ b/crates/module-system/module-implementations/sov-revenue-share/Cargo.toml @@ -13,6 +13,9 @@ readme = "README.md" [lints] workspace = true +[package.metadata.cargo-machete] +ignored = ["borsh", "serde"] + [dependencies] anyhow = { workspace = true } borsh = { workspace = true, features = ["rc"] } @@ -36,7 +39,7 @@ serde_json = { workspace = true } sov-mock-da = { workspace = true } sov-mock-zkvm = { workspace = true } sha2 = { workspace = true } -sov-address = { workspace = true, features = ["evm"] } +sov-address = { workspace = true, features = ["native", "evm"] } [features] default = [] diff --git a/crates/module-system/module-implementations/sov-sequencer-registry/Cargo.toml b/crates/module-system/module-implementations/sov-sequencer-registry/Cargo.toml index 2864e1734a..4dab1f9b6c 100644 --- a/crates/module-system/module-implementations/sov-sequencer-registry/Cargo.toml +++ b/crates/module-system/module-implementations/sov-sequencer-registry/Cargo.toml @@ -59,3 +59,6 @@ native = [ "sov-value-setter/native", "sov-chain-state/native", ] + +[package.metadata.cargo-machete] +ignored = ["proptest"] diff --git a/crates/module-system/module-implementations/sov-synthetic-load/Cargo.toml b/crates/module-system/module-implementations/sov-synthetic-load/Cargo.toml index 7805f98c2c..1850cf093a 100644 --- a/crates/module-system/module-implementations/sov-synthetic-load/Cargo.toml +++ b/crates/module-system/module-implementations/sov-synthetic-load/Cargo.toml @@ -14,21 +14,21 @@ publish = false [lints] workspace = true +[package.metadata.cargo-machete] +ignored = ["borsh", "serde"] + [dev-dependencies] sov-address = { workspace = true } strum = { workspace = true } sov-modules-api = { workspace = true, features = ["native"] } -sov-state = { workspace = true, features = ["native"] } [dependencies] anyhow = { workspace = true } +borsh = { workspace = true } strum = { workspace = true } sov-modules-api = { workspace = true } -sov-rollup-interface = { workspace = true } schemars = { workspace = true } serde = { workspace = true } -borsh = { workspace = true, features = ["rc"] } -sov-state = { workspace = true } rand = { workspace = true } rand_chacha = { workspace = true } sov-metrics = { workspace = true } @@ -37,8 +37,6 @@ sov-metrics = { workspace = true } default = [] native = [ "sov-modules-api/native", - "sov-rollup-interface/native", - "sov-state/native", "sov-address/native", "sov-metrics/native" ] diff --git a/crates/module-system/module-implementations/sov-test-modules/Cargo.toml b/crates/module-system/module-implementations/sov-test-modules/Cargo.toml index e45a85563b..1f7d013894 100644 --- a/crates/module-system/module-implementations/sov-test-modules/Cargo.toml +++ b/crates/module-system/module-implementations/sov-test-modules/Cargo.toml @@ -33,7 +33,6 @@ strum = { workspace = true } sov-modules-api = { workspace = true } schemars = { workspace = true } serde = { workspace = true } -thiserror = { workspace = true } borsh = { workspace = true, features = ["rc"] } sov-state = { workspace = true } hex = { workspace = true } diff --git a/crates/module-system/module-implementations/sov-uniqueness/Cargo.toml b/crates/module-system/module-implementations/sov-uniqueness/Cargo.toml index a896e73731..cf2c293f8f 100644 --- a/crates/module-system/module-implementations/sov-uniqueness/Cargo.toml +++ b/crates/module-system/module-implementations/sov-uniqueness/Cargo.toml @@ -13,8 +13,6 @@ readme = "README.md" [dependencies] anyhow = { workspace = true } borsh = { workspace = true, features = ["rc"] } -schemars = { workspace = true } -serde = { workspace = true } sov-modules-api = { workspace = true } sov-state = { workspace = true } @@ -23,6 +21,8 @@ sov-state = { workspace = true } alloy-consensus = { workspace = true, features = ["secp256k1"] } alloy-primitives = { workspace = true } alloy-eips = { workspace = true } +schemars = { workspace = true } +serde = { workspace = true } sov-modules-stf-blueprint = { workspace = true } sov-uniqueness = { path = ".", features = ["native"] } tempfile = { workspace = true } @@ -32,7 +32,7 @@ sov-test-utils = { workspace = true } sov-evm-test-utils = { workspace = true } sov-value-setter = { workspace = true } sov-evm = { workspace = true, features = ["native"] } -sov-address = { workspace = true, features = ["evm"] } +sov-address = { workspace = true, features = ["native", "evm"] } sov-rollup-interface = { workspace = true } sov-kernels = { workspace = true } secp256k1 = { workspace = true, features = ["rand"] } @@ -51,7 +51,6 @@ arbitrary = [ "alloy-consensus/arbitrary", "alloy-eips/arbitrary", "alloy-primitives/arbitrary", - "sov-evm-test-utils/arbitrary", ] native = [ "sov-modules-api/native", @@ -64,3 +63,6 @@ native = [ "sov-kernels/native", "sov-rollup-interface/native", ] + +[package.metadata.cargo-machete] +ignored = ["schemars", "serde"] diff --git a/crates/module-system/module-implementations/sov-value-setter/Cargo.toml b/crates/module-system/module-implementations/sov-value-setter/Cargo.toml index bc4e63501a..4b8c1beba9 100644 --- a/crates/module-system/module-implementations/sov-value-setter/Cargo.toml +++ b/crates/module-system/module-implementations/sov-value-setter/Cargo.toml @@ -27,7 +27,6 @@ sov-state = { workspace = true, features = ["native"] } anyhow = { workspace = true } strum = { workspace = true } sov-modules-api = { workspace = true } -sov-rollup-interface = { workspace = true } schemars = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } @@ -39,7 +38,6 @@ sov-state = { workspace = true } default = [] native = [ "sov-modules-api/native", - "sov-rollup-interface/native", "sov-value-setter/native", "sov-state/native", "sov-address/native" diff --git a/crates/module-system/sov-eip712-auth/Cargo.toml b/crates/module-system/sov-eip712-auth/Cargo.toml index 0e0114ea8d..b55cb4c23b 100644 --- a/crates/module-system/sov-eip712-auth/Cargo.toml +++ b/crates/module-system/sov-eip712-auth/Cargo.toml @@ -14,17 +14,17 @@ publish = false [lints] workspace = true +[package.metadata.cargo-machete] +ignored = ["sov-universal-wallet"] + [dependencies] sov-address = { workspace = true, features = ["evm"] } # to implement the compatibility marker on EvmCryptoSpec sov-modules-api = { workspace = true } +sov-universal-wallet = { workspace = true, features = ["eip712"] } # enables Schema::eip712_signing_digest on the re-export used below sov-state = { workspace = true } -sov-universal-wallet = { workspace = true, features = ["eip712"] } anyhow = { workspace = true } borsh = { workspace = true } -derive_more = { workspace = true, default-features = true, features = [ "debug" ] } jsonrpsee = { workspace = true, features = ["jsonrpsee-types"] } -serde = { workspace = true } -tracing = { workspace = true } # For the stub RPC for chains not using EVM. Not needed for those using EVM, # but in that case the dependency is almost certainly already present: serde_json = { workspace = true } diff --git a/crates/module-system/sov-kernels/Cargo.toml b/crates/module-system/sov-kernels/Cargo.toml index 8386c27270..0ada6b2746 100644 --- a/crates/module-system/sov-kernels/Cargo.toml +++ b/crates/module-system/sov-kernels/Cargo.toml @@ -20,8 +20,6 @@ sov-blob-storage = { workspace = true } sov-chain-state = { workspace = true } sov-rollup-interface = { workspace = true } -serde_json = { workspace = true, optional = true } - [features] default = [] native = [ @@ -29,7 +27,6 @@ native = [ "sov-chain-state/native", "sov-modules-api/native", "sov-state/native", - "dep:serde_json", "sov-rollup-interface/native" ] test-utils = [] diff --git a/crates/module-system/sov-modules-macros/Cargo.toml b/crates/module-system/sov-modules-macros/Cargo.toml index 165efa3a46..fb69bd8dfb 100644 --- a/crates/module-system/sov-modules-macros/Cargo.toml +++ b/crates/module-system/sov-modules-macros/Cargo.toml @@ -44,7 +44,7 @@ sov-modules-macros = { path = ".", features = ["native"] } sov-modules-api = { workspace = true, features = ["native", "test-utils"] } sov-chain-state = { workspace = true, features = ["native"] } borsh = { workspace = true } -jsonrpsee = { workspace = true, default-features = false, features = ["macros", "server-core"] } +jsonrpsee = { workspace = true, default-features = false, features = ["client-core", "macros", "server-core"] } schemars = { workspace = true } serde = { workspace = true } strum = { workspace = true } diff --git a/crates/module-system/sov-modules-rollup-blueprint/Cargo.toml b/crates/module-system/sov-modules-rollup-blueprint/Cargo.toml index f740581866..25cced6472 100644 --- a/crates/module-system/sov-modules-rollup-blueprint/Cargo.toml +++ b/crates/module-system/sov-modules-rollup-blueprint/Cargo.toml @@ -15,7 +15,6 @@ workspace = true [dependencies] console-subscriber = { workspace = true, optional = true } -derivative = { workspace = true, optional = true } sov-rollup-interface = { workspace = true, features = ["native"] } sov-stf-runner = { workspace = true, optional = true } sov-state = { workspace = true } @@ -55,7 +54,6 @@ native = [ "async-trait", "futures", "console-subscriber", - "derivative", "serde_json", "sov-cli", "sov-db", diff --git a/crates/module-system/sov-modules-stf-blueprint/Cargo.toml b/crates/module-system/sov-modules-stf-blueprint/Cargo.toml index e7d662b27a..449afa4640 100644 --- a/crates/module-system/sov-modules-stf-blueprint/Cargo.toml +++ b/crates/module-system/sov-modules-stf-blueprint/Cargo.toml @@ -15,14 +15,10 @@ workspace = true [dependencies] anyhow = { workspace = true } -axum = { workspace = true, optional = true } thiserror = { workspace = true } borsh = { workspace = true } -jsonrpsee = { workspace = true, features = ["server"], optional = true } serde = { workspace = true, features = ["derive"] } -schemars = { workspace = true } tracing = { workspace = true } -tokio = { workspace = true, features = ["sync"], optional = true } hex = { workspace = true } # WARNING: The `stf-blueprint` crate should NOT depend on any Sovereign module. @@ -38,12 +34,9 @@ bench = [ "sov-state/bench", ] native = [ - "axum", - "jsonrpsee", "sov-modules-api/native", "sov-rollup-interface/native", "sov-state/native", - "tokio", "sov-metrics/native", ] test-utils = [] diff --git a/crates/module-system/sov-solana-offchain-auth/Cargo.toml b/crates/module-system/sov-solana-offchain-auth/Cargo.toml index 393fff17ff..fbd2d6d0c9 100644 --- a/crates/module-system/sov-solana-offchain-auth/Cargo.toml +++ b/crates/module-system/sov-solana-offchain-auth/Cargo.toml @@ -17,7 +17,6 @@ anyhow = { workspace = true } borsh = { workspace = true } tracing = { workspace = true } hex = { workspace = true } -schemars = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } serde_with = { workspace = true, features = ["hex"] } @@ -29,6 +28,7 @@ sov-state = { workspace = true } async-trait = { workspace = true } axum = { workspace = true } base64 = { workspace = true } +schemars = { workspace = true } tokio-stream = { workspace = true } sov-solana-offchain-auth = { path = ".", features = ["native"] } tempfile = { workspace = true } @@ -71,3 +71,6 @@ native = [ "sov-state/native", "sov-value-setter/native" ] + +[package.metadata.cargo-machete] +ignored = ["schemars"] diff --git a/crates/module-system/sov-state/Cargo.toml b/crates/module-system/sov-state/Cargo.toml index 442833924e..cf0781da70 100644 --- a/crates/module-system/sov-state/Cargo.toml +++ b/crates/module-system/sov-state/Cargo.toml @@ -20,7 +20,6 @@ borsh = { workspace = true, features = ["rc", "bytes"] } bcs = { workspace = true } derivative = { workspace = true } proptest = { workspace = true, optional = true } -proptest-derive = { workspace = true, optional = true } serde = { workspace = true, features = ["rc"] } derive_more = { workspace = true } serde-big-array = "0.5.1" @@ -34,7 +33,6 @@ nomt = { workspace = true, optional = true } sov-metrics = { workspace = true } sov-modules-macros = { workspace = true, optional = true } tracing = { workspace = true, optional = true } -serde_with = { workspace = true } sov-db-types = { workspace = true } [dev-dependencies] @@ -50,7 +48,6 @@ tempfile = { workspace = true } arbitrary = [ "dep:arbitrary", "dep:proptest", - "dep:proptest-derive", "sov-db?/arbitrary", "sov-rollup-interface/arbitrary", "sov-modules-macros?/arbitrary", diff --git a/crates/universal-wallet/fuzz/Cargo.toml b/crates/universal-wallet/fuzz/Cargo.toml index f79fd3c3fd..d96c6874fd 100644 --- a/crates/universal-wallet/fuzz/Cargo.toml +++ b/crates/universal-wallet/fuzz/Cargo.toml @@ -20,7 +20,6 @@ serde = { workspace = true, features = ["alloc", "derive"] } serde_json = { workspace = true } sov-universal-wallet = { workspace = true, features = ["serde"] } sov-modules-api = { workspace = true, features = ["arbitrary"] } -sov-rollup-interface = { workspace = true, features = ["arbitrary"] } [lib] name = "universal_wallet_fuzz" diff --git a/crates/universal-wallet/macro-helpers/Cargo.toml b/crates/universal-wallet/macro-helpers/Cargo.toml index bb211ec61f..7f31a3189b 100644 --- a/crates/universal-wallet/macro-helpers/Cargo.toml +++ b/crates/universal-wallet/macro-helpers/Cargo.toml @@ -10,12 +10,10 @@ repository = { workspace = true } [dependencies] syn = { features = ["parsing", "derive"], workspace = true } -syn_derive = "0.2.0" proc-macro2 = { workspace = true } quote = { workspace = true } convert_case = { workspace = true } darling = { workspace = true } -hex = { workspace = true } borsh = { workspace = true } bs58 = { workspace = true } bech32 = { workspace = true } diff --git a/crates/universal-wallet/macros/Cargo.toml b/crates/universal-wallet/macros/Cargo.toml index 73d2b12a9a..faf541e3a8 100644 --- a/crates/universal-wallet/macros/Cargo.toml +++ b/crates/universal-wallet/macros/Cargo.toml @@ -13,5 +13,4 @@ proc-macro = true [dependencies] syn = { workspace = true } -proc-macro2 = { workspace = true } sov-universal-wallet-macro-helpers = { workspace = true } diff --git a/crates/utils/sov-build/Cargo.toml b/crates/utils/sov-build/Cargo.toml index 412de29f08..7978664afd 100644 --- a/crates/utils/sov-build/Cargo.toml +++ b/crates/utils/sov-build/Cargo.toml @@ -12,10 +12,6 @@ repository.workspace = true [dependencies] anyhow = { workspace = true } borsh = { workspace = true } -serde = { workspace = true, default-features = false, features = [ - "alloc", - "derive", -] } serde_json = { workspace = true, default-features = false, features = [ "alloc", ] } diff --git a/crates/utils/sov-eth-client/Cargo.toml b/crates/utils/sov-eth-client/Cargo.toml index 12349c8bfd..2b420951c6 100644 --- a/crates/utils/sov-eth-client/Cargo.toml +++ b/crates/utils/sov-eth-client/Cargo.toml @@ -19,7 +19,6 @@ alloy-rpc-types = { workspace = true } alloy-provider = { workspace = true } alloy-pubsub = { workspace = true } alloy-signer = { workspace = true } -reqwest = { workspace = true } async-trait = { workspace = true } derive_more = { workspace = true } futures = { workspace = true } diff --git a/crates/utils/sov-evm-test-utils/Cargo.toml b/crates/utils/sov-evm-test-utils/Cargo.toml index b6a87fa942..f932e79c1e 100644 --- a/crates/utils/sov-evm-test-utils/Cargo.toml +++ b/crates/utils/sov-evm-test-utils/Cargo.toml @@ -18,23 +18,10 @@ alloy-sol-types = { workspace = true, features = ["json"] } alloy-primitives = { workspace = true } alloy-rpc-types-eth = { workspace = true } alloy = { workspace = true } - -arbitrary = { workspace = true, optional = true } -proptest = { workspace = true, optional = true } - alloy-dyn-abi = { workspace = true, features = ["eip712", "std"] } - [lints] workspace = true -[features] -arbitrary = [ - "dep:arbitrary", - "dep:proptest", - "alloy-primitives/arbitrary", - "alloy-rpc-types-eth/arbitrary", - "alloy-sol-types/arbitrary", - "alloy/arbitrary", - "alloy-dyn-abi/arbitrary" -] +[package.metadata.cargo-machete] +ignored = ["alloy-contract", "alloy-dyn-abi"] diff --git a/crates/utils/sov-rest-utils/Cargo.toml b/crates/utils/sov-rest-utils/Cargo.toml index 6a1461f510..cacfd4a512 100644 --- a/crates/utils/sov-rest-utils/Cargo.toml +++ b/crates/utils/sov-rest-utils/Cargo.toml @@ -9,6 +9,9 @@ license = { workspace = true } repository = { workspace = true } publish = true +[package.metadata.cargo-machete] +ignored = ["proptest"] + [dependencies] anyhow = { workspace = true } client-ip = "0.1.1" diff --git a/crates/utils/sov-rpc-eth-types/Cargo.toml b/crates/utils/sov-rpc-eth-types/Cargo.toml index 9ec8ddb1fc..aa87104ffe 100644 --- a/crates/utils/sov-rpc-eth-types/Cargo.toml +++ b/crates/utils/sov-rpc-eth-types/Cargo.toml @@ -17,7 +17,6 @@ sov-modules-api = { workspace = true, features = ["native"] } thiserror = { workspace = true } revm = { workspace = true } alloy-eips = { workspace = true } -alloy-evm = { workspace = true } alloy-sol-types = { workspace = true } alloy-transport = { workspace = true } reth-primitives-traits = { workspace = true } diff --git a/crates/utils/sov-soak-testing-lib/Cargo.toml b/crates/utils/sov-soak-testing-lib/Cargo.toml index 84d6e0b09d..7733e6e6e8 100644 --- a/crates/utils/sov-soak-testing-lib/Cargo.toml +++ b/crates/utils/sov-soak-testing-lib/Cargo.toml @@ -10,13 +10,6 @@ publish = false [dependencies] tokio = { workspace = true, default-features = false } -borsh = { workspace = true, features = ["derive"] } - -schemars = { workspace = true, features = ["derive"] } -serde = { workspace = true, default-features = false, features = [ - "alloc", - "derive", -] } anyhow = { workspace = true } rand = { workspace = true } clap = { workspace = true } @@ -26,7 +19,6 @@ sov-transaction-generator = { workspace = true } sov-modules-api = { workspace = true } sov-test-utils = { workspace = true, features = ["arbitrary"] } # modules -sov-value-setter = { workspace = true } sov-bank = { workspace = true, features = ["native", "arbitrary"] } sov-synthetic-load = { workspace = true } sov-test-state-consistency = { workspace = true } diff --git a/crates/utils/sov-test-utils/Cargo.toml b/crates/utils/sov-test-utils/Cargo.toml index 2a5aeffc35..69ad884a60 100644 --- a/crates/utils/sov-test-utils/Cargo.toml +++ b/crates/utils/sov-test-utils/Cargo.toml @@ -22,6 +22,7 @@ borsh = { workspace = true } derivative = { workspace = true } derive_more = { workspace = true } jsonschema = { workspace = true } +strum = { workspace = true } tokio = { workspace = true, features = ["sync"] } serde = { workspace = true } schemars = { workspace = true } @@ -33,7 +34,6 @@ num_cpus = { workspace = true } tokio-stream = { workspace = true } sha2 = { workspace = true } -sov-address = { workspace = true } sov-cli = { workspace = true } sov-rollup-interface = { workspace = true } sov-rollup-full-node-interface = { workspace = true } @@ -64,7 +64,6 @@ sov-db = { workspace = true, features = ["test-utils"] } sov-state = { workspace = true, features = ["native"] } sov-mock-da = { workspace = true, features = ["native"] } sov-mock-zkvm = { workspace = true, features = ["native"] } -strum = { workspace = true } tempfile = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } rockbound = { workspace = true } @@ -79,10 +78,12 @@ arbitrary = [ "sov-sequencer-registry/arbitrary", "sov-state/arbitrary", "rockbound/arbitrary", - "sov-address/arbitrary", "sov-accounts/arbitrary", "sov-uniqueness/arbitrary", "sov-mock-da/arbitrary", "sov-bank/arbitrary", "sov-paymaster/arbitrary", ] + +[package.metadata.cargo-machete] +ignored = ["strum"] diff --git a/crates/utils/transaction-generator/Cargo.toml b/crates/utils/transaction-generator/Cargo.toml index e9a6b5d263..a8f9fca4cd 100644 --- a/crates/utils/transaction-generator/Cargo.toml +++ b/crates/utils/transaction-generator/Cargo.toml @@ -22,7 +22,6 @@ sov-state = { workspace = true, features = ["native"] } sov-mock-da = { workspace = true, features = ["native", "arbitrary"] } async-trait = { workspace = true } -schemars = { workspace = true } serde = { workspace = true } backon = { workspace = true } anyhow = { workspace = true } @@ -59,7 +58,11 @@ sov-test-utils = { workspace = true, features = ["arbitrary"] } futures = { workspace = true } borsh = { workspace = true } progenitor-client = { version = "0.8" } +schemars = { workspace = true } serde = { workspace = true } [lints] workspace = true + +[package.metadata.cargo-machete] +ignored = ["schemars"] diff --git a/crates/utils/workspace-hack/Cargo.toml b/crates/utils/workspace-hack/Cargo.toml index 28932152df..a69643ec33 100644 --- a/crates/utils/workspace-hack/Cargo.toml +++ b/crates/utils/workspace-hack/Cargo.toml @@ -8,6 +8,16 @@ homepage.workspace = true publish.workspace = true repository.workspace = true +[package.metadata.cargo-machete] +ignored = [ + "ethereum-types", + "sov-accounts", + "sov-evm", + "sov-mock-da", + "sov-mock-zkvm", + "sov-sequencer-registry", +] + [dependencies] sov-mock-zkvm = { workspace = true, features = ["arbitrary", "native"] } sov-mock-da = { workspace = true, features = ["arbitrary", "native"] } diff --git a/crates/web3/Cargo.toml b/crates/web3/Cargo.toml index 4fbae6532e..1aba8ef5de 100644 --- a/crates/web3/Cargo.toml +++ b/crates/web3/Cargo.toml @@ -17,8 +17,6 @@ serde_with = { workspace = true, features = ["hex"] } serde_json = { workspace = true, default-features = false, features = [ "alloc", ] } -borsh = { workspace = true, features = ["rc"] } -hex = { workspace = true } thiserror = { workspace = true } sov-modules-api = { workspace = true, features = ["native"], optional = true } sov-universal-wallet = { workspace = true, features = ["serde"] } diff --git a/examples/demo-rollup/Cargo.toml b/examples/demo-rollup/Cargo.toml index 8e1313b802..b508ba67b0 100644 --- a/examples/demo-rollup/Cargo.toml +++ b/examples/demo-rollup/Cargo.toml @@ -20,7 +20,6 @@ sov-mock-da = { workspace = true, features = ["native"] } sov-rollup-interface = { workspace = true, features = ["native"] } sov-rollup-full-node-interface = { workspace = true } sov-stf-runner = { workspace = true } -sov-metrics = { workspace = true, features = ["native"] } # Sovereign crates sov-bank = { workspace = true, features = ["native"] } @@ -54,7 +53,6 @@ borsh = { workspace = true, features = ["bytes", "derive"] } async-trait = { workspace = true } anyhow = { workspace = true } axum = { workspace = true } -schemars = { workspace = true } serde = { workspace = true, default-features = false, features = [ "alloc", "derive", @@ -71,7 +69,6 @@ tokio = { workspace = true, features = [ "macros", "tracing", ] } -tokio-stream = { workspace = true } tracing = { workspace = true } rockbound = { workspace = true, optional = true } clap = { workspace = true, features = ["derive"] } @@ -85,6 +82,7 @@ sov-zkvm-utils = { workspace = true } [dev-dependencies] sov-eth-client = { workspace = true } jsonrpsee = { workspace = true } +schemars = { workspace = true } sov-address = { workspace = true, features = ["native"] } sov-risc0-adapter = { workspace = true, features = ["native"] } sov-celestia-adapter = { workspace = true, features = ["native"] } @@ -136,6 +134,9 @@ reqwest = { workspace = true } sov-proxy-utils = { workspace = true } testcontainers = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["schemars"] + [build-dependencies] anyhow = { workspace = true } sov-zkvm-utils = { workspace = true } diff --git a/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.lock b/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.lock index f9ab0b86ae..54d7a47f4f 100644 --- a/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.lock +++ b/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.lock @@ -582,7 +582,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ - "borsh", "serde", ] @@ -652,12 +651,6 @@ dependencies = [ "match-lookup", ] -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - [[package]] name = "base64" version = "0.22.1" @@ -943,7 +936,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "394ae3bd14f0a3792c312fd0ffc1a1719fd3c8d28cf1f8016afd01cce6197001" dependencies = [ - "base64 0.22.1", + "base64", "bech32", "bitvec", "blockstore", @@ -1014,12 +1007,6 @@ dependencies = [ "thiserror 2.0.18", ] -[[package]] -name = "const-default" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b396d1f76d455557e1218ec8066ae14bba60b4b36ecd55577ba979f5db7ecaa" - [[package]] name = "const-hex" version = "1.17.0" @@ -1142,12 +1129,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" -[[package]] -name = "critical-section" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" - [[package]] name = "crossbeam-utils" version = "0.8.21" @@ -1305,13 +1286,11 @@ dependencies = [ "anyhow", "borsh", "demo-stf-declaration", - "schemars 0.8.22", "serde", "sov-accounts", "sov-address", "sov-attester-incentives", "sov-bank", - "sov-blob-storage", "sov-build", "sov-capabilities", "sov-chain-state", @@ -1325,14 +1304,12 @@ dependencies = [ "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", - "sov-revenue-share", "sov-rollup-interface", "sov-sequencer-registry", "sov-solana-offchain-auth", "sov-state", "sov-synthetic-load", "sov-test-modules", - "sov-uniqueness", "tracing", ] @@ -1349,20 +1326,16 @@ dependencies = [ "sov-attester-incentives", "sov-bank", "sov-blob-storage", - "sov-capabilities", "sov-chain-state", "sov-evm", "sov-hyperlane-integration", - "sov-kernels", "sov-modules-api", "sov-modules-stf-blueprint", "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", "sov-revenue-share", - "sov-rollup-interface", "sov-sequencer-registry", - "sov-state", "sov-synthetic-load", "sov-test-modules", "sov-uniqueness", @@ -1588,18 +1561,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "embedded-alloc" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f2de9133f68db0d4627ad69db767726c99ff8585272716708227008d3f1bddd" -dependencies = [ - "const-default", - "critical-section", - "linked_list_allocator", - "rlsf", -] - [[package]] name = "embedded-io" version = "0.4.0" @@ -2311,12 +2272,6 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" -[[package]] -name = "linked_list_allocator" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afa463f5405ee81cdb9cc2baf37e08ec7e4c8209442b5d72c04cfb2cd6e6286" - [[package]] name = "linux-raw-sys" version = "0.11.0" @@ -2933,27 +2888,6 @@ dependencies = [ "toml_edit 0.23.10+spec-1.0.0", ] -[[package]] -name = "proc-macro-error-attr2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "proc-macro-error2" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" -dependencies = [ - "proc-macro-error-attr2", - "proc-macro2", - "quote", -] - [[package]] name = "proc-macro2" version = "1.0.106" @@ -3611,8 +3545,6 @@ checksum = "cfaa10feba15828c788837ddde84b994393936d8f5715228627cfe8625122a40" dependencies = [ "bytemuck", "cfg-if", - "critical-section", - "embedded-alloc", "getrandom 0.2.17", "getrandom 0.3.4", "libm", @@ -3631,18 +3563,6 @@ dependencies = [ "rustc-hex", ] -[[package]] -name = "rlsf" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222fb240c3286247ecdee6fa5341e7cdad0ffdf8e7e401d9937f2d58482a20bf" -dependencies = [ - "cfg-if", - "const-default", - "libc", - "svgbobdoc", -] - [[package]] name = "rrs-lib" version = "0.1.0" @@ -4010,7 +3930,7 @@ version = "3.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa66c845eee442168b2c8134fec70ac50dc20e760769c8ba0ad1319ca1959b04" dependencies = [ - "base64 0.22.1", + "base64", "chrono", "hex", "indexmap 1.9.3", @@ -4167,7 +4087,6 @@ dependencies = [ "derivative", "schemars 0.8.22", "serde", - "sov-address", "sov-bank", "sov-chain-state", "sov-modules-api", @@ -4203,7 +4122,6 @@ dependencies = [ "borsh", "derive_more", "hex", - "schemars 0.8.22", "serde", "sov-bank", "sov-chain-state", @@ -4220,7 +4138,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "serde", "serde_json", "sov-modules-api", ] @@ -4305,12 +4222,8 @@ version = "0.3.0" dependencies = [ "demo-stf", "risc0-zkvm", - "risc0-zkvm-platform", "sha2 0.10.9", - "sov-address", "sov-celestia-adapter", - "sov-kernels", - "sov-metrics", "sov-mock-zkvm", "sov-modules-api", "sov-modules-stf-blueprint", @@ -4426,7 +4339,6 @@ dependencies = [ "anyhow", "bincode", "borsh", - "digest 0.10.7", "ed25519-dalek", "hex", "schemars 0.8.22", @@ -4494,7 +4406,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "sov-metrics", "sov-modules-api", @@ -4510,15 +4421,10 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more", "schemars 0.8.22", "serde", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum", - "thiserror 2.0.18", - "tracing", ] [[package]] @@ -4526,7 +4432,6 @@ name = "sov-paymaster" version = "0.3.0" dependencies = [ "anyhow", - "bcs", "borsh", "derivative", "derive_more", @@ -4535,7 +4440,6 @@ dependencies = [ "sov-bank", "sov-modules-api", "sov-state", - "sov-universal-wallet", "tracing", ] @@ -4579,7 +4483,6 @@ dependencies = [ "bincode", "borsh", "bytemuck", - "digest 0.10.7", "ed25519-dalek", "hex", "risc0-zkvm", @@ -4637,7 +4540,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "serde_json", "serde_with", @@ -4660,7 +4562,6 @@ dependencies = [ "nomt-core", "serde", "serde-big-array", - "serde_with", "sov-db-types", "sov-metrics", "sov-modules-macros", @@ -4680,8 +4581,6 @@ dependencies = [ "serde", "sov-metrics", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum", ] @@ -4699,7 +4598,6 @@ dependencies = [ "sov-modules-api", "sov-state", "strum", - "thiserror 2.0.18", "tracing", ] @@ -4709,8 +4607,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "schemars 0.8.22", - "serde", "sov-modules-api", "sov-state", ] @@ -4744,18 +4640,15 @@ dependencies = [ "bs58", "convert_case 0.6.0", "darling", - "hex", "proc-macro2", "quote", "syn 2.0.114", - "syn_derive", ] [[package]] name = "sov-universal-wallet-macros" version = "0.3.0" dependencies = [ - "proc-macro2", "sov-universal-wallet-macro-helpers", "syn 2.0.114", ] @@ -4855,19 +4748,6 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" -[[package]] -name = "svgbobdoc" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2c04b93fc15d79b39c63218f15e3fdffaa4c227830686e3b7c5f41244eb3e50" -dependencies = [ - "base64 0.13.1", - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-width", -] - [[package]] name = "syn" version = "1.0.109" @@ -4890,18 +4770,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" -dependencies = [ - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.114", -] - [[package]] name = "synstructure" version = "0.13.2" diff --git a/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.toml b/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.toml index 536d7c3e74..ad5deaa247 100644 --- a/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.toml +++ b/examples/demo-rollup/provers/risc0/guest-celestia/Cargo.toml @@ -9,18 +9,14 @@ resolver = "2" [dependencies] risc0-zkvm = { version = "3.0", default-features = false, features = ["std"] } -risc0-zkvm-platform = { version = "2.2", features = ["sys-getenv", "heap-embedded-alloc"] } demo-stf = { path = "../../../stf" } sov-risc0-adapter = { path = "../../../../../crates/adapters/risc0" } sov-rollup-interface = { path = "../../../../../crates/rollup-interface" } sov-mock-zkvm = { path = "../../../../../crates/adapters/mock-zkvm" } sov-celestia-adapter = { path = "../../../../../crates/adapters/celestia" } sov-modules-api = { path = "../../../../../crates/module-system/sov-modules-api" } -sov-address = { path = "../../../../../crates/module-system/sov-address" } sov-state = { path = "../../../../../crates/module-system/sov-state" } sov-modules-stf-blueprint = { path = "../../../../../crates/module-system/sov-modules-stf-blueprint" } -sov-kernels = { path = "../../../../../crates/module-system/sov-kernels" } -sov-metrics = { path = "../../../../../crates/full-node/sov-metrics", optional = true } sha2 = { version = "0.10", default-features = false } [patch.crates-io] @@ -52,5 +48,4 @@ bench = [ "sov-modules-stf-blueprint/bench", "sov-risc0-adapter/bench", "sov-celestia-adapter/bench", - "sov-metrics/risc0", ] diff --git a/examples/demo-rollup/provers/risc0/guest-mock/Cargo.lock b/examples/demo-rollup/provers/risc0/guest-mock/Cargo.lock index 77e68fb1e5..96ad1de2ef 100644 --- a/examples/demo-rollup/provers/risc0/guest-mock/Cargo.lock +++ b/examples/demo-rollup/provers/risc0/guest-mock/Cargo.lock @@ -573,7 +573,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ - "borsh", "serde", ] @@ -1101,13 +1100,11 @@ dependencies = [ "anyhow", "borsh", "demo-stf-declaration", - "schemars 0.8.22", "serde", "sov-accounts", "sov-address", "sov-attester-incentives", "sov-bank", - "sov-blob-storage", "sov-build", "sov-capabilities", "sov-chain-state", @@ -1121,14 +1118,12 @@ dependencies = [ "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", - "sov-revenue-share", "sov-rollup-interface", "sov-sequencer-registry", "sov-solana-offchain-auth", "sov-state", "sov-synthetic-load", "sov-test-modules", - "sov-uniqueness", "tracing", ] @@ -1145,20 +1140,16 @@ dependencies = [ "sov-attester-incentives", "sov-bank", "sov-blob-storage", - "sov-capabilities", "sov-chain-state", "sov-evm", "sov-hyperlane-integration", - "sov-kernels", "sov-modules-api", "sov-modules-stf-blueprint", "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", "sov-revenue-share", - "sov-rollup-interface", "sov-sequencer-registry", - "sov-state", "sov-synthetic-load", "sov-test-modules", "sov-uniqueness", @@ -2433,27 +2424,6 @@ dependencies = [ "toml_edit 0.23.10+spec-1.0.0", ] -[[package]] -name = "proc-macro-error-attr2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "proc-macro-error2" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" -dependencies = [ - "proc-macro-error-attr2", - "proc-macro2", - "quote", -] - [[package]] name = "proc-macro2" version = "1.0.106" @@ -3480,7 +3450,6 @@ dependencies = [ "derivative", "schemars 0.8.22", "serde", - "sov-address", "sov-bank", "sov-chain-state", "sov-modules-api", @@ -3516,7 +3485,6 @@ dependencies = [ "borsh", "derive_more", "hex", - "schemars 0.8.22", "serde", "sov-bank", "sov-chain-state", @@ -3533,7 +3501,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "serde", "serde_json", "sov-modules-api", ] @@ -3592,10 +3559,7 @@ version = "0.3.0" dependencies = [ "demo-stf", "risc0-zkvm", - "risc0-zkvm-platform", "sha2", - "sov-address", - "sov-kernels", "sov-metrics", "sov-mock-da", "sov-mock-zkvm", @@ -3712,7 +3676,6 @@ dependencies = [ "anyhow", "bincode", "borsh", - "digest 0.10.7", "ed25519-dalek", "hex", "schemars 0.8.22", @@ -3780,7 +3743,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "sov-metrics", "sov-modules-api", @@ -3796,15 +3758,10 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more", "schemars 0.8.22", "serde", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum", - "thiserror 2.0.18", - "tracing", ] [[package]] @@ -3812,7 +3769,6 @@ name = "sov-paymaster" version = "0.3.0" dependencies = [ "anyhow", - "bcs", "borsh", "derivative", "derive_more", @@ -3821,7 +3777,6 @@ dependencies = [ "sov-bank", "sov-modules-api", "sov-state", - "sov-universal-wallet", "tracing", ] @@ -3865,7 +3820,6 @@ dependencies = [ "bincode", "borsh", "bytemuck", - "digest 0.10.7", "ed25519-dalek", "hex", "risc0-zkvm", @@ -3923,7 +3877,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "serde_json", "serde_with", @@ -3946,7 +3899,6 @@ dependencies = [ "nomt-core", "serde", "serde-big-array", - "serde_with", "sov-db-types", "sov-metrics", "sov-modules-macros", @@ -3966,8 +3918,6 @@ dependencies = [ "serde", "sov-metrics", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum", ] @@ -3985,7 +3935,6 @@ dependencies = [ "sov-modules-api", "sov-state", "strum", - "thiserror 2.0.18", "tracing", ] @@ -3995,8 +3944,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "schemars 0.8.22", - "serde", "sov-modules-api", "sov-state", ] @@ -4030,18 +3977,15 @@ dependencies = [ "bs58", "convert_case 0.6.0", "darling", - "hex", "proc-macro2", "quote", "syn 2.0.114", - "syn_derive", ] [[package]] name = "sov-universal-wallet-macros" version = "0.3.0" dependencies = [ - "proc-macro2", "sov-universal-wallet-macro-helpers", "syn 2.0.114", ] @@ -4148,18 +4092,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" -dependencies = [ - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.114", -] - [[package]] name = "synstructure" version = "0.13.2" diff --git a/examples/demo-rollup/provers/risc0/guest-mock/Cargo.toml b/examples/demo-rollup/provers/risc0/guest-mock/Cargo.toml index 62d4da6c89..aa811015cc 100644 --- a/examples/demo-rollup/provers/risc0/guest-mock/Cargo.toml +++ b/examples/demo-rollup/provers/risc0/guest-mock/Cargo.toml @@ -9,17 +9,14 @@ resolver = "2" [dependencies] risc0-zkvm = { version = "3.0", default-features = false, features = ["std"] } -risc0-zkvm-platform = { version = "2.2", features = ["sys-getenv"] } sov-mock-da = { path = "../../../../../crates/adapters/mock-da" } demo-stf = { path = "../../../stf" } +sov-metrics = { path = "../../../../../crates/full-node/sov-metrics", optional = true } sov-risc0-adapter = { path = "../../../../../crates/adapters/risc0" } -sov-address = { path = "../../../../../crates/module-system/sov-address" } sov-mock-zkvm = { path = "../../../../../crates/adapters/mock-zkvm" } sov-modules-api = { path = "../../../../../crates/module-system/sov-modules-api" } sov-state = { path = "../../../../../crates/module-system/sov-state" } sov-modules-stf-blueprint = { path = "../../../../../crates/module-system/sov-modules-stf-blueprint" } -sov-kernels = { path = "../../../../../crates/module-system/sov-kernels" } -sov-metrics = { path = "../../../../../crates/full-node/sov-metrics", optional = true } sha2 = { version = "0.10", default-features = false } [patch.crates-io] @@ -46,10 +43,13 @@ opt-level = 3 [features] bench = [ + "dep:sov-metrics", "sov-modules-api/bench", "sov-state/bench", "sov-modules-stf-blueprint/bench", "sov-risc0-adapter/bench", - "sov-metrics/risc0", ] bincode = ["sov-risc0-adapter/bincode"] + +[package.metadata.cargo-machete] +ignored = ["sov-metrics"] diff --git a/examples/demo-rollup/provers/sp1/guest-aggregation-mock/Cargo.lock b/examples/demo-rollup/provers/sp1/guest-aggregation-mock/Cargo.lock index 404649bca9..203f18ec9b 100644 --- a/examples/demo-rollup/provers/sp1/guest-aggregation-mock/Cargo.lock +++ b/examples/demo-rollup/provers/sp1/guest-aggregation-mock/Cargo.lock @@ -620,7 +620,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ - "borsh", "serde", ] @@ -1614,13 +1613,11 @@ dependencies = [ "anyhow", "borsh", "demo-stf-declaration", - "schemars 0.8.22", "serde", "sov-accounts", "sov-address", "sov-attester-incentives", "sov-bank", - "sov-blob-storage", "sov-build", "sov-capabilities", "sov-chain-state", @@ -1634,14 +1631,12 @@ dependencies = [ "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", - "sov-revenue-share", "sov-rollup-interface", "sov-sequencer-registry", "sov-solana-offchain-auth", "sov-state", "sov-synthetic-load", "sov-test-modules", - "sov-uniqueness", "tracing", ] @@ -1658,20 +1653,16 @@ dependencies = [ "sov-attester-incentives", "sov-bank", "sov-blob-storage", - "sov-capabilities", "sov-chain-state", "sov-evm", "sov-hyperlane-integration", - "sov-kernels", "sov-modules-api", "sov-modules-stf-blueprint", "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", "sov-revenue-share", - "sov-rollup-interface", "sov-sequencer-registry", - "sov-state", "sov-synthetic-load", "sov-test-modules", "sov-uniqueness", @@ -5886,7 +5877,6 @@ dependencies = [ "derivative", "schemars 0.8.22", "serde", - "sov-address", "sov-bank", "sov-chain-state", "sov-modules-api", @@ -5922,7 +5912,6 @@ dependencies = [ "borsh", "derive_more 2.1.1", "hex", - "schemars 0.8.22", "serde", "sov-bank", "sov-chain-state", @@ -5939,7 +5928,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "serde", "serde_json", "sov-modules-api", ] @@ -6096,7 +6084,6 @@ dependencies = [ "anyhow", "bincode", "borsh", - "digest 0.10.7", "ed25519-dalek", "hex", "schemars 0.8.22", @@ -6164,7 +6151,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "sov-metrics", "sov-modules-api", @@ -6180,15 +6166,10 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more 2.1.1", "schemars 0.8.22", "serde", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", - "thiserror 2.0.18", - "tracing", ] [[package]] @@ -6196,7 +6177,6 @@ name = "sov-paymaster" version = "0.3.0" dependencies = [ "anyhow", - "bcs", "borsh", "derivative", "derive_more 2.1.1", @@ -6205,7 +6185,6 @@ dependencies = [ "sov-bank", "sov-modules-api", "sov-state", - "sov-universal-wallet", "tracing", ] @@ -6282,7 +6261,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "serde_json", "serde_with", @@ -6329,7 +6307,6 @@ dependencies = [ "nomt-core", "serde", "serde-big-array", - "serde_with", "sov-db-types", "sov-metrics", "sov-modules-macros", @@ -6349,8 +6326,6 @@ dependencies = [ "serde", "sov-metrics", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", ] @@ -6368,7 +6343,6 @@ dependencies = [ "sov-modules-api", "sov-state", "strum 0.26.3", - "thiserror 2.0.18", "tracing", ] @@ -6378,8 +6352,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "schemars 0.8.22", - "serde", "sov-modules-api", "sov-state", ] @@ -6413,18 +6385,15 @@ dependencies = [ "bs58", "convert_case 0.6.0", "darling 0.21.3", - "hex", "proc-macro2", "quote", "syn 2.0.117", - "syn_derive", ] [[package]] name = "sov-universal-wallet-macros" version = "0.3.0" dependencies = [ - "proc-macro2", "sov-universal-wallet-macro-helpers", "syn 2.0.117", ] @@ -7167,18 +7136,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" -dependencies = [ - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.117", -] - [[package]] name = "sync_wrapper" version = "1.0.2" diff --git a/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.lock b/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.lock index e162ea7785..4b27cc1911 100644 --- a/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.lock +++ b/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.lock @@ -607,7 +607,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ - "borsh", "serde", ] @@ -1679,6 +1678,15 @@ dependencies = [ "syn 2.0.114", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "deepsize2" version = "0.1.0" @@ -1707,13 +1715,11 @@ dependencies = [ "anyhow", "borsh", "demo-stf-declaration", - "schemars 0.8.22", "serde", "sov-accounts", "sov-address", "sov-attester-incentives", "sov-bank", - "sov-blob-storage", "sov-build", "sov-capabilities", "sov-chain-state", @@ -1727,14 +1733,12 @@ dependencies = [ "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", - "sov-revenue-share", "sov-rollup-interface", "sov-sequencer-registry", "sov-solana-offchain-auth", "sov-state", "sov-synthetic-load", "sov-test-modules", - "sov-uniqueness", "tracing", ] @@ -1751,20 +1755,16 @@ dependencies = [ "sov-attester-incentives", "sov-bank", "sov-blob-storage", - "sov-capabilities", "sov-chain-state", "sov-evm", "sov-hyperlane-integration", - "sov-kernels", "sov-modules-api", "sov-modules-stf-blueprint", "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", "sov-revenue-share", - "sov-rollup-interface", "sov-sequencer-registry", - "sov-state", "sov-synthetic-load", "sov-test-modules", "sov-uniqueness", @@ -2405,6 +2405,17 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d758ba1b47b00caf47f24925c0074ecb20d6dfcffe7f6d53395c0465674841a" +[[package]] +name = "gecko_profile" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890852c7e1e02bc6758e325d6b1e0236e4fbf21b492f585ce4d4715be54b4c6a" +dependencies = [ + "debugid", + "serde", + "serde_json", +] + [[package]] name = "gen_ops" version = "0.4.0" @@ -6158,7 +6169,6 @@ dependencies = [ "derivative", "schemars 0.8.22", "serde", - "sov-address", "sov-bank", "sov-chain-state", "sov-modules-api", @@ -6194,7 +6204,6 @@ dependencies = [ "borsh", "derive_more 2.1.1", "hex", - "schemars 0.8.22", "serde", "sov-bank", "sov-chain-state", @@ -6211,7 +6220,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "serde", "serde_json", "sov-modules-api", ] @@ -6296,10 +6304,7 @@ version = "0.3.0" dependencies = [ "demo-stf", "sha2 0.10.9", - "sov-address", "sov-celestia-adapter", - "sov-kernels", - "sov-metrics", "sov-mock-zkvm", "sov-modules-api", "sov-modules-stf-blueprint", @@ -6415,7 +6420,6 @@ dependencies = [ "anyhow", "bincode", "borsh", - "digest 0.10.7", "ed25519-dalek", "hex", "schemars 0.8.22", @@ -6483,7 +6487,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "sov-metrics", "sov-modules-api", @@ -6499,15 +6502,10 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more 2.1.1", "schemars 0.8.22", "serde", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", - "thiserror 2.0.18", - "tracing", ] [[package]] @@ -6515,7 +6513,6 @@ name = "sov-paymaster" version = "0.3.0" dependencies = [ "anyhow", - "bcs", "borsh", "derivative", "derive_more 2.1.1", @@ -6524,7 +6521,6 @@ dependencies = [ "sov-bank", "sov-modules-api", "sov-state", - "sov-universal-wallet", "tracing", ] @@ -6601,7 +6597,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "serde_json", "serde_with", @@ -6623,6 +6618,7 @@ dependencies = [ "serde", "sha2 0.10.9", "slop-algebra", + "sov-metrics", "sov-rollup-interface", "sov-universal-wallet", "sov-zkvm-utils", @@ -6648,7 +6644,6 @@ dependencies = [ "nomt-core", "serde", "serde-big-array", - "serde_with", "sov-db-types", "sov-metrics", "sov-modules-macros", @@ -6668,8 +6663,6 @@ dependencies = [ "serde", "sov-metrics", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", ] @@ -6687,7 +6680,6 @@ dependencies = [ "sov-modules-api", "sov-state", "strum 0.26.3", - "thiserror 2.0.18", "tracing", ] @@ -6697,8 +6689,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "schemars 0.8.22", - "serde", "sov-modules-api", "sov-state", ] @@ -6732,18 +6722,15 @@ dependencies = [ "bs58", "convert_case 0.6.0", "darling", - "hex", "proc-macro2", "quote", "syn 2.0.114", - "syn_derive", ] [[package]] name = "sov-universal-wallet-macros" version = "0.3.0" dependencies = [ - "proc-macro2", "sov-universal-wallet-macro-helpers", "syn 2.0.114", ] @@ -6784,12 +6771,15 @@ dependencies = [ "elf", "enum-map", "eyre", + "gecko_profile", "hashbrown 0.14.5", "hex", + "indicatif", "itertools 0.14.0", "memmap2", "num", "rrs-succinct", + "rustc-demangle", "serde", "serde_arrays", "serde_json", @@ -7495,18 +7485,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" -dependencies = [ - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.114", -] - [[package]] name = "sync_wrapper" version = "1.0.2" diff --git a/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.toml b/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.toml index fd80204cf1..d9c669180e 100644 --- a/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.toml +++ b/examples/demo-rollup/provers/sp1/guest-celestia/Cargo.toml @@ -15,13 +15,8 @@ sov-celestia-adapter = { path = "../../../../../crates/adapters/celestia" } sov-mock-zkvm = { path = "../../../../../crates/adapters/mock-zkvm" } sov-rollup-interface = { path = "../../../../../crates/rollup-interface" } sov-modules-api = { path = "../../../../../crates/module-system/sov-modules-api" } -sov-address = { path = "../../../../../crates/module-system/sov-address" } sov-state = { path = "../../../../../crates/module-system/sov-state" } sov-modules-stf-blueprint = { path = "../../../../../crates/module-system/sov-modules-stf-blueprint" } -sov-kernels = { path = "../../../../../crates/module-system/sov-kernels" } -sov-metrics = { path = "../../../../../crates/full-node/sov-metrics", optional = true, features = [ - "sp1", -] } sha2 = { version = "0.10", default-features = false } [patch.crates-io] @@ -53,4 +48,5 @@ bench = [ "sov-state/bench", "sov-modules-stf-blueprint/bench", "sov-celestia-adapter/bench", + "sov-sp1-adapter/bench", ] diff --git a/examples/demo-rollup/provers/sp1/guest-mock/Cargo.lock b/examples/demo-rollup/provers/sp1/guest-mock/Cargo.lock index 81588ddcf7..988f06e8ed 100644 --- a/examples/demo-rollup/provers/sp1/guest-mock/Cargo.lock +++ b/examples/demo-rollup/provers/sp1/guest-mock/Cargo.lock @@ -607,7 +607,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" dependencies = [ - "borsh", "serde", ] @@ -1530,6 +1529,15 @@ dependencies = [ "rustversion", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "deepsize2" version = "0.1.0" @@ -1558,13 +1566,11 @@ dependencies = [ "anyhow", "borsh", "demo-stf-declaration", - "schemars 0.8.22", "serde", "sov-accounts", "sov-address", "sov-attester-incentives", "sov-bank", - "sov-blob-storage", "sov-build", "sov-capabilities", "sov-chain-state", @@ -1578,14 +1584,12 @@ dependencies = [ "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", - "sov-revenue-share", "sov-rollup-interface", "sov-sequencer-registry", "sov-solana-offchain-auth", "sov-state", "sov-synthetic-load", "sov-test-modules", - "sov-uniqueness", "tracing", ] @@ -1602,20 +1606,16 @@ dependencies = [ "sov-attester-incentives", "sov-bank", "sov-blob-storage", - "sov-capabilities", "sov-chain-state", "sov-evm", "sov-hyperlane-integration", - "sov-kernels", "sov-modules-api", "sov-modules-stf-blueprint", "sov-operator-incentives", "sov-paymaster", "sov-prover-incentives", "sov-revenue-share", - "sov-rollup-interface", "sov-sequencer-registry", - "sov-state", "sov-synthetic-load", "sov-test-modules", "sov-uniqueness", @@ -2235,6 +2235,17 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d758ba1b47b00caf47f24925c0074ecb20d6dfcffe7f6d53395c0465674841a" +[[package]] +name = "gecko_profile" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890852c7e1e02bc6758e325d6b1e0236e4fbf21b492f585ce4d4715be54b4c6a" +dependencies = [ + "debugid", + "serde", + "serde_json", +] + [[package]] name = "gen_ops" version = "0.4.0" @@ -5809,7 +5820,6 @@ dependencies = [ "derivative", "schemars 0.8.22", "serde", - "sov-address", "sov-bank", "sov-chain-state", "sov-modules-api", @@ -5845,7 +5855,6 @@ dependencies = [ "borsh", "derive_more 2.1.1", "hex", - "schemars 0.8.22", "serde", "sov-bank", "sov-chain-state", @@ -5862,7 +5871,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "serde", "serde_json", "sov-modules-api", ] @@ -5919,11 +5927,8 @@ dependencies = [ name = "sov-demo-prover-guest-mock-sp1" version = "0.3.0" dependencies = [ - "anyhow", "demo-stf", "sha2 0.10.9", - "sov-address", - "sov-kernels", "sov-metrics", "sov-mock-da", "sov-mock-zkvm", @@ -6040,7 +6045,6 @@ dependencies = [ "anyhow", "bincode", "borsh", - "digest 0.10.7", "ed25519-dalek", "hex", "schemars 0.8.22", @@ -6108,7 +6112,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "sov-metrics", "sov-modules-api", @@ -6124,15 +6127,10 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "derive_more 2.1.1", "schemars 0.8.22", "serde", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", - "thiserror 2.0.18", - "tracing", ] [[package]] @@ -6140,7 +6138,6 @@ name = "sov-paymaster" version = "0.3.0" dependencies = [ "anyhow", - "bcs", "borsh", "derivative", "derive_more 2.1.1", @@ -6149,7 +6146,6 @@ dependencies = [ "sov-bank", "sov-modules-api", "sov-state", - "sov-universal-wallet", "tracing", ] @@ -6226,7 +6222,6 @@ dependencies = [ "anyhow", "borsh", "hex", - "schemars 0.8.22", "serde", "serde_json", "serde_with", @@ -6248,6 +6243,7 @@ dependencies = [ "serde", "sha2 0.10.9", "slop-algebra", + "sov-metrics", "sov-rollup-interface", "sov-universal-wallet", "sov-zkvm-utils", @@ -6273,7 +6269,6 @@ dependencies = [ "nomt-core", "serde", "serde-big-array", - "serde_with", "sov-db-types", "sov-metrics", "sov-modules-macros", @@ -6293,8 +6288,6 @@ dependencies = [ "serde", "sov-metrics", "sov-modules-api", - "sov-rollup-interface", - "sov-state", "strum 0.26.3", ] @@ -6312,7 +6305,6 @@ dependencies = [ "sov-modules-api", "sov-state", "strum 0.26.3", - "thiserror 2.0.18", "tracing", ] @@ -6322,8 +6314,6 @@ version = "0.3.0" dependencies = [ "anyhow", "borsh", - "schemars 0.8.22", - "serde", "sov-modules-api", "sov-state", ] @@ -6357,18 +6347,15 @@ dependencies = [ "bs58", "convert_case 0.6.0", "darling", - "hex", "proc-macro2", "quote", "syn 2.0.114", - "syn_derive", ] [[package]] name = "sov-universal-wallet-macros" version = "0.3.0" dependencies = [ - "proc-macro2", "sov-universal-wallet-macro-helpers", "syn 2.0.114", ] @@ -6409,12 +6396,15 @@ dependencies = [ "elf", "enum-map", "eyre", + "gecko_profile", "hashbrown 0.14.5", "hex", + "indicatif", "itertools 0.14.0", "memmap2", "num", "rrs-succinct", + "rustc-demangle", "serde", "serde_arrays", "serde_json", @@ -7111,18 +7101,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "syn_derive" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb066a04799e45f5d582e8fc6ec8e6d6896040d00898eb4e6a835196815b219" -dependencies = [ - "proc-macro-error2", - "proc-macro2", - "quote", - "syn 2.0.114", -] - [[package]] name = "sync_wrapper" version = "1.0.2" diff --git a/examples/demo-rollup/provers/sp1/guest-mock/Cargo.toml b/examples/demo-rollup/provers/sp1/guest-mock/Cargo.toml index 4d5dcf6954..9a901dd0f0 100644 --- a/examples/demo-rollup/provers/sp1/guest-mock/Cargo.toml +++ b/examples/demo-rollup/provers/sp1/guest-mock/Cargo.toml @@ -8,20 +8,15 @@ resolver = "2" [workspace] [dependencies] -anyhow = { version = "1.0.95" } sp1-zkvm = { version = "6.1.0" } sov-mock-da = { path = "../../../../../crates/adapters/mock-da" } demo-stf = { path = "../../../stf" } +sov-metrics = { path = "../../../../../crates/full-node/sov-metrics", optional = true } sov-sp1-adapter = { path = "../../../../../crates/adapters/sp1" } sov-mock-zkvm = { path = "../../../../../crates/adapters/mock-zkvm" } sov-modules-api = { path = "../../../../../crates/module-system/sov-modules-api" } -sov-address = { path = "../../../../../crates/module-system/sov-address" } sov-state = { path = "../../../../../crates/module-system/sov-state" } sov-modules-stf-blueprint = { path = "../../../../../crates/module-system/sov-modules-stf-blueprint" } -sov-kernels = { path = "../../../../../crates/module-system/sov-kernels" } -sov-metrics = { path = "../../../../../crates/full-node/sov-metrics", optional = true, features = [ - "sp1", -] } sha2 = { version = "0.10", default-features = false } [patch.crates-io] @@ -50,8 +45,12 @@ opt-level = 3 [features] default = [] bench = [ + "sov-metrics/sp1", "sov-modules-api/bench", "sov-state/bench", "sov-modules-stf-blueprint/bench", - "sov-metrics", + "sov-sp1-adapter/bench", ] + +[package.metadata.cargo-machete] +ignored = ["sov-metrics"] diff --git a/examples/demo-rollup/rest-api-load-testing/Cargo.toml b/examples/demo-rollup/rest-api-load-testing/Cargo.toml index 0250402cc5..b0050ac440 100644 --- a/examples/demo-rollup/rest-api-load-testing/Cargo.toml +++ b/examples/demo-rollup/rest-api-load-testing/Cargo.toml @@ -13,7 +13,6 @@ workspace = true [dependencies] tokio = { workspace = true, features = ["full"] } -borsh = { workspace = true } anyhow = { workspace = true } sov-address = { workspace = true, features = ["evm"] } @@ -23,10 +22,7 @@ sov-cli = { workspace = true } rest-api-load-testing = {workspace = true} sov-modules-api = {workspace = true} sov-api-spec = { workspace = true } -sov-mock-da = { workspace = true, features = ["native"] } -sov-mock-zkvm = { workspace = true, features = ["native"] } sov-bank = { workspace = true, features = ["native", "test-utils"] } demo-stf = { workspace = true, features = ["native"] } sov-modules-rollup-blueprint = { workspace = true } sov-demo-rollup = { path = ".." } -sha2 = { workspace = true } diff --git a/examples/demo-rollup/sov-benchmarks/Cargo.toml b/examples/demo-rollup/sov-benchmarks/Cargo.toml index 994cd9eaa5..02e12d76e0 100644 --- a/examples/demo-rollup/sov-benchmarks/Cargo.toml +++ b/examples/demo-rollup/sov-benchmarks/Cargo.toml @@ -8,11 +8,14 @@ license = { workspace = true } repository = { workspace = true } publish = false +[package.metadata.cargo-machete] +ignored = ["prettytable-rs"] + [dependencies] # Sovereign dependencies sov-rollup-interface = { workspace = true, features = ["arbitrary"] } sov-modules-api = { workspace = true, features = ["arbitrary", "bench", "native"] } -sov-capabilities = { workspace = true } +sov-modules-rollup-blueprint = { workspace = true } sov-state = { workspace = true } sov-db = { workspace = true } @@ -20,9 +23,7 @@ sov-test-modules = { workspace = true, features = ["native"] } sov-test-utils = { workspace = true, features = ["arbitrary"] } sov-address = { workspace = true } sov-hyperlane-integration = { workspace = true, features = ["native"] } -sov-modules-stf-blueprint = { workspace = true, features = ["bench"] } sov-transaction-generator = { workspace = true } -sov-modules-rollup-blueprint = { workspace = true, default-features = false } sov-node-client = { workspace = true } sov-metrics = { workspace = true, default-features = false } @@ -41,12 +42,10 @@ sov-sp1-adapter = { workspace = true, features = ["arbitrary", "bench", "native" risc0 = { path = "../provers/risc0", features = ["bench"] } # Other dependencies -derive_more = { workspace = true, default-features = false, features = ["std"] } tracing = { workspace = true, default-features = false } prettytable-rs = "^0.10" criterion = "0.5.1" bincode = { workspace = true } -derivative = { workspace = true, features = ["use_core"] } anyhow = { workspace = true } serde = { workspace = true, default-features = false, features = [ "alloc", @@ -58,7 +57,6 @@ async-trait = { workspace = true } humantime = "2.1" clap = { workspace = true } tempfile = { workspace = true } -strum = { workspace = true, features = ["derive"] } futures = { workspace = true, default-features = false } [[bench]] @@ -75,5 +73,4 @@ harness = false gas-constant-estimation = [ "sov-modules-api/gas-constant-estimation", "sov-metrics/gas-constant-estimation", - "sov-modules-stf-blueprint/gas-constant-estimation", ] diff --git a/examples/demo-rollup/sov-soak-testing/Cargo.toml b/examples/demo-rollup/sov-soak-testing/Cargo.toml index 163d96d3b7..ef74e82abf 100644 --- a/examples/demo-rollup/sov-soak-testing/Cargo.toml +++ b/examples/demo-rollup/sov-soak-testing/Cargo.toml @@ -11,20 +11,17 @@ default-run = "main" [dependencies] tokio = { workspace = true, default-features = false } +anyhow = { workspace = true } +async-trait = { workspace = true } borsh = { workspace = true, features = ["derive"] } - +clap = { workspace = true } +reqwest = { workspace = true } schemars = { workspace = true, features = ["derive"] } serde = { workspace = true, default-features = false, features = [ "alloc", "derive", ] } -anyhow = { workspace = true } -async-trait = { workspace = true } -derivative = { workspace = true } strum = { workspace = true, features = ["derive"] } -rand = { workspace = true } -clap = { workspace = true } -reqwest = { workspace = true } sov-api-spec = { workspace = true } sov-metrics = { workspace = true } @@ -33,21 +30,17 @@ sov-modules-stf-blueprint = { workspace = true, features = ["native"] } sov-transaction-generator = { workspace = true } sov-modules-api = { workspace = true } sov-test-utils = { workspace = true, features = ["arbitrary"] } -sov-evm-test-utils = { workspace = true, features = ["arbitrary"] } sov-mock-da = { workspace = true, features = ["arbitrary", "native"] } sov-mock-zkvm = { workspace = true, features = ["native"] } sov-rollup-interface = { workspace = true, features = ["arbitrary"] } -sov-node-client = { workspace = true } sov-sequencer = { workspace = true, default-features = false } sov-kernels = { workspace = true, features = ["native"] } sov-state = { workspace = true, features = ["arbitrary"] } # modules -sov-value-setter = { workspace = true } sov-synthetic-load = { workspace = true } sov-bank = { workspace = true, features = ["native", "arbitrary"] } sov-paymaster = { workspace = true, features = ["native"] } sov-celestia-adapter = { workspace = true, features = ["native", "arbitrary"] } -sov-address = { workspace = true } demo-stf = { workspace = true, features = ["native", "arbitrary"] } sov-soak-testing-lib = { workspace = true } sov-db = { workspace = true } @@ -62,3 +55,6 @@ path = "src/bin/main.rs" [[bin]] name = "generator" path = "src/bin/generator.rs" + +[package.metadata.cargo-machete] +ignored = ["borsh", "schemars", "serde", "strum"] diff --git a/examples/demo-rollup/stf/Cargo.toml b/examples/demo-rollup/stf/Cargo.toml index 066878ad86..feea639043 100644 --- a/examples/demo-rollup/stf/Cargo.toml +++ b/examples/demo-rollup/stf/Cargo.toml @@ -18,7 +18,6 @@ anyhow = { workspace = true } borsh = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["alloc", "derive"] } serde_json = { workspace = true, optional = true } -schemars = { workspace = true } tracing = { workspace = true } sov-accounts = { workspace = true } @@ -27,13 +26,10 @@ sov-attester-incentives = { workspace = true } sov-bank = { workspace = true } sov-capabilities = { workspace = true } sov-chain-state = { workspace = true } -sov-blob-storage = { workspace = true } sov-evm = { workspace = true } sov-hyperlane-integration = { workspace = true, features = ["evm"] } -sov-revenue-share = { workspace = true } sov-modules-api = { workspace = true } sov-modules-stf-blueprint = { workspace = true } -sov-uniqueness = { workspace = true } sov-paymaster = { workspace = true } sov-operator-incentives = { workspace = true } sov-prover-incentives = { workspace = true } @@ -70,7 +66,6 @@ arbitrary = [ "sov-sequencer-registry/arbitrary", "sov-state/arbitrary", "sov-test-utils?/arbitrary", - "sov-uniqueness/arbitrary", "sov-mock-da/arbitrary", "sov-mock-zkvm/arbitrary", "sov-hyperlane-integration/arbitrary" @@ -84,18 +79,15 @@ native = [ "sov-chain-state/native", "sov-evm/native", "sov-hyperlane-integration/native", - "sov-revenue-share/native", "sov-kernels/native", "sov-modules-api/native", "sov-modules-stf-blueprint/native", - "sov-uniqueness/native", "sov-operator-incentives/native", "sov-prover-incentives/native", "sov-rollup-interface/native", "sov-sequencer-registry/native", "sov-state/native", "sov-synthetic-load/native", - "sov-blob-storage/native", "sov-rollup-apis", "serde_json", "sov-paymaster/native", diff --git a/examples/demo-rollup/stf/demo-stf-json-client/Cargo.toml b/examples/demo-rollup/stf/demo-stf-json-client/Cargo.toml index 5293bab306..a6f28527f3 100644 --- a/examples/demo-rollup/stf/demo-stf-json-client/Cargo.toml +++ b/examples/demo-rollup/stf/demo-stf-json-client/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true repository.workspace = true publish = false +[package.metadata.cargo-machete] +ignored = ["futures", "progenitor-client", "regress", "reqwest", "serde", "serde_json"] + # These dependencies are not defined through workspace inheritance because # `progenitor` demands very specific version ranges for its dependencies. Read # more here: . diff --git a/examples/demo-rollup/stf/stf-declaration/Cargo.toml b/examples/demo-rollup/stf/stf-declaration/Cargo.toml index 35eaef5f00..08b5062376 100644 --- a/examples/demo-rollup/stf/stf-declaration/Cargo.toml +++ b/examples/demo-rollup/stf/stf-declaration/Cargo.toml @@ -17,21 +17,16 @@ sov-address = { workspace = true, features = ["evm"] } sov-attester-incentives = { workspace = true } sov-bank = { workspace = true } sov-blob-storage = { workspace = true } -sov-capabilities = { workspace = true } sov-chain-state = { workspace = true } sov-evm = { workspace = true } sov-hyperlane-integration = { workspace = true, features = ["evm"] } sov-revenue-share = { workspace = true } -sov-kernels = { workspace = true } sov-modules-api = { workspace = true } sov-modules-stf-blueprint = { workspace = true } sov-operator-incentives = { workspace = true } sov-paymaster = { workspace = true } sov-prover-incentives = { workspace = true } -sov-rollup-apis = { workspace = true, optional = true } -sov-rollup-interface = { workspace = true } sov-sequencer-registry = { workspace = true } -sov-state = { workspace = true } sov-synthetic-load = { workspace = true } sov-test-modules = { workspace = true } sov-test-utils = { workspace = true, optional = true } @@ -40,8 +35,6 @@ sov-uniqueness = { workspace = true } anyhow = { workspace = true } arbitrary = { workspace = true, optional = true } borsh = { workspace = true, features = ["derive"] } -clap = { workspace = true, features = ["derive"], optional = true } -jsonrpsee = { workspace = true, features = ["http-client", "server"], optional = true } schemars = { workspace = true } serde = { workspace = true, features = ["alloc", "derive"] } strum = { workspace = true, features = ["derive"] } @@ -49,28 +42,21 @@ strum = { workspace = true, features = ["derive"] } [features] default = [] native = [ - "clap", - "jsonrpsee", "sov-accounts/native", "sov-address/native", "sov-attester-incentives/native", "sov-bank/native", "sov-blob-storage/native", - "sov-capabilities/native", "sov-chain-state/native", "sov-evm/native", "sov-hyperlane-integration/native", "sov-revenue-share/native", - "sov-kernels/native", "sov-modules-api/native", "sov-modules-stf-blueprint/native", "sov-operator-incentives/native", "sov-paymaster/native", "sov-prover-incentives/native", - "sov-rollup-apis", - "sov-rollup-interface/native", "sov-sequencer-registry/native", - "sov-state/native", "sov-synthetic-load/native", "sov-test-modules/native", "sov-uniqueness/native", @@ -83,9 +69,7 @@ arbitrary = [ "sov-evm/arbitrary", "sov-modules-api/arbitrary", "sov-paymaster/arbitrary", - "sov-rollup-interface/arbitrary", "sov-sequencer-registry/arbitrary", - "sov-state/arbitrary", "sov-test-utils?/arbitrary", "sov-uniqueness/arbitrary", "sov-hyperlane-integration/arbitrary" @@ -94,3 +78,6 @@ test-utils = [ "native", "sov-test-utils", ] + +[package.metadata.cargo-machete] +ignored = ["strum"] diff --git a/examples/demo-rollup/tests/prover/sov-aggregated-proof/Cargo.toml b/examples/demo-rollup/tests/prover/sov-aggregated-proof/Cargo.toml index aec06fb8ec..fd6f859699 100644 --- a/examples/demo-rollup/tests/prover/sov-aggregated-proof/Cargo.toml +++ b/examples/demo-rollup/tests/prover/sov-aggregated-proof/Cargo.toml @@ -16,10 +16,7 @@ bincode = "1.3.3" demo-stf = { workspace = true, features = ["native"] } serde = { version = "1", features = ["derive"] } serde_json = "1.0" -slop-algebra = "6.1.0" sp1 = { path = "../../../provers/sp1" } -sp1-core-executor = "6.1.0" -sp1-recursion-executor = "6.1.0" sp1-sdk = { version = "6.1.0", default-features = false, features = ["blocking"] } sov-mock-da = { workspace = true, features = ["native"] } sov-mock-zkvm = { workspace = true, features = ["native"] }