Skip to content

Commit

Permalink
Hotfix state extract
Browse files Browse the repository at this point in the history
  • Loading branch information
Kay-Zee committed Sep 8, 2021
1 parent 4bf7baa commit fab4fb1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
4 changes: 3 additions & 1 deletion cmd/util/cmd/execution-state-extract/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ func run(*cobra.Command, []string) {
if err != nil {
log.Fatal().Err(err).Msg("invalid state commitment length")
}
} else if !flagNoMigration {
}

if len(flagBlockHash) == 0 && len(flagStateCommitment) == 0 {
// read state commitment from root checkpoint

f, err := os.Open(path.Join(flagExecutionStateDir, bootstrap.FilenameWALRootCheckpoint))
Expand Down
34 changes: 17 additions & 17 deletions network/mocknetwork/overlay.go

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

0 comments on commit fab4fb1

Please sign in to comment.