Companion for #12328 (#6058)

* staking-miner: Adjust `TransactionStatus` update

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* update lockfile for {"substrate"}

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: parity-processbot <>
This commit is contained in:
Alexandru Vasile
2022-10-11 12:28:00 +03:00
committed by GitHub
parent c3e96ec99d
commit bc9da4d5d0
2 changed files with 200 additions and 180 deletions
+198 -178
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -370,7 +370,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! {
TransactionStatus::Ready |
TransactionStatus::Broadcast(_) |
TransactionStatus::Future => continue,
TransactionStatus::InBlock(hash) => {
TransactionStatus::InBlock((hash, _)) => {
log::info!(target: LOG_TARGET, "included at {:?}", hash);
let key = StorageKey(
frame_support::storage::storage_prefix(b"System", b"Events").to_vec(),
@@ -399,7 +399,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! {
TransactionStatus::Retracted(hash) => {
log::info!(target: LOG_TARGET, "Retracted at {:?}", hash);
},
TransactionStatus::Finalized(hash) => {
TransactionStatus::Finalized((hash, _)) => {
log::info!(target: LOG_TARGET, "Finalized at {:?}", hash);
break
},