Skip to content

Commit

Permalink
chore: add TODO to move ApplyForcedChanges to core pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior committed Jun 15, 2023
1 parent b9f6259 commit 8f928dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dot/digest/block_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ func (h *BlockImportHandler) Handle(importedBlockHeader *types.Header) error {
return fmt.Errorf("while handling digests: %w", err)
}

// TODO: move to core handleBlock
// https://github.com/ChainSafe/gossamer/issues/3330
err = h.grandpaState.ApplyForcedChanges(importedBlockHeader)
if err != nil {
return fmt.Errorf("while apply forced changes: %s", err)
Expand Down

0 comments on commit 8f928dd

Please sign in to comment.