You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -175,16 +175,6 @@ func (s *Syncer) SetLastState(state types.State) {
175
175
s.lastState.Store(&state)
176
176
}
177
177
178
-
// GetDAHeight returns the current DA height
179
-
func (s*Syncer) GetDAHeight() uint64 {
180
-
returns.daHeight.Load()
181
-
}
182
-
183
-
// SetDAHeight updates the DA height
184
-
func (s*Syncer) SetDAHeight(heightuint64) {
185
-
s.daHeight.Store(height)
186
-
}
187
-
188
178
// initializeState loads the current sync state
189
179
func (s*Syncer) initializeState() error {
190
180
// Load state from store
@@ -218,11 +208,11 @@ func (s *Syncer) initializeState() error {
218
208
219
209
// Set DA height to the maximum of the genesis start height, the state's DA height, and the cached DA height.
220
210
// This ensures we resume from the highest known DA height, even if the cache is cleared on restart. If the DA height is too high because of a user error, reset it with --evnode.clear_cache. The DA height will be back to the last highest known executed DA height for a height.
0 commit comments