Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changes

- Subscribe to forced inclusion namespace events [#3146](https://github.com/evstack/ev-node/pull/3146)
- Display block source in sync log [#3193](https://github.com/evstack/ev-node/pull/3193)

## v1.0.0

Expand All @@ -35,10 +36,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Verify DA and P2P state on restart (prevent double-signing). [#3061](https://github.com/evstack/ev-node/pull/3061)
- Node pruning support. [#2984](https://github.com/evstack/ev-node/pull/2984)
- Two different sort of pruning implemented:
_Classic pruning_ (`all`): prunes given `HEAD-n` blocks from the databases, including store metadatas.
_Auto Storage Optimization_ (`metadata`): prunes only the state metadatas, keeps all blocks.
By using one or the other, you are losing the ability to rollback or replay transactions earlier than `HEAD-n`.
When using _classic pruning_, you aren't able to fetch blocks prior to `HEAD-n`.
_Classic pruning_ (`all`): prunes given `HEAD-n` blocks from the databases, including store metadatas.
_Auto Storage Optimization_ (`metadata`): prunes only the state metadatas, keeps all blocks.
By using one or the other, you are losing the ability to rollback or replay transactions earlier than `HEAD-n`.
When using _classic pruning_, you aren't able to fetch blocks prior to `HEAD-n`.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion block/internal/syncing/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ func (s *Syncer) TrySyncNextBlock(ctx context.Context, event *common.DAHeightEve
currentState := s.getLastState()
headerHash := header.Hash().String()

s.logger.Info().Uint64("height", nextHeight).Msg("syncing block")
s.logger.Info().Uint64("height", nextHeight).Str("source", string(event.Source)).Msg("syncing block")

// Compared to the executor logic where the current block needs to be applied first,
// here only the previous block needs to be applied to proceed to the verification.
Expand Down
Loading