Skip to content

Extend overlay ed25519 signature verification budget to protocol - #5393

Merged
marta-lokhova merged 1 commit into
stellar:masterfrom
bboston7:protocol-sig-cap
Jul 29, 2026
Merged

Extend overlay ed25519 signature verification budget to protocol#5393
marta-lokhova merged 1 commit into
stellar:masterfrom
bboston7:protocol-sig-cap

Conversation

@bboston7

Copy link
Copy Markdown
Contributor

This PR extends the existing overlay level ed25519 signature verification budget to the protocol level. The new cap activates at the p28 protocol boundary.

This PR extends the existing overlay level ed25519 signature
verification budget to the protocol level. The new cap activates at the
p28 protocol boundary.
Copilot AI review requested due to automatic review settings July 28, 2026 22:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends the existing overlay Ed25519 verification budget into protocol-level transaction validation starting with protocol 28.

Changes:

  • Defines the p28 activation boundary.
  • Enforces the 1,000-verification budget outside overlay validation.
  • Generalizes budget-related naming and state.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/util/ProtocolVersion.h Defines the activation protocol.
src/transactions/SignatureChecker.h Generalizes budget declarations.
src/transactions/SignatureChecker.cpp Activates enforcement from p28.

Comment thread src/transactions/SignatureChecker.cpp
@anupsdf
anupsdf requested a review from marta-lokhova July 29, 2026 16:22
@marta-lokhova
marta-lokhova added this pull request to the merge queue Jul 29, 2026
Merged via the queue into stellar:master with commit 3ccd4ed Jul 29, 2026
69 checks passed
sisuresh added a commit to sisuresh/stellar-core that referenced this pull request Jul 30, 2026
Conflict in src/util/ProtocolVersion.h: stellar#5393 added
TX_ED25519_VERIFY_BUDGET_PROTOCOL_VERSION in the same place this branch
removed the #ifdef CAP_0085_EXECUTABLE_REF. Resolution keeps both -- the
new constant, and EXTERNAL_EXECUTABLE_REF_PROTOCOL_VERSION ungated.

Also bumps stellar-quorum-analyzer to 502a354 (stellar#23), which repins its
stellar-xdr to the same git rev as the p28 host so their
XDR_FILES_SHA256 agree and checkXDRFileIdentity passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants