WIP
This commit is contained in:
parent
ea024a573e
commit
1dbe42bf84
1 changed files with 4 additions and 6 deletions
|
@ -64,12 +64,10 @@ async fn upsert_tcbinfo() -> Result<(), &'static str> {
|
|||
certificate: TCB_SIGNER.to_string(),
|
||||
time: None,
|
||||
};
|
||||
if let Err(e) =
|
||||
client.tx_execute(&contract_address, &chain_id, 200000, &sender, json!(execute_msg), "200000untrn").await
|
||||
{
|
||||
eprintln!("Error: {}", e);
|
||||
}
|
||||
println!("done");
|
||||
let res =
|
||||
client.tx_execute(&contract_address, &chain_id, 200000, &sender, json!(execute_msg), "11000untrn").await;
|
||||
println!("done: {res:?}");
|
||||
std::thread::sleep(std::time::Duration::from_secs(5));
|
||||
}
|
||||
else {
|
||||
println!("TCBInfo for FMSPC: {fmspc} up to date")
|
||||
|
|
Loading…
Reference in a new issue