Skip to content
Unverified Commit f6548aee authored by Michal Kucharczyk's avatar Michal Kucharczyk Committed by GitHub
Browse files

`keyring`: remove `lazy_static` public keys hash maps (#2387)



The `lazy_static` package does not work well in `no-std`: it requires
`spin_no_std` feature, which also will propagate into `std` if enabled.
This is not what we want.

This PR removes public/private key hash-maps and replaces them with
simple static byte arrays.

`&T` versions of `AsRef/Deref/From` traits implementation were removed.

Little const helper for converting hex strings into array during compile
time was also added. (somewhat similar to _hex_literal_).

---------

Co-authored-by: command-bot <>
Co-authored-by: default avatarKoute <[email protected]>
parent 1e878780
Pipeline #424809 failed with stages
in 1 hour, 28 minutes, and 17 seconds
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