Skip to content

Commit 578b0f9

Browse files
authored
chore: loosen syncer state check (#2927)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. NOTE: PR titles should follow semantic commits: https://www.conventionalcommits.org/en/v1.0.0/ --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. Ex: Closes #<issue number> --> upstreams #2925 to main
1 parent b3f2dfb commit 578b0f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

block/internal/syncing/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func (s *Syncer) initializeState() error {
267267
AppHash: stateRoot,
268268
}
269269
}
270-
if state.DAHeight < s.genesis.DAStartHeight {
270+
if state.DAHeight != 0 && state.DAHeight < s.genesis.DAStartHeight {
271271
return fmt.Errorf("DA height (%d) is lower than DA start height (%d)", state.DAHeight, s.genesis.DAStartHeight)
272272
}
273273
s.SetLastState(state)

0 commit comments

Comments
 (0)