diff --git a/crates/sui-crypto/Cargo.toml b/crates/sui-crypto/Cargo.toml index c5cec4e40..b6da3c94e 100644 --- a/crates/sui-crypto/Cargo.toml +++ b/crates/sui-crypto/Cargo.toml @@ -94,10 +94,7 @@ hex = "0.4.3" serde_json = { version = "1.0.128" } # proptest support in tests -# -# Pin to this specific commit in order to work around an issue where proptest doesn't build properly in wasm environments -# see https://github.com/proptest-rs/proptest/pull/270 for more info -proptest = { git = "https://github.com/bmwill/proptest.git", rev = "bc36db126183bce18c8bc595f0c0cfeac48b870c", default-features = false, features = ["std"] } +proptest = { version = "1.6.0", default-features = false, features = ["std"], optional = true } test-strategy = "0.4.0" [target.wasm32-unknown-unknown.dev-dependencies] diff --git a/crates/sui-sdk-types/Cargo.toml b/crates/sui-sdk-types/Cargo.toml index 80986fabe..271db2a80 100644 --- a/crates/sui-sdk-types/Cargo.toml +++ b/crates/sui-sdk-types/Cargo.toml @@ -50,7 +50,7 @@ rand_core = { version = "0.6.4", optional = true } blake2 = { version = "0.10.6", optional = true } # proptest support -proptest = { version = "1.5.0", default-features = false, features = ["std"], optional = true } +proptest = { version = "1.6.0", default-features = false, features = ["std"], optional = true } test-strategy = { version = "0.4", optional = true } [dev-dependencies] diff --git a/crates/sui-sdk-types/Makefile b/crates/sui-sdk-types/Makefile index ff15371b7..79a9868bb 100644 --- a/crates/sui-sdk-types/Makefile +++ b/crates/sui-sdk-types/Makefile @@ -12,20 +12,12 @@ clippy: .PHONY: test test: - # Note on proptest: - # - # Pin to this specific commit in order to work around an issue where proptest doesn't build properly in wasm environments - # see https://github.com/proptest-rs/proptest/pull/270 for more info - cargo nextest run --all-features --config 'patch.crates-io.proptest.git="https://github.com/bmwill/proptest.git"' --config 'patch.crates-io.proptest.rev="0a140789d25f4999632b8b88aedb1e2ba056151d"' + cargo nextest run --all-features cargo test --doc .PHONY: wasm wasm: - # Note on proptest: - # - # Pin to this specific commit in order to work around an issue where proptest doesn't build properly in wasm environments - # see https://github.com/proptest-rs/proptest/pull/270 for more info - CC=clang wasm-pack test --node --all-features --config 'patch.crates-io.proptest.git="https://github.com/bmwill/proptest.git"' --config 'patch.crates-io.proptest.rev="0a140789d25f4999632b8b88aedb1e2ba056151d"' + CC=clang wasm-pack test --node %: $(MAKE) -C ../.. $@