Skip to content
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changes

- Improve `cache.NumPendingData` to not return empty data. Automatically bumps `LastSubmittedHeight` to reflect that. ([#3046](https://github.com/evstack/ev-node/pull/3046))
- **BREAKING** Make pending events cache and tx cache fully ephemeral. Those will be re-fetched on restart. DA Inclusion cache persists until cleared up after DA inclusion has been processed. Persist accross restart using store metadata. ([#3047](https://github.com/evstack/ev-node/pull/3047))

## v1.0.0-rc.2

Expand Down
2 changes: 1 addition & 1 deletion block/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (bc *Components) Stop() error {
}
}
if bc.Cache != nil {
if err := bc.Cache.SaveToDisk(); err != nil {
if err := bc.Cache.SaveToStore(); err != nil {
errs = errors.Join(errs, fmt.Errorf("failed to save caches: %w", err))
}
}
Expand Down
Loading
Loading