From 533f71d9258015af5407150110003ac19e9ac9d3 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Fri, 5 Apr 2024 15:15:01 -0700 Subject: [PATCH] patch manifests to fix yanked crate secp256k1, minor version update to toolchain --- Cargo.toml | 7 ++++++- integration-tests/rs/Cargo.toml | 5 +++++ nft/Cargo.toml | 7 ++++++- rust-toolchain.toml | 2 +- test-approval-receiver/Cargo.toml | 7 ++++++- test-token-receiver/Cargo.toml | 7 ++++++- 6 files changed, 30 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 533114c3..498d1c37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,9 @@ members = [ ] exclude = [ "integration-tests" -] \ No newline at end of file +] + +# This can be removed when near-sdk is updated +# Unfortuantely, this crate was yanked by the author and this is needed +[patch.crates-io] +parity-secp256k1 = { git = 'https://github.com/paritytech/rust-secp256k1.git' } diff --git a/integration-tests/rs/Cargo.toml b/integration-tests/rs/Cargo.toml index abe55819..43a19a88 100644 --- a/integration-tests/rs/Cargo.toml +++ b/integration-tests/rs/Cargo.toml @@ -21,3 +21,8 @@ pkg-config = "0.3.1" [[example]] name = "integration-tests" path = "src/tests.rs" + +# This can be removed when near-sdk is updated +# Unfortuantely, this crate was yanked by the author and this is needed +[patch.crates-io] +parity-secp256k1 = { git = 'https://github.com/paritytech/rust-secp256k1.git' } diff --git a/nft/Cargo.toml b/nft/Cargo.toml index e031027a..48051950 100644 --- a/nft/Cargo.toml +++ b/nft/Cargo.toml @@ -9,4 +9,9 @@ crate-type = ["cdylib", "rlib"] [dependencies] near-sdk = "4.1.1" -near-contract-standards = "4.1.1" \ No newline at end of file +near-contract-standards = "4.1.1" + +# This can be removed when near-sdk is updated +# Unfortuantely, this crate was yanked by the author and this is needed +[patch.crates-io] +parity-secp256k1 = { git = 'https://github.com/paritytech/rust-secp256k1.git' } diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 02ad72fb..9bd96214 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.69" \ No newline at end of file +channel = "1.70" \ No newline at end of file diff --git a/test-approval-receiver/Cargo.toml b/test-approval-receiver/Cargo.toml index 541e77ae..e3adcdf3 100644 --- a/test-approval-receiver/Cargo.toml +++ b/test-approval-receiver/Cargo.toml @@ -9,4 +9,9 @@ crate-type = ["cdylib", "rlib"] [dependencies] near-sdk = "4.1.1" -near-contract-standards = "4.1.1" \ No newline at end of file +near-contract-standards = "4.1.1" + +# This can be removed when near-sdk is updated +# Unfortuantely, this crate was yanked by the author and this is needed +[patch.crates-io] +parity-secp256k1 = { git = 'https://github.com/paritytech/rust-secp256k1.git' } diff --git a/test-token-receiver/Cargo.toml b/test-token-receiver/Cargo.toml index 2bc1db29..4af0925f 100644 --- a/test-token-receiver/Cargo.toml +++ b/test-token-receiver/Cargo.toml @@ -9,4 +9,9 @@ crate-type = ["cdylib", "rlib"] [dependencies] near-sdk = "4.1.1" -near-contract-standards = "4.1.1" \ No newline at end of file +near-contract-standards = "4.1.1" + +# This can be removed when near-sdk is updated +# Unfortuantely, this crate was yanked by the author and this is needed +[patch.crates-io] +parity-secp256k1 = { git = 'https://github.com/paritytech/rust-secp256k1.git' }