feat(tx-cache): change BundleKey cursor to use target_block_number#231
Merged
Conversation
3 tasks
The bundle GET endpoint will be backed by a new block_number_index GSI that filters bundles to a single target block. The cursor must match the new GSI key schema, so global_bundle_score_key is replaced with target_block_number. Breaking type change. BundleKey is opaque continuation state returned by the server and round-tripped by clients, so the SDK bump is the only mechanical fix required. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Breaking type change to BundleKey requires a minor bump. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
f7b6e68 to
e251808
Compare
Fraser999
approved these changes
May 8, 2026
Evalir
added a commit
to init4tech/builder
that referenced
this pull request
May 11, 2026
Pre-emptive bump to consume the upcoming 0.17.0 release of signet-sdk, which renames the BundleKey cursor field globalBundleScoreKey to targetBlockNumber (init4tech/signet-sdk#231). The builder does not paginate GET /bundles directly, but signet-sdk crates are pinned together so they all bump in lockstep. signet-bundle dev-dep aligned to the same release. node-components git deps are on a separate version cycle and unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Evalir
added a commit
to init4tech/builder
that referenced
this pull request
May 14, 2026
* chore: bump signet-sdk to 0.17.0 Pre-emptive bump to consume the upcoming 0.17.0 release of signet-sdk, which renames the BundleKey cursor field globalBundleScoreKey to targetBlockNumber (init4tech/signet-sdk#231). The builder does not paginate GET /bundles directly, but signet-sdk crates are pinned together so they all bump in lockstep. signet-bundle dev-dep aligned to the same release. node-components git deps are on a separate version cycle and unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore: bump deps properly * chore: v1.2.0 --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
The bundle GET endpoint in tx-pool-webservice is being switched to a new
block_number_indexGSI that filters bundles to a single target block. The cursor must match the new GSI key schema, soglobal_bundle_score_keyis replaced withtarget_block_numberinBundleKey.Copyis added to the derive list since all fields are nowCopy.Breaking type change.
BundleKeyis opaque continuation state returned by the server and round-tripped by clients, so the SDK bump is the only mechanical fix required for downstream consumers.Closes ENG-2234
Related
Testing
signet-tx-cachelib tests pass against this change.targetBlockNumberinstead ofglobalBundleScoreKey).