This commit is contained in:
Ajinkya Kulkarni 2024-12-03 11:42:57 +01:00
parent ea024a573e
commit 1dbe42bf84

View file

@ -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")