mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-13 14:17:08 +00:00
Fix db metadata updates for existing headers (#9403)
* Fix metadata updates on existing headers * Fail set_head on ancient blocks * Fmt unrelated code
This commit is contained in:
1 parent
ec6d711b38
commit
c5f5c9c28c
2 files changed
+111
-60
No files matched your search
@@ -156,6 +156,9 @@ pub enum Error {
|
||||
#[error("State Database error: {0}")]
|
||||
StateDatabase(String),
|
||||
|
||||
#[error("Failed to set the chain head to a block that's too old.")]
|
||||
SetHeadTooOld,
|
||||
|
||||
#[error(transparent)]
|
||||
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
|
||||
|
||||
|
||||
Reference in new issue
Block a user