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
{{ message }}
Repository navigation
Commit 6988444
Browse filesBrowse the repository at this point in the historyBrowse files
let signer = BlsSecretKey::key_gen(&MOCK_RELAY_SECRET,&[]).unwrap();
142
-
let pubkey:BlsPublicKey = blst_pubkey_to_alloy(&signer.sk_to_pk());
137
+
let signer = BlsSecretKey::deserialize(&MOCK_RELAY_SECRET).unwrap();
138
+
let pubkey:BlsPublicKey = signer.public_key();
143
139
144
140
assert_eq!(relay_config.entry.pubkey, pubkey,"Expected relay pubkey to be 0xb060572f535ba5615b874ebfef757fbe6825352ad257e31d724e57fe25a067a13cfddd0f00cb17bf3a3d2e901a380c17");
let data = r#""0xa3ffa9241f78279f1af04644cb8c79c2d8f02bcf0e28e2f186f6dcccac0a869c2be441fda50f0dea895cfce2e53f0989a3ffa9241f78279f1af04644cb8c79c2d8f02bcf0e28e2f186f6dcccac0a869c2be441fda50f0dea895cfce2e53f0989""#;
272
+
let data = r#""0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000""#;
266
273
let _:BlsSignature = serde_json::from_str(data).unwrap();
267
274
268
275
let data = r#""0x985b495f49d1b96db3bba3f6c5dd1810950317c10d4c2042bd316f338cdbe74359072e209b85e56ac492092d7860063dd096ca31b4e164ef27e3f8d508e656801c""#;
0 commit comments