mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-23 10:51:10 +00:00
txpool: enactment state forced update (#12632)
* txpool: enactment state forced update When `tree_route` computation fails, we still need to update the `enactment_state` to be aligned with last known finalized/best block. We do not execute enactment phase of maintain procedure, but we do update the state. * error -> debug * test added
This commit is contained in:
committed by
GitHub
parent
81f123b72e
commit
cf5c78dbe8
@@ -748,8 +748,8 @@ where
|
||||
|
||||
match result {
|
||||
Err(msg) => {
|
||||
log::warn!(target: "txpool", "{msg}");
|
||||
return
|
||||
log::debug!(target: "txpool", "{msg}");
|
||||
self.enactment_state.lock().force_update(&event);
|
||||
},
|
||||
Ok(None) => {},
|
||||
Ok(Some(tree_route)) => {
|
||||
|
||||
Reference in New Issue
Block a user