Compare commits

..

2 Commits

Author SHA1 Message Date
peilun-conflux
a4dd88f2b8
Change submit receipt to info. (#195)
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
2024-09-11 17:59:43 +08:00
peilun-conflux
3dc3d0574f
Fix typos. (#193) 2024-09-11 17:57:41 +08:00
2 changed files with 3 additions and 4 deletions

View File

@ -100,7 +100,7 @@ async fn request_miner_id(
.retries(3) .retries(3)
.await .await
.map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))? .map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))?
.ok_or("Request miner id transaction dropped after 3 retires")?; .ok_or("Request miner id transaction dropped after 3 retries")?;
let first_log = receipt let first_log = receipt
.logs .logs

View File

@ -167,12 +167,11 @@ impl Submitter {
.await .await
.map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))? .map_err(|e| format!("Fail to execute mine answer transaction: {:?}", e))?
.ok_or(format!( .ok_or(format!(
"Mine answer transaction dropped after {} retires", "Mine answer transaction dropped after {} retries",
SUBMISSION_RETIES SUBMISSION_RETIES
))?; ))?;
info!("Submit PoRA success"); info!("Submit PoRA success, receipt: {:?}", receipt);
debug!("Receipt: {:?}", receipt);
Ok(()) Ok(())
} }