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' }