Skip to content

Commit

Permalink
fix: Fixed the test for old SDK (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
frol authored Jan 21, 2024
1 parent 8cbb09f commit 6bde738
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 15 deletions.
51 changes: 36 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions integration-tests/templates/negative/_Cargo_old_sdk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ near-sdk = "=4.0.0"
serde = { version = "1", features = ["derive"] }
schemars = "0.8"

# XXX: parity-secp256k1 was purged from crates.io, so we need to patch the old SDK with git dependency:
# See https://github.com/near/near-sdk-rs/issues/1126
[patch.crates-io]
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1"}

[workspace]
members = []

Expand Down

0 comments on commit 6bde738

Please sign in to comment.