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(),
|
certificate: TCB_SIGNER.to_string(),
|
||||||
time: None,
|
time: None,
|
||||||
};
|
};
|
||||||
if let Err(e) =
|
let res =
|
||||||
client.tx_execute(&contract_address, &chain_id, 200000, &sender, json!(execute_msg), "200000untrn").await
|
client.tx_execute(&contract_address, &chain_id, 200000, &sender, json!(execute_msg), "11000untrn").await;
|
||||||
{
|
println!("done: {res:?}");
|
||||||
eprintln!("Error: {}", e);
|
std::thread::sleep(std::time::Duration::from_secs(5));
|
||||||
}
|
|
||||||
println!("done");
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
println!("TCBInfo for FMSPC: {fmspc} up to date")
|
println!("TCBInfo for FMSPC: {fmspc} up to date")
|
||||||
|
|
Loading…
Reference in a new issue