WIP
This commit is contained in:
parent
275954a4d1
commit
c45bd282a0
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
|||
use cw_client::{CliClient, CwClient};
|
||||
use mc_attestation_verifier::SignedTcbInfo;
|
||||
use p256::ecdsa::VerifyingKey;
|
||||
use quartz_tcbinfo_msgs::{QueryMsg, ExecuteMsg};
|
||||
use quoted_string::strip_dquotes;
|
||||
use reqwest::Url;
|
||||
|
@ -56,7 +54,7 @@ async fn upsert_tcbinfo() -> Result<(), &'static str> {
|
|||
"neutron1r4m59786vmxrx866585ze5ugjx9egcyja0nuxhn2y6d7ht6680sspa89zk"
|
||||
.parse()
|
||||
.expect("failed to parse contract address");
|
||||
let query_msg = QueryMsg::GetTcbInfo { fmspc };
|
||||
let query_msg = QueryMsg::GetTcbInfo { fmspc: fmspc.clone() };
|
||||
let tcbinfo_on_chain: Value = client.query_smart(&contract_address, json!(query_msg)).await.expect("contract query failed");
|
||||
println!("{tcbinfo_on_chain:?}");
|
||||
|
||||
|
|
Loading…
Reference in a new issue