Skip to content

Commit

Permalink
Merge branch 'feat/l2-hard-fork-full-node-transition' into srene/hard…
Browse files Browse the repository at this point in the history
…fork-fix
  • Loading branch information
mtsitrin committed Nov 10, 2024
2 parents 2ded44f + 8b3eff5 commit 635d160
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 44 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/codeql.yml

This file was deleted.

4 changes: 2 additions & 2 deletions block/fork.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func (m *Manager) checkForkUpdate(ctx context.Context) error {
if err != nil {
return err
}
err := fmt.Errorf("fork update")
m.freezeNode(ctx, err)

m.freezeNode(ctx, fmt.Errorf("fork update detected"))
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion mocks/github.com/dymensionxyz/dymint/store/mock_Store.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions types/serialization.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (s *State) FromProto(other *pb.State) error {

s.ConsensusParams = other.ConsensusParams
copy(s.LastResultsHash[:], other.LastResultsHash)
copy(s.LastHeaderHash[:], other.LastHeaderHash)
copy(s.AppHash[:], other.AppHash)
s.RollappParams = other.RollappParams
return nil
Expand Down

0 comments on commit 635d160

Please sign in to comment.