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 Vasileandparity-processbot authored and GitHub committed 2022-10-11 09:28:00 +00:00
1 parent c3e96ec99d
commit bc9da4d5d0
2 files changed
+200 -180

No files matched your search

+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
},