Unverified Commit 88b12d69 authored by Davide Galassi's avatar Davide Galassi Committed by GitHub
Browse files

Enable use of global secp256k1 context (#1123)

* Enable use of global secp256k1 context

Context creation is expensive.

Use the preallocated context that ships with the library.

* Cargo fmt

* Set `secp256k1` crate as optional

* `global-context` feature depends on `std`
* Its usage scope was already limited to `std` environment

* ink-engine requires `secp256k1` feature
parent 1188ee71
Pipeline #179021 passed with stages
in 44 minutes and 27 seconds
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment