Skip to content

fix(store): Properly prune extended commits#5276

Merged
aljo242 merged 3 commits intomainfrom
jasmina/pruning_ec_fix
Aug 29, 2025
Merged

fix(store): Properly prune extended commits#5276
aljo242 merged 3 commits intomainfrom
jasmina/pruning_ec_fix

Conversation

@jmalicevic
Copy link
Copy Markdown
Collaborator

@jmalicevic jmalicevic commented Jul 25, 2025

Closes #5275

This should be back ported all the way to 0.38. Note that in v1 and 0.38 there is no blockCommitCache so that part should be left out. 

PR checklist

  • Tests written/updated
  • [ x] Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@jmalicevic jmalicevic requested review from a team as code owners July 25, 2025 07:41
@jmalicevic jmalicevic changed the title fix:(store) Properly prune extended commits fix (store): Properly prune extended commits Jul 25, 2025
@jmalicevic jmalicevic changed the title fix (store): Properly prune extended commits fix(store): Properly prune extended commits Jul 25, 2025
@aljo242 aljo242 added backport-to-v0.38.x Tell Mergify to backport the PR to v0.38.x backport-to-v1.x labels Aug 26, 2025
@aljo242 aljo242 enabled auto-merge (squash) August 29, 2025 20:08
@aljo242 aljo242 disabled auto-merge August 29, 2025 20:08
@aljo242 aljo242 merged commit ca44468 into main Aug 29, 2025
33 of 34 checks passed
@aljo242 aljo242 deleted the jasmina/pruning_ec_fix branch August 29, 2025 20:08
mergify bot pushed a commit that referenced this pull request Aug 29, 2025
Closes #5275

This should be back ported all the way to 0.38. Note that in v1 and 0.38
there is no blockCommitCache so that part should be left out.
---

#### PR checklist

- [ ] Tests written/updated
- [ x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

---------

Co-authored-by: jmalicevic <jasmina@informal.systems>
(cherry picked from commit ca44468)

# Conflicts:
#	.changelog/v1.0.1/bug-fixes/5275-pruning-ext-commit-fix.md
mergify bot pushed a commit that referenced this pull request Aug 29, 2025
Closes #5275

This should be back ported all the way to 0.38. Note that in v1 and 0.38
there is no blockCommitCache so that part should be left out.
---

#### PR checklist

- [ ] Tests written/updated
- [ x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

---------

Co-authored-by: jmalicevic <jasmina@informal.systems>
(cherry picked from commit ca44468)

# Conflicts:
#	store/store.go
#	store/store_test.go
mergify bot pushed a commit that referenced this pull request Aug 29, 2025
Closes #5275

This should be back ported all the way to 0.38. Note that in v1 and 0.38
there is no blockCommitCache so that part should be left out.
---

#### PR checklist

- [ ] Tests written/updated
- [ x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

---------

Co-authored-by: jmalicevic <jasmina@informal.systems>
(cherry picked from commit ca44468)
aljo242 added a commit that referenced this pull request Sep 1, 2025
Closes #5275 


This should be back ported all the way to 0.38. Note that in v1 and 0.38
there is no blockCommitCache so that part should be left out.
---

#### PR checklist

- [ ] Tests written/updated
- [ x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #5276 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
Co-authored-by: aljo242 <alex@cosmoslabs.io>
tqin7 pushed a commit to dydxprotocol/cometbft that referenced this pull request Oct 14, 2025
…ometbft#5313)

Closes cometbft#5275 


This should be back ported all the way to 0.38. Note that in v1 and 0.38
there is no blockCommitCache so that part should be left out.
---

#### PR checklist

- [ ] Tests written/updated
- [ x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request cometbft#5276 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
Co-authored-by: aljo242 <alex@cosmoslabs.io>
beer-1 pushed a commit to initia-labs/cometbft that referenced this pull request Oct 15, 2025
…ometbft#5313)

Closes cometbft#5275 


This should be back ported all the way to 0.38. Note that in v1 and 0.38
there is no blockCommitCache so that part should be left out.
---

#### PR checklist

- [ ] Tests written/updated
- [ x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request cometbft#5276 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
Co-authored-by: aljo242 <alex@cosmoslabs.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v0.38.x Tell Mergify to backport the PR to v0.38.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(store/pruning): Pruner does not prune commits with vote extensions

3 participants