Skip to content

Commit

Permalink
Removes dev dependencies from wasm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Aug 20, 2024
1 parent d95bfbc commit c11f68c
Show file tree
Hide file tree
Showing 20 changed files with 1,937 additions and 5,956 deletions.
7,740 changes: 1,936 additions & 5,804 deletions wasm_for_tests/Cargo.lock

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions wasm_for_tests/tx_fail/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,11 @@ version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

# FIXME: also check these normal deps for all the wasm for tests
[dependencies]
namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_infinite_guest_gas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_infinite_host_gas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_invalid_data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_memory_limit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_no_op/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_proposal_code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,5 @@ namada_proof_of_stake.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_proposal_ibc_client_upgrade/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_proposal_ibc_token_inflation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_proposal_masp_reward/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_read_storage_key/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/tx_write/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,5 @@ namada_tx_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_always_false/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_always_true/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_eval/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_infinite_guest_gas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_infinite_host_gas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_memory_limit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]
8 changes: 0 additions & 8 deletions wasm_for_tests/vp_read_storage_key/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ namada_vp_prelude.workspace = true
rlsf.workspace = true
getrandom.workspace = true

[dev-dependencies]
namada_tests = { path = "../../crates/tests" }

proptest = "1.4.0"
test-log = {version = "0.2.14", default-features = false, features = ["trace"]}
tracing = "0.1.30"
tracing-subscriber = {version = "0.3.7", default-features = false, features = ["env-filter", "fmt"]}

[lib]
crate-type = ["cdylib"]

0 comments on commit c11f68c

Please sign in to comment.