Skip to content

Commit 6510936

Browse files
committed
updates
1 parent 987104c commit 6510936

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
### Changes
2525

2626
- Store pending blocks separately from executed blocks key. [#3073](https://github.com/evstack/ev-node/pull/3073)
27+
- Fixes issues with force inclusion verification on sync nodes. [#3057](https://github.com/evstack/ev-node/pull/3057)
2728

2829
## v1.0.0-rc.4
2930

‎block/internal/syncing/syncer.go‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ type Syncer struct {
8080
p2pHandler p2pHandler
8181
raftRetriever *raftRetriever
8282

83-
// Forced inclusion tracking — all fields guarded by forcedInclusionMu.
84-
// Entries are pruned up to lastCheckedEpochEnd after each epoch is verified
85-
// to keep memory bounded.
83+
// Forced inclusion tracking
8684
forcedInclusionMu sync.RWMutex
8785
seenBlockTxs map[string]struct{} // SHA-256 hex of every tx seen in a DA-sourced block
8886
seenBlockTxsByHeight map[uint64][]string // DA height → hashes at that height (for pruning)

‎block/public.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ func NewDAClient(
6363
return base
6464
}
6565

66-
// The following errors are exported because sequencers needs to check for this error.
6766
// ErrForceInclusionNotConfigured is returned when force inclusion is not configured.
67+
// It is exported because sequencers needs to check for this error.
6868
var ErrForceInclusionNotConfigured = da.ErrForceInclusionNotConfigured
6969

7070
// ForcedInclusionEvent represents forced inclusion transactions retrieved from DA

0 commit comments

Comments
 (0)