Skip to content

Commit 9e0c01f

Browse files
committed
Add patch to test contracts
1 parent 0a65050 commit 9e0c01f

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

near-plugins-derive/tests/contracts/access_controllable/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ panic = "abort"
1919
overflow-checks = true
2020

2121
[workspace]
22+
23+
# Required to build tests with near-sdk v4.1.1, see #128.
24+
# TODO(#125): Remove after upgrading to near-sdk v5.
25+
[patch.crates-io]
26+
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", rev = "parity-secp256k1-v0.7.0"}

near-plugins-derive/tests/contracts/ownable/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ panic = "abort"
1919
overflow-checks = true
2020

2121
[workspace]
22+
23+
# Required to build tests with near-sdk v4.1.1, see #128.
24+
# TODO(#125): Remove after upgrading to near-sdk v5.
25+
[patch.crates-io]
26+
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", rev = "parity-secp256k1-v0.7.0"}

near-plugins-derive/tests/contracts/pausable/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ panic = "abort"
1919
overflow-checks = true
2020

2121
[workspace]
22+
23+
# Required to build tests with near-sdk v4.1.1, see #128.
24+
# TODO(#125): Remove after upgrading to near-sdk v5.
25+
[patch.crates-io]
26+
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", rev = "parity-secp256k1-v0.7.0"}

near-plugins-derive/tests/contracts/upgradable/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ panic = "abort"
1919
overflow-checks = true
2020

2121
[workspace]
22+
23+
# Required to build tests with near-sdk v4.1.1, see #128.
24+
# TODO(#125): Remove after upgrading to near-sdk v5.
25+
[patch.crates-io]
26+
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", rev = "parity-secp256k1-v0.7.0"}

near-plugins-derive/tests/contracts/upgradable_2/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ panic = "abort"
1919
overflow-checks = true
2020

2121
[workspace]
22+
23+
# Required to build tests with near-sdk v4.1.1, see #128.
24+
# TODO(#125): Remove after upgrading to near-sdk v5.
25+
[patch.crates-io]
26+
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", rev = "parity-secp256k1-v0.7.0"}

near-plugins-derive/tests/contracts/upgradable_state_migration/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ panic = "abort"
1919
overflow-checks = true
2020

2121
[workspace]
22+
23+
# Required to build tests with near-sdk v4.1.1, see #128.
24+
# TODO(#125): Remove after upgrading to near-sdk v5.
25+
[patch.crates-io]
26+
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", rev = "parity-secp256k1-v0.7.0"}

0 commit comments

Comments
 (0)