Skip to content

Handle Number of New Aggregates > maxBatchLimit - #1076

Merged
tkernell merged 4 commits into
mainfrom
fix/aggregate-no-snapshot
Sep 8, 2026
Merged

tkernell merged 4 commits into
mainfrom
fix/aggregate-no-snapshot

Conversation

@CJPotter10

Copy link
Copy Markdown
Contributor

Description

Added a new field LastConsensusTimestampByQueryId to bridge keeper to always have an up to date height the last time a query id reached consensus on an aggregate. Using this map removes any assumptions that all aggregates have a snapshot.

Related Issue

Fixes #

Type of Change

  • [ x ] Bug fix
  • New feature
  • Documentation update
  • [ x ] State Changes (please describe)": migration to backfill the new map
  • [ x ] Chain Changes (please describe): added field to bridge keeper
  • Daemon Changes
  • Tests
  • Added Getter

Testing

added more unit tests around new functionality as well as integration/e2e tests

Checklist

  • [ x ] Code follows project style guidelines
  • [ x ] I have added appropriate comments to my code
  • [ x ] I have updated the documentation accordingly
  • [ x ] I have added tests that prove my fix or feature works
  • [ x ] go test ./... is passing locally
  • [ x ] make e2e is passing locally

@tkernell
tkernell merged commit 9f29c46 into main Sep 8, 2026
92 of 93 checks passed
@tkernell
tkernell deleted the fix/aggregate-no-snapshot branch September 8, 2026 22:12
tkernell pushed a commit that referenced this pull request Sep 10, 2026
* cleaned up any assumptions that a snapshot existed for an aggregate

* cleaned up old test to account for new logic

* heighliner package used in e2e tests was moved to a different repo

* pinned new heighliner package

(cherry picked from commit 9f29c46)

Co-authored-by: CJPotter10 <91627020+CJPotter10@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants