test: add parse pk test (#2194)

This commit is contained in:
Matthias Seitz 2023-02-27 21:20:41 +01:00 committed by GitHub
parent 028d2196cd
commit 936fbcd287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -161,6 +161,12 @@ mod tests {
use ethers_core::types::Address; use ethers_core::types::Address;
use tempfile::tempdir; use tempfile::tempdir;
#[test]
fn parse_pk() {
let s = "6f142508b4eea641e33cb2a0161221105086a84584c74245ca463a49effea30b";
let pk: Wallet<SigningKey> = s.parse().unwrap();
}
#[tokio::test] #[tokio::test]
async fn encrypted_json_keystore() { async fn encrypted_json_keystore() {
// create and store a random encrypted JSON keystore in this directory // create and store a random encrypted JSON keystore in this directory