Skip to content

Commit

Permalink
Revert k256 removal (paritytech#14499)
Browse files Browse the repository at this point in the history
* Revert "Remove k256 crate from frame-support dependencies (paritytech#14452)"

This reverts commit 75be6e2.

* Keep the test
  • Loading branch information
bkchr committed Jul 3, 2023
1 parent 8d02095 commit dfd8286
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 35 deletions.
207 changes: 179 additions & 28 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ hash-db = { opt-level = 3 }
hmac = { opt-level = 3 }
httparse = { opt-level = 3 }
integer-sqrt = { opt-level = 3 }
k256 = { opt-level = 3 }
keccak = { opt-level = 3 }
libm = { opt-level = 3 }
librocksdb-sys = { opt-level = 3 }
Expand Down
4 changes: 2 additions & 2 deletions frame/support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl-trait-for-tuples = "0.2.2"
smallvec = "1.8.0"
log = { version = "0.4.17", default-features = false }
sp-core-hashing-proc-macro = { version = "9.0.0", path = "../../primitives/core/hashing/proc-macro" }
secp256k1 = { version = "0.24.0", default-features = false }
k256 = { version = "0.13.0", default-features = false, features = ["ecdsa"] }
environmental = { version = "1.1.4", default-features = false }

[dev-dependencies]
Expand All @@ -52,7 +52,7 @@ array-bytes = "4.1"
default = ["std"]
std = [
"sp-core/std",
"secp256k1/std",
"k256/std",
"serde/std",
"sp-api/std",
"sp-io/std",
Expand Down
Loading

0 comments on commit dfd8286

Please sign in to comment.