mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-03 15:57:08 +00:00
Stop keeping track of epoch changes for the sync gap (#13127)
* Stop keeping track of epoch changes data within the sync gap * Fix docs * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Fix typo Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
1 parent
cf7bf3d142
commit
7aa88e6a59
3 files changed
+33
-454
No files matched your search
@@ -64,7 +64,7 @@ where
|
||||
header
|
||||
});
|
||||
|
||||
EpochChanges { inner, epochs, gap: None }
|
||||
EpochChanges { inner, epochs }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,6 +75,6 @@ where
|
||||
{
|
||||
/// Migrate the type into current epoch changes definition.
|
||||
pub fn migrate(self) -> EpochChanges<Hash, Number, E> {
|
||||
EpochChanges { inner: self.inner, epochs: self.epochs, gap: None }
|
||||
EpochChanges { inner: self.inner, epochs: self.epochs }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user