You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Cargo.toml field is set to ed25519-dalek = { version = "1", default-features = false, features = ["serde", "u64_backend"] }, we would get the following compile errors:
error[E0277]: the trait bound `alloc::string::String: DefaultIsZeroes` is not satisfied
--> tendermint/src/private_key.rs:47:20
|
47 | Zeroizing::new(String::from_utf8(Base64::default().encode(&keypair_bytes[..])).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DefaultIsZeroes` is not implemented for `alloc::string::String`
|
= note: required because of the requirements on the impl of `Zeroize` for `alloc::string::String`
note: required by `Zeroizing::<Z>::new`
--> /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/zeroize-1.1.1/src/lib.rs:428:5
|
428 | pub fn new(value: Z) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `serialize` found for struct `Zeroizing` in the current scope
--> tendermint/src/private_key.rs:48:10
|
48 | .serialize(serializer)
| ^^^^^^^^^ method not found in `Zeroizing<alloc::string::String>`
The text was updated successfully, but these errors were encountered:
Part of informalsystems/hermes#1158.
When the Cargo.toml field is set to
ed25519-dalek = { version = "1", default-features = false, features = ["serde", "u64_backend"] }
, we would get the following compile errors:The text was updated successfully, but these errors were encountered: