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
let x = hex!("C9AFA9D845BA75166B5C215767B1D6934E50C3DB36E89B127B8A622B120F6721");
3097
+
let signing_key = SigningKey::from_bytes(&x.into()).unwrap();
3098
+
let admin = TestSigner::AccountContract(AccountContractSigner{
3099
+
address: contract_addr.clone(),
3100
+
sign:secp256r1_sign_fn(&host,&signing_key),
3101
+
});
3102
+
// initialize the contract by calling its `init` with the secp256r1 public key
3103
+
let verifying_key = host.bytes_new_from_slice(&hex!("0460FED4BA255A9D31C961EB74C6356D68C049B8923B61FA6CE669622E60F29FB67903FE1008B8BC99A41AE9E95628BC64F2F1B20C2D7E9F5177A3C294D4462299"))?;
0 commit comments