diff --git a/Cargo.lock b/Cargo.lock index 0a9d914fe1..c3b4a86b51 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4365,23 +4365,15 @@ dependencies = [ "assert_matches", "async-trait", "base58", - "bimap", "borsh 1.2.1", "borsh-ext", "byte-unit", - "circular-queue", "clru", - "data-encoding", - "derivation-path", - "derivative", - "ethbridge-bridge-contract", "ethers", "eyre", - "futures", "ibc-testkit", "itertools 0.12.1", "k256", - "konst", "linkme", "loupe", "masp_primitives", @@ -4393,7 +4385,6 @@ dependencies = [ "namada_gas", "namada_governance", "namada_ibc", - "namada_macros", "namada_migrations", "namada_parameters", "namada_proof_of_stake", @@ -4406,33 +4397,22 @@ dependencies = [ "namada_tx_env", "namada_vote_ext", "namada_vp_env", - "num-traits 0.2.17", - "num256", - "orion", - "owo-colors", "parity-wasm", - "paste", "pretty_assertions", "proptest", "prost 0.12.3", "rand 0.8.5", - "rand_core 0.6.4", "rayon", - "regex", "ripemd", - "serde 1.0.193", "serde_json", "sha2 0.9.9", - "slip10_ed25519", "smooth-operator", "tempfile", "tendermint-rpc", "test-log", "thiserror", "tiny-bip39", - "tiny-hderive", "tokio", - "toml 0.5.11", "tracing", "tracing-subscriber", "uint", @@ -4445,8 +4425,6 @@ dependencies = [ "wasmer-vm", "wasmparser 0.107.0", "wasmtimer", - "wat", - "zeroize", ] [[package]] @@ -4469,7 +4447,6 @@ version = "0.37.0" dependencies = [ "assert_matches", "bit-set", - "bytes", "color-eyre", "eyre", "git2", @@ -4484,9 +4461,7 @@ dependencies = [ "toml 0.5.11", "tracing", "tracing-subscriber", - "warp", "winapi", - "zeroize", ] [[package]] @@ -4668,11 +4643,7 @@ dependencies = [ "namada_trans_token", "namada_tx", "namada_vote_ext", - "rand 0.8.5", "serde 1.0.193", - "serde_json", - "tendermint 0.36.0", - "tendermint-proto 0.36.0", "thiserror", "toml 0.5.11", "tracing", @@ -4708,7 +4679,6 @@ dependencies = [ "namada_shielded_token", "namada_trans_token", "proptest", - "regex", "serde_json", "tokio", ] @@ -4766,7 +4736,6 @@ dependencies = [ "masp_primitives", "namada_core", "namada_events", - "namada_gas", "namada_governance", "namada_macros", "namada_migrations", @@ -4774,7 +4743,6 @@ dependencies = [ "namada_state", "namada_storage", "namada_token", - "namada_tx", "primitive-types", "proptest", "prost 0.12.3", @@ -4904,7 +4872,6 @@ dependencies = [ name = "namada_parameters" version = "0.37.0" dependencies = [ - "borsh 1.2.1", "namada_core", "namada_macros", "namada_storage", @@ -4917,7 +4884,6 @@ version = "0.37.0" dependencies = [ "assert_matches", "borsh 1.2.1", - "data-encoding", "derivative", "itertools 0.12.1", "konst", @@ -4933,7 +4899,6 @@ dependencies = [ "namada_state", "namada_storage", "namada_trans_token", - "num-traits 0.2.17", "once_cell", "pretty_assertions", "proptest", @@ -5015,7 +4980,6 @@ dependencies = [ "slip10_ed25519", "smooth-operator", "tempfile", - "tendermint-config", "tendermint-rpc", "thiserror", "tiny-bip39", @@ -5038,7 +5002,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "namada_tx", "proptest", "rayon", "serde 1.0.193", @@ -5054,7 +5017,6 @@ dependencies = [ "assert_matches", "borsh 1.2.1", "chrono", - "ics23", "itertools 0.12.1", "linkme", "namada_core", @@ -5070,12 +5032,9 @@ dependencies = [ "patricia_tree", "pretty_assertions", "proptest", - "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "test-log", "thiserror", - "tiny-keccak", "tracing", ] @@ -5092,7 +5051,6 @@ dependencies = [ "namada_migrations", "namada_replay_protection", "regex", - "serde 1.0.193", "smooth-operator", "thiserror", "tracing", @@ -5113,10 +5071,8 @@ version = "0.37.0" dependencies = [ "assert_cmd", "assert_matches", - "async-trait", "borsh 1.2.1", "borsh-ext", - "chrono", "color-eyre", "concat-idents", "data-encoding", @@ -5130,7 +5086,6 @@ dependencies = [ "ibc-testkit", "ics23", "itertools 0.12.1", - "lazy_static", "namada", "namada_apps_lib", "namada_core", @@ -5140,7 +5095,6 @@ dependencies = [ "namada_tx_prelude", "namada_vm_env", "namada_vp_prelude", - "num-traits 0.2.17", "once_cell", "pretty_assertions", "proptest", @@ -5157,8 +5111,6 @@ dependencies = [ "test-log", "tokio", "toml 0.5.11", - "tracing", - "tracing-subscriber", ] [[package]] @@ -5241,8 +5193,6 @@ dependencies = [ "namada_tx", "namada_tx_env", "namada_vm_env", - "sha2 0.9.9", - "thiserror", ] [[package]] @@ -5280,7 +5230,6 @@ dependencies = [ "namada_storage", "namada_tx", "smooth-operator", - "thiserror", ] [[package]] @@ -5302,7 +5251,6 @@ dependencies = [ "namada_vm_env", "namada_vp_env", "sha2 0.9.9", - "thiserror", ] [[package]] diff --git a/crates/apps/Cargo.toml b/crates/apps/Cargo.toml index 9faffd9963..d53b817861 100644 --- a/crates/apps/Cargo.toml +++ b/crates/apps/Cargo.toml @@ -61,9 +61,6 @@ tokio = {workspace = true, features = ["full"]} toml.workspace = true tracing-subscriber = { workspace = true, features = ["std", "json", "ansi", "tracing-log"]} tracing.workspace = true -zeroize.workspace = true -warp = "0.3.2" -bytes = "1.1.0" [target.'cfg(windows)'.dependencies] winapi.workspace = true diff --git a/crates/ethereum_bridge/Cargo.toml b/crates/ethereum_bridge/Cargo.toml index 89c558ecd9..0250028605 100644 --- a/crates/ethereum_bridge/Cargo.toml +++ b/crates/ethereum_bridge/Cargo.toml @@ -40,17 +40,12 @@ namada_tx = {path = "../tx"} namada_vote_ext = {path = "../vote_ext"} borsh.workspace = true -ethabi.workspace = true ethers.workspace = true eyre.workspace = true itertools.workspace = true konst.workspace = true linkme = {workspace = true, optional = true} serde.workspace = true -serde_json.workspace = true -rand.workspace = true -tendermint = {workspace = true} -tendermint-proto = {workspace = true} thiserror.workspace = true tracing = "0.1.30" diff --git a/crates/ibc/Cargo.toml b/crates/ibc/Cargo.toml index d523b9f793..6822e0b40f 100644 --- a/crates/ibc/Cargo.toml +++ b/crates/ibc/Cargo.toml @@ -23,7 +23,6 @@ testing = ["namada_core/testing", "ibc-testkit", "proptest"] [dependencies] namada_core = { path = "../core" } namada_events = { path = "../events", default-features = false } -namada_gas = { path = "../gas" } namada_governance = { path = "../governance" } namada_macros = {path = "../macros"} namada_migrations = {path = "../migrations", optional = true} @@ -31,7 +30,6 @@ namada_parameters = { path = "../parameters" } namada_state = { path = "../state" } namada_storage = { path = "../storage" } namada_token = { path = "../token" } -namada_tx = { path = "../tx"} borsh.workspace = true konst.workspace = true diff --git a/crates/namada/Cargo.toml b/crates/namada/Cargo.toml index 3f500eb42c..9099bf663e 100644 --- a/crates/namada/Cargo.toml +++ b/crates/namada/Cargo.toml @@ -92,7 +92,6 @@ namada_ethereum_bridge = { path = "../ethereum_bridge", default-features = false namada_gas = { path = "../gas" } namada_governance = { path = "../governance" } namada_ibc = { path = "../ibc" } -namada_macros = { path = "../macros" } namada_migrations = { path = "../migrations", optional = true } namada_parameters = { path = "../parameters" } namada_proof_of_stake = { path = "../proof_of_stake" } @@ -106,48 +105,29 @@ namada_vote_ext = { path = "../vote_ext" } namada_vp_env = { path = "../vp_env" } async-trait = { version = "0.1.51", optional = true } -bimap.workspace = true borsh.workspace = true borsh-ext.workspace = true -circular-queue.workspace = true clru.workspace = true -data-encoding.workspace = true -derivation-path.workspace = true -derivative.workspace = true -ethbridge-bridge-contract.workspace = true ethers.workspace = true eyre.workspace = true -futures.workspace = true itertools.workspace = true -konst.workspace = true linkme = {workspace = true, optional = true} loupe = { version = "0.1.3", optional = true } masp_primitives.workspace = true masp_proofs.workspace = true -num256.workspace = true -num-traits.workspace = true -orion.workspace = true -owo-colors = "3.5.0" parity-wasm = { version = "0.45.0", features = ["sign_ext"], optional = true } -paste.workspace = true proptest = { workspace = true, optional = true } prost.workspace = true rand.workspace = true -rand_core.workspace = true rayon = { version = "=1.5.3", optional = true } -regex.workspace = true ripemd.workspace = true -serde.workspace = true serde_json.workspace = true sha2.workspace = true -slip10_ed25519.workspace = true smooth-operator.workspace = true tempfile = { version = "3.2.0", optional = true } tendermint-rpc = { workspace = true, optional = true } thiserror.workspace = true tiny-bip39.workspace = true -tiny-hderive.workspace = true -toml.workspace = true tracing.workspace = true uint = "0.9.5" wasm-instrument = { workspace = true, optional = true } @@ -157,10 +137,7 @@ wasmer-compiler-singlepass = { workspace = true, optional = true } wasmer-engine-dylib = { git = "https://github.com/heliaxdev/wasmer", rev = "255054f7f58b7b4a525f2fee6b9b86422d1ca15b", optional = true } wasmer-engine-universal = { workspace = true, optional = true } wasmer-vm = { git = "https://github.com/heliaxdev/wasmer", rev = "255054f7f58b7b4a525f2fee6b9b86422d1ca15b", optional = true } -# Greater versions break in `test_tx_stack_limiter` and `test_vp_stack_limiter` -wat = "=1.0.71" wasmparser.workspace = true -zeroize.workspace = true [target.'cfg(not(target_family = "wasm"))'.dependencies] tokio = { workspace = true, features = ["full"] } diff --git a/crates/parameters/Cargo.toml b/crates/parameters/Cargo.toml index 6be22eda9c..131f49118c 100644 --- a/crates/parameters/Cargo.toml +++ b/crates/parameters/Cargo.toml @@ -24,5 +24,4 @@ namada_core = { path = "../core" } namada_macros = { path = "../macros" } namada_storage = { path = "../storage" } -borsh.workspace = true thiserror.workspace = true diff --git a/crates/proof_of_stake/Cargo.toml b/crates/proof_of_stake/Cargo.toml index 578ed50d18..0bcb8a5c4d 100644 --- a/crates/proof_of_stake/Cargo.toml +++ b/crates/proof_of_stake/Cargo.toml @@ -34,10 +34,8 @@ namada_parameters = { path = "../parameters" } namada_trans_token = { path = "../trans_token" } borsh.workspace = true -data-encoding.workspace = true konst.workspace = true linkme = {workspace = true, optional = true} -num-traits.workspace = true once_cell.workspace = true proptest = { workspace = true, optional = true } serde.workspace = true diff --git a/crates/proof_of_stake/src/types/mod.rs b/crates/proof_of_stake/src/types/mod.rs index 936c17507a..6be5b78fdb 100644 --- a/crates/proof_of_stake/src/types/mod.rs +++ b/crates/proof_of_stake/src/types/mod.rs @@ -534,7 +534,8 @@ impl Position { } } -/// Validator's state. +/// Validator's state. May correspond to the validator set within which the +/// validator belongs. #[derive( Debug, Clone, @@ -547,19 +548,22 @@ impl Position { Eq, )] pub enum ValidatorState { - /// A validator who may participate in the consensus + /// A validator who may participate in the consensus and is one of the top + /// `max_validator_slots` validators with stake above + /// `validator_stake_threshold` Consensus, - /// A validator who does not have enough stake to be considered in the - /// `Consensus` validator set but still may have active bonds and unbonds + /// A validator who has stake greater than the `validator_stake_threshold` + /// but is not one of the top `max_validator_slots` validators who have + /// such stake BelowCapacity, /// A validator who has stake less than the `validator_stake_threshold` /// parameter BelowThreshold, /// A validator who is deactivated via a tx when a validator no longer - /// wants to be one (not implemented yet) + /// wants to be considered for consensus Inactive, - /// A `Jailed` validator has been prohibited from participating in - /// consensus due to a misbehavior + /// A validator who is prohibited from participating in + /// consensus due to a misbehavior or downtime Jailed, } diff --git a/crates/sdk/Cargo.toml b/crates/sdk/Cargo.toml index d681124f8e..c408e74085 100644 --- a/crates/sdk/Cargo.toml +++ b/crates/sdk/Cargo.toml @@ -126,7 +126,6 @@ serde_json.workspace = true sha2.workspace = true slip10_ed25519.workspace = true smooth-operator.workspace = true -tendermint-config.workspace = true tendermint-rpc = { workspace = true, optional = true } thiserror.workspace = true tiny-bip39.workspace = true diff --git a/crates/shielded_token/Cargo.toml b/crates/shielded_token/Cargo.toml index 567ec8a239..c9d7618ab9 100644 --- a/crates/shielded_token/Cargo.toml +++ b/crates/shielded_token/Cargo.toml @@ -23,7 +23,6 @@ namada_core = { path = "../core" } namada_parameters = { path = "../parameters" } namada_storage = { path = "../storage" } namada_trans_token = { path = "../trans_token" } -namada_tx = { path = "../tx" } borsh.workspace = true masp_primitives.workspace = true diff --git a/crates/state/Cargo.toml b/crates/state/Cargo.toml index 69c34303af..56a80b261a 100644 --- a/crates/state/Cargo.toml +++ b/crates/state/Cargo.toml @@ -39,15 +39,11 @@ namada_replay_protection = { path = "../replay_protection" } namada_storage = { path = "../storage" } namada_tx = { path = "../tx" } -arse-merkle-tree.workspace = true borsh.workspace = true -ics23.workspace = true itertools.workspace = true linkme = {workspace = true, optional = true} -sha2.workspace = true smooth-operator.workspace = true thiserror.workspace = true -tiny-keccak.workspace = true tracing.workspace = true patricia_tree.workspace = true proptest = { workspace = true, optional = true } diff --git a/crates/storage/Cargo.toml b/crates/storage/Cargo.toml index 470c72caf8..6612b42dbb 100644 --- a/crates/storage/Cargo.toml +++ b/crates/storage/Cargo.toml @@ -33,7 +33,6 @@ borsh.workspace = true itertools.workspace = true linkme = {workspace = true, optional = true} regex.workspace = true -serde.workspace = true smooth-operator.workspace = true thiserror.workspace = true tracing.workspace = true diff --git a/crates/tests/Cargo.toml b/crates/tests/Cargo.toml index 75a2fbc0c9..6c76c5d816 100644 --- a/crates/tests/Cargo.toml +++ b/crates/tests/Cargo.toml @@ -37,29 +37,21 @@ namada_sdk = {path = "../sdk", default-features = false, features = ["tendermint namada_test_utils = {path = "../test_utils"} namada_tx_prelude = {path = "../tx_prelude"} namada_vp_prelude = {path = "../vp_prelude"} -async-trait.workspace = true -chrono.workspace = true concat-idents.workspace = true derivative.workspace = true -flate2.workspace = true hyper = {version = "0.14.20", features = ["full"]} ibc-testkit.workspace = true ics23.workspace = true itertools.workspace = true -lazy_static.workspace = true -num-traits.workspace = true proptest.workspace = true prost.workspace = true regex.workspace = true serde.workspace = true serde_json.workspace = true sha2.workspace = true -tar.workspace = true tempfile.workspace = true test-log.workspace = true tokio = {workspace = true, features = ["full"]} -tracing-subscriber.workspace = true -tracing.workspace = true [dev-dependencies] namada_apps_lib = {path = "../apps_lib", features = ["testing"]} @@ -75,11 +67,13 @@ data-encoding.workspace = true escargot = {workspace = true} # , features = ["print"]} expectrl.workspace = true eyre.workspace = true +flate2.workspace = true fs_extra.workspace = true once_cell.workspace = true pretty_assertions.workspace = true proptest-state-machine.workspace = true rand.workspace = true +tar.workspace = true tendermint-light-client.workspace = true test-log.workspace = true toml.workspace = true diff --git a/crates/tx_prelude/Cargo.toml b/crates/tx_prelude/Cargo.toml index 58c57ba5bf..83f5423f69 100644 --- a/crates/tx_prelude/Cargo.toml +++ b/crates/tx_prelude/Cargo.toml @@ -33,8 +33,6 @@ namada_vm_env = { path = "../vm_env" } borsh.workspace = true masp_primitives.workspace = true -sha2.workspace = true -thiserror.workspace = true [dev-dependencies] namada_token = { path = "../token", features = ["testing"] } diff --git a/crates/vp_env/Cargo.toml b/crates/vp_env/Cargo.toml index 29045213aa..e21b44ab11 100644 --- a/crates/vp_env/Cargo.toml +++ b/crates/vp_env/Cargo.toml @@ -22,4 +22,3 @@ namada_ibc = { path = "../ibc" } derivative.workspace = true masp_primitives.workspace = true smooth-operator.workspace = true -thiserror.workspace = true diff --git a/crates/vp_prelude/Cargo.toml b/crates/vp_prelude/Cargo.toml index a06c529d6a..e1275442c7 100644 --- a/crates/vp_prelude/Cargo.toml +++ b/crates/vp_prelude/Cargo.toml @@ -32,4 +32,3 @@ namada_vp_env = { path = "../vp_env" } borsh.workspace = true sha2.workspace = true -thiserror.workspace = true diff --git a/examples/Cargo.toml b/examples/Cargo.toml index a95700f17a..031e04248c 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -42,6 +42,3 @@ data-encoding.workspace = true proptest.workspace = true serde_json.workspace = true tokio = {workspace = true, default-features = false} - -[dependencies] -regex.workspace = true diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 2a00208e8a..479e40076d 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -1893,18 +1893,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "filetime" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "windows-sys 0.52.0", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -1923,16 +1911,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" -[[package]] -name = "flate2" -version = "1.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - [[package]] name = "flex-error" version = "0.4.4" @@ -3569,20 +3547,12 @@ name = "namada" version = "0.37.0" dependencies = [ "async-trait", - "bimap", "borsh 1.4.0", "borsh-ext", - "circular-queue", "clru", - "data-encoding", - "derivation-path", - "derivative", - "ethbridge-bridge-contract", "ethers", "eyre", - "futures", "itertools 0.12.1", - "konst", "linkme", "loupe", "masp_primitives", @@ -3594,7 +3564,6 @@ dependencies = [ "namada_gas", "namada_governance", "namada_ibc", - "namada_macros", "namada_migrations", "namada_parameters", "namada_proof_of_stake", @@ -3606,30 +3575,19 @@ dependencies = [ "namada_tx_env", "namada_vote_ext", "namada_vp_env", - "num-traits 0.2.17", - "num256", - "orion", - "owo-colors", "parity-wasm", - "paste", "proptest", "prost", "rand 0.8.5", - "rand_core 0.6.4", "rayon", - "regex", "ripemd", - "serde", "serde_json", "sha2 0.9.9", - "slip10_ed25519", "smooth-operator", "tempfile", "thiserror", "tiny-bip39", - "tiny-hderive", "tokio", - "toml 0.5.11", "tracing", "uint", "wasm-instrument", @@ -3641,8 +3599,6 @@ dependencies = [ "wasmer-vm", "wasmparser 0.107.0", "wasmtimer", - "wat", - "zeroize", ] [[package]] @@ -3720,7 +3676,6 @@ name = "namada_ethereum_bridge" version = "0.37.0" dependencies = [ "borsh 1.4.0", - "ethabi", "ethers", "eyre", "itertools 0.12.1", @@ -3738,11 +3693,7 @@ dependencies = [ "namada_trans_token", "namada_tx", "namada_vote_ext", - "rand 0.8.5", "serde", - "serde_json", - "tendermint 0.36.0", - "tendermint-proto 0.36.0", "thiserror", "tracing", ] @@ -3812,14 +3763,12 @@ dependencies = [ "masp_primitives", "namada_core", "namada_events", - "namada_gas", "namada_governance", "namada_macros", "namada_parameters", "namada_state", "namada_storage", "namada_token", - "namada_tx", "primitive-types", "proptest", "prost", @@ -3868,7 +3817,6 @@ dependencies = [ name = "namada_parameters" version = "0.37.0" dependencies = [ - "borsh 1.4.0", "namada_core", "namada_macros", "namada_storage", @@ -3880,7 +3828,6 @@ name = "namada_proof_of_stake" version = "0.37.0" dependencies = [ "borsh 1.4.0", - "data-encoding", "konst", "linkme", "namada_account", @@ -3893,7 +3840,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "num-traits 0.2.17", "once_cell", "proptest", "serde", @@ -3966,7 +3912,6 @@ dependencies = [ "sha2 0.9.9", "slip10_ed25519", "smooth-operator", - "tendermint-config", "tendermint-rpc", "thiserror", "tiny-bip39", @@ -3989,7 +3934,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "namada_tx", "serde", "smooth-operator", "tracing", @@ -4000,7 +3944,6 @@ name = "namada_state" version = "0.37.0" dependencies = [ "borsh 1.4.0", - "ics23", "itertools 0.12.1", "linkme", "namada_core", @@ -4015,11 +3958,8 @@ dependencies = [ "namada_tx", "patricia_tree", "proptest", - "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "thiserror", - "tiny-keccak", "tracing", ] @@ -4036,7 +3976,6 @@ dependencies = [ "namada_migrations", "namada_replay_protection", "regex", - "serde", "smooth-operator", "thiserror", "tracing", @@ -4055,35 +3994,27 @@ dependencies = [ name = "namada_tests" version = "0.37.0" dependencies = [ - "async-trait", - "chrono", "concat-idents", "derivative", - "flate2", "hyper", "ibc-testkit", "ics23", "itertools 0.12.1", - "lazy_static", "namada", "namada_core", "namada_sdk", "namada_test_utils", "namada_tx_prelude", "namada_vp_prelude", - "num-traits 0.2.17", "proptest", "prost", "regex", "serde", "serde_json", "sha2 0.9.9", - "tar", "tempfile", "test-log", "tokio", - "tracing", - "tracing-subscriber", ] [[package]] @@ -4163,8 +4094,6 @@ dependencies = [ "namada_tx", "namada_tx_env", "namada_vm_env", - "sha2 0.9.9", - "thiserror", ] [[package]] @@ -4201,7 +4130,6 @@ dependencies = [ "namada_storage", "namada_tx", "smooth-operator", - "thiserror", ] [[package]] @@ -4223,7 +4151,6 @@ dependencies = [ "namada_vm_env", "namada_vp_env", "sha2 0.9.9", - "thiserror", ] [[package]] @@ -5997,17 +5924,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "tar" -version = "0.4.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" -dependencies = [ - "filetime", - "libc", - "xattr", -] - [[package]] name = "target-lexicon" version = "0.12.12" @@ -7750,17 +7666,6 @@ dependencies = [ "tap", ] -[[package]] -name = "xattr" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" -dependencies = [ - "libc", - "linux-raw-sys", - "rustix", -] - [[package]] name = "zcash_encoding" version = "0.2.0" diff --git a/wasm_for_tests/Cargo.lock b/wasm_for_tests/Cargo.lock index 59aa30e730..85a3a3db7f 100644 --- a/wasm_for_tests/Cargo.lock +++ b/wasm_for_tests/Cargo.lock @@ -1893,18 +1893,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "filetime" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "windows-sys 0.52.0", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -1923,16 +1911,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" -[[package]] -name = "flate2" -version = "1.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - [[package]] name = "flex-error" version = "0.4.4" @@ -3549,20 +3527,12 @@ name = "namada" version = "0.37.0" dependencies = [ "async-trait", - "bimap", "borsh 1.2.1", "borsh-ext", - "circular-queue", "clru", - "data-encoding", - "derivation-path", - "derivative", - "ethbridge-bridge-contract", "ethers", "eyre", - "futures", "itertools 0.12.1", - "konst", "loupe", "masp_primitives", "masp_proofs", @@ -3573,7 +3543,6 @@ dependencies = [ "namada_gas", "namada_governance", "namada_ibc", - "namada_macros", "namada_parameters", "namada_proof_of_stake", "namada_replay_protection", @@ -3584,30 +3553,19 @@ dependencies = [ "namada_tx_env", "namada_vote_ext", "namada_vp_env", - "num-traits 0.2.17", - "num256", - "orion", - "owo-colors", "parity-wasm", - "paste", "proptest", "prost", "rand 0.8.5", - "rand_core 0.6.4", "rayon", - "regex", "ripemd", - "serde", "serde_json", "sha2 0.9.9", - "slip10_ed25519", "smooth-operator", "tempfile", "thiserror", "tiny-bip39", - "tiny-hderive", "tokio", - "toml 0.5.11", "tracing", "uint", "wasm-instrument", @@ -3619,8 +3577,6 @@ dependencies = [ "wasmer-vm", "wasmparser 0.107.0", "wasmtimer", - "wat", - "zeroize", ] [[package]] @@ -3694,7 +3650,6 @@ name = "namada_ethereum_bridge" version = "0.37.0" dependencies = [ "borsh 1.2.1", - "ethabi", "ethers", "eyre", "itertools 0.12.1", @@ -3710,11 +3665,7 @@ dependencies = [ "namada_trans_token", "namada_tx", "namada_vote_ext", - "rand 0.8.5", "serde", - "serde_json", - "tendermint 0.36.0", - "tendermint-proto 0.36.0", "thiserror", "tracing", ] @@ -3778,14 +3729,12 @@ dependencies = [ "masp_primitives", "namada_core", "namada_events", - "namada_gas", "namada_governance", "namada_macros", "namada_parameters", "namada_state", "namada_storage", "namada_token", - "namada_tx", "primitive-types", "proptest", "prost", @@ -3825,7 +3774,6 @@ dependencies = [ name = "namada_parameters" version = "0.37.0" dependencies = [ - "borsh 1.2.1", "namada_core", "namada_macros", "namada_storage", @@ -3837,7 +3785,6 @@ name = "namada_proof_of_stake" version = "0.37.0" dependencies = [ "borsh 1.2.1", - "data-encoding", "konst", "namada_account", "namada_controller", @@ -3848,7 +3795,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "num-traits 0.2.17", "once_cell", "proptest", "serde", @@ -3919,7 +3865,6 @@ dependencies = [ "sha2 0.9.9", "slip10_ed25519", "smooth-operator", - "tendermint-config", "tendermint-rpc", "thiserror", "tiny-bip39", @@ -3942,7 +3887,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "namada_tx", "serde", "smooth-operator", "tracing", @@ -3953,7 +3897,6 @@ name = "namada_state" version = "0.37.0" dependencies = [ "borsh 1.2.1", - "ics23", "itertools 0.12.1", "namada_core", "namada_events", @@ -3966,11 +3909,8 @@ dependencies = [ "namada_tx", "patricia_tree", "proptest", - "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "thiserror", - "tiny-keccak", "tracing", ] @@ -3985,7 +3925,6 @@ dependencies = [ "namada_merkle_tree", "namada_replay_protection", "regex", - "serde", "smooth-operator", "thiserror", "tracing", @@ -4004,35 +3943,27 @@ dependencies = [ name = "namada_tests" version = "0.37.0" dependencies = [ - "async-trait", - "chrono", "concat-idents", "derivative", - "flate2", "hyper", "ibc-testkit", "ics23", "itertools 0.12.1", - "lazy_static", "namada", "namada_core", "namada_sdk", "namada_test_utils", "namada_tx_prelude", "namada_vp_prelude", - "num-traits 0.2.17", "proptest", "prost", "regex", "serde", "serde_json", "sha2 0.9.9", - "tar", "tempfile", "test-log", "tokio", - "tracing", - "tracing-subscriber", ] [[package]] @@ -4110,8 +4041,6 @@ dependencies = [ "namada_tx", "namada_tx_env", "namada_vm_env", - "sha2 0.9.9", - "thiserror", ] [[package]] @@ -4146,7 +4075,6 @@ dependencies = [ "namada_storage", "namada_tx", "smooth-operator", - "thiserror", ] [[package]] @@ -4168,7 +4096,6 @@ dependencies = [ "namada_vm_env", "namada_vp_env", "sha2 0.9.9", - "thiserror", ] [[package]] @@ -5934,17 +5861,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "tar" -version = "0.4.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" -dependencies = [ - "filetime", - "libc", - "xattr", -] - [[package]] name = "target-lexicon" version = "0.12.12" @@ -6521,10 +6437,8 @@ name = "tx_fail" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6537,10 +6451,8 @@ name = "tx_infinite_guest_gas" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6553,10 +6465,8 @@ name = "tx_infinite_host_gas" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6569,10 +6479,8 @@ name = "tx_invalid_data" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6585,10 +6493,8 @@ name = "tx_memory_limit" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6601,10 +6507,8 @@ name = "tx_no_op" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6617,10 +6521,8 @@ name = "tx_proposal_code" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6633,10 +6535,8 @@ name = "tx_proposal_ibc_token_inflation" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6649,10 +6549,8 @@ name = "tx_proposal_masp_reward" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6665,10 +6563,8 @@ name = "tx_read_storage_key" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6684,7 +6580,6 @@ dependencies = [ "namada_test_utils", "namada_tests", "namada_tx_prelude", - "namada_vp_prelude", "proptest", "test-log", "tracing", @@ -6850,9 +6745,7 @@ name = "vp_always_false" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", - "namada_tx_prelude", "namada_vp_prelude", "proptest", "test-log", @@ -6866,9 +6759,7 @@ name = "vp_always_true" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", - "namada_tx_prelude", "namada_vp_prelude", "proptest", "test-log", @@ -6882,7 +6773,6 @@ name = "vp_eval" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", "namada_vp_prelude", @@ -6898,9 +6788,7 @@ name = "vp_infinite_guest_gas" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", - "namada_tx_prelude", "namada_vp_prelude", "proptest", "test-log", @@ -6914,7 +6802,6 @@ name = "vp_infinite_host_gas" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", "namada_tx_prelude", "namada_vp_prelude", @@ -6930,9 +6817,7 @@ name = "vp_memory_limit" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", - "namada_tx_prelude", "namada_vp_prelude", "proptest", "test-log", @@ -6946,9 +6831,7 @@ name = "vp_read_storage_key" version = "0.37.0" dependencies = [ "getrandom 0.2.11", - "namada_test_utils", "namada_tests", - "namada_tx_prelude", "namada_vp_prelude", "proptest", "test-log", @@ -7692,17 +7575,6 @@ dependencies = [ "tap", ] -[[package]] -name = "xattr" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" -dependencies = [ - "libc", - "linux-raw-sys", - "rustix", -] - [[package]] name = "zcash_encoding" version = "0.2.0" diff --git a/wasm_for_tests/tx_fail/Cargo.toml b/wasm_for_tests/tx_fail/Cargo.toml index 1662428c00..2ae4e5cd52 100644 --- a/wasm_for_tests/tx_fail/Cargo.toml +++ b/wasm_for_tests/tx_fail/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_infinite_guest_gas/Cargo.toml b/wasm_for_tests/tx_infinite_guest_gas/Cargo.toml index 18bc81e956..1137483628 100644 --- a/wasm_for_tests/tx_infinite_guest_gas/Cargo.toml +++ b/wasm_for_tests/tx_infinite_guest_gas/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_infinite_host_gas/Cargo.toml b/wasm_for_tests/tx_infinite_host_gas/Cargo.toml index dd78ce23f2..d276e9f168 100644 --- a/wasm_for_tests/tx_infinite_host_gas/Cargo.toml +++ b/wasm_for_tests/tx_infinite_host_gas/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_invalid_data/Cargo.toml b/wasm_for_tests/tx_invalid_data/Cargo.toml index a228c741be..7c4eefed9b 100644 --- a/wasm_for_tests/tx_invalid_data/Cargo.toml +++ b/wasm_for_tests/tx_invalid_data/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_memory_limit/Cargo.toml b/wasm_for_tests/tx_memory_limit/Cargo.toml index 9e7206bdaf..8e15579717 100644 --- a/wasm_for_tests/tx_memory_limit/Cargo.toml +++ b/wasm_for_tests/tx_memory_limit/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_no_op/Cargo.toml b/wasm_for_tests/tx_no_op/Cargo.toml index 1edd8f9513..3860bf7b6f 100644 --- a/wasm_for_tests/tx_no_op/Cargo.toml +++ b/wasm_for_tests/tx_no_op/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_proposal_code/Cargo.toml b/wasm_for_tests/tx_proposal_code/Cargo.toml index 9fb447f057..22ff69bea5 100644 --- a/wasm_for_tests/tx_proposal_code/Cargo.toml +++ b/wasm_for_tests/tx_proposal_code/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_proposal_ibc_token_inflation.wasm b/wasm_for_tests/tx_proposal_ibc_token_inflation.wasm index ef853e4f30..9e73e3244e 100755 Binary files a/wasm_for_tests/tx_proposal_ibc_token_inflation.wasm and b/wasm_for_tests/tx_proposal_ibc_token_inflation.wasm differ diff --git a/wasm_for_tests/tx_proposal_ibc_token_inflation/Cargo.toml b/wasm_for_tests/tx_proposal_ibc_token_inflation/Cargo.toml index 8116c055d6..79f197680b 100644 --- a/wasm_for_tests/tx_proposal_ibc_token_inflation/Cargo.toml +++ b/wasm_for_tests/tx_proposal_ibc_token_inflation/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_proposal_masp_reward.wasm b/wasm_for_tests/tx_proposal_masp_reward.wasm index b26cbcc89e..d395c65d3b 100755 Binary files a/wasm_for_tests/tx_proposal_masp_reward.wasm and b/wasm_for_tests/tx_proposal_masp_reward.wasm differ diff --git a/wasm_for_tests/tx_proposal_masp_reward/Cargo.toml b/wasm_for_tests/tx_proposal_masp_reward/Cargo.toml index ba52a8b614..ae7a78f254 100644 --- a/wasm_for_tests/tx_proposal_masp_reward/Cargo.toml +++ b/wasm_for_tests/tx_proposal_masp_reward/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_read_storage_key.wasm b/wasm_for_tests/tx_read_storage_key.wasm index 724f2a45c1..c513be5eb3 100755 Binary files a/wasm_for_tests/tx_read_storage_key.wasm and b/wasm_for_tests/tx_read_storage_key.wasm differ diff --git a/wasm_for_tests/tx_read_storage_key/Cargo.toml b/wasm_for_tests/tx_read_storage_key/Cargo.toml index 195c76f3e8..56c019aed4 100644 --- a/wasm_for_tests/tx_read_storage_key/Cargo.toml +++ b/wasm_for_tests/tx_read_storage_key/Cargo.toml @@ -9,9 +9,7 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/tx_write.wasm b/wasm_for_tests/tx_write.wasm index e2ac390dbe..ecf5c65851 100755 Binary files a/wasm_for_tests/tx_write.wasm and b/wasm_for_tests/tx_write.wasm differ diff --git a/wasm_for_tests/tx_write/Cargo.toml b/wasm_for_tests/tx_write/Cargo.toml index d26ec28930..d75c02a681 100644 --- a/wasm_for_tests/tx_write/Cargo.toml +++ b/wasm_for_tests/tx_write/Cargo.toml @@ -11,7 +11,6 @@ version.workspace = true [dependencies] namada_test_utils.workspace = true namada_tx_prelude.workspace = true -namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/vp_always_false.wasm b/wasm_for_tests/vp_always_false.wasm index 86dac8f462..759a607694 100755 Binary files a/wasm_for_tests/vp_always_false.wasm and b/wasm_for_tests/vp_always_false.wasm differ diff --git a/wasm_for_tests/vp_always_false/Cargo.toml b/wasm_for_tests/vp_always_false/Cargo.toml index 65b36fb190..7c8a540bc8 100644 --- a/wasm_for_tests/vp_always_false/Cargo.toml +++ b/wasm_for_tests/vp_always_false/Cargo.toml @@ -9,8 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true -namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/vp_always_true/Cargo.toml b/wasm_for_tests/vp_always_true/Cargo.toml index 6ba4a1a14c..a02dc408d9 100644 --- a/wasm_for_tests/vp_always_true/Cargo.toml +++ b/wasm_for_tests/vp_always_true/Cargo.toml @@ -9,8 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true -namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/vp_eval/Cargo.toml b/wasm_for_tests/vp_eval/Cargo.toml index 77d5ae8f66..ad75f9b460 100644 --- a/wasm_for_tests/vp_eval/Cargo.toml +++ b/wasm_for_tests/vp_eval/Cargo.toml @@ -9,7 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true diff --git a/wasm_for_tests/vp_infinite_guest_gas.wasm b/wasm_for_tests/vp_infinite_guest_gas.wasm index 3a7d8b8471..ef15c1b341 100755 Binary files a/wasm_for_tests/vp_infinite_guest_gas.wasm and b/wasm_for_tests/vp_infinite_guest_gas.wasm differ diff --git a/wasm_for_tests/vp_infinite_guest_gas/Cargo.toml b/wasm_for_tests/vp_infinite_guest_gas/Cargo.toml index 674646e6c0..94d2ce5285 100644 --- a/wasm_for_tests/vp_infinite_guest_gas/Cargo.toml +++ b/wasm_for_tests/vp_infinite_guest_gas/Cargo.toml @@ -9,8 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true -namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/vp_infinite_host_gas/Cargo.toml b/wasm_for_tests/vp_infinite_host_gas/Cargo.toml index bec1ef23ee..0f918678d6 100644 --- a/wasm_for_tests/vp_infinite_host_gas/Cargo.toml +++ b/wasm_for_tests/vp_infinite_host_gas/Cargo.toml @@ -9,7 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true diff --git a/wasm_for_tests/vp_memory_limit.wasm b/wasm_for_tests/vp_memory_limit.wasm index 5a66580cd6..11145a4f5f 100755 Binary files a/wasm_for_tests/vp_memory_limit.wasm and b/wasm_for_tests/vp_memory_limit.wasm differ diff --git a/wasm_for_tests/vp_memory_limit/Cargo.toml b/wasm_for_tests/vp_memory_limit/Cargo.toml index ed9c0894b9..8f208251a0 100644 --- a/wasm_for_tests/vp_memory_limit/Cargo.toml +++ b/wasm_for_tests/vp_memory_limit/Cargo.toml @@ -9,8 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true -namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/vp_read_storage_key/Cargo.toml b/wasm_for_tests/vp_read_storage_key/Cargo.toml index 6ba5fc315e..5261f3e598 100644 --- a/wasm_for_tests/vp_read_storage_key/Cargo.toml +++ b/wasm_for_tests/vp_read_storage_key/Cargo.toml @@ -9,8 +9,6 @@ version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -namada_test_utils.workspace = true -namada_tx_prelude.workspace = true namada_vp_prelude.workspace = true wee_alloc.workspace = true getrandom.workspace = true diff --git a/wasm_for_tests/wasm_source/Cargo.toml b/wasm_for_tests/wasm_source/Cargo.toml deleted file mode 100644 index 85bc53973d..0000000000 --- a/wasm_for_tests/wasm_source/Cargo.toml +++ /dev/null @@ -1,48 +0,0 @@ -[package] -authors = ["Heliax AG "] -edition = "2021" -license = "GPL-3.0" -name = "namada_wasm_for_tests" -resolver = "2" -version = "0.32.1" - -[lib] -crate-type = ["cdylib"] - -# The features should be used individually to build the selected wasm. -# Newly added wasms should also be added into the Makefile `$(wasms)` list. -[features] -tx_fail = [] -tx_infinite_guest_gas = [] -tx_infinite_host_gas = [] -tx_invalid_data = [] -tx_memory_limit = [] -tx_no_op = [] -tx_proposal_code = [] -tx_proposal_ibc_token_inflation = [] -tx_proposal_masp_reward = [] -tx_read_storage_key = [] -tx_write = [] -vp_always_false = [] -vp_always_true = [] -vp_eval = [] -vp_infinite_guest_gas = [] -vp_infinite_host_gas = [] -vp_memory_limit = [] -vp_read_storage_key = [] - -[dependencies] -namada_test_utils = {path = "../../crates/test_utils"} -namada_tx_prelude = {path = "../../crates/tx_prelude"} -namada_vp_prelude = {path = "../../crates/vp_prelude"} -wee_alloc = "0.4.5" -getrandom = { version = "0.2", features = ["custom"] } - -[dev-dependencies] -namada_tests = {path = "../../crates/tests", default-features = false, features = ["wasm-runtime"]} - -[profile.release] -# smaller and faster wasm https://rustwasm.github.io/book/reference/code-size.html#compiling-with-link-time-optimizations-lto -lto = true -# simply terminate on panics, no unwinding -panic = "abort"