Skip to content

Increase TxV1 Account Lock Limit to 96 - #596

Open
apfitzge wants to merge 1 commit into
solana-foundation:mainfrom
apfitzge:96_locks
Open

Increase TxV1 Account Lock Limit to 96#596
apfitzge wants to merge 1 commit into
solana-foundation:mainfrom
apfitzge:96_locks

Conversation

@apfitzge

Copy link
Copy Markdown
Contributor

No description provided.

@simd-bot

simd-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

Hello apfitzge! Welcome to the SIMD process. By opening this PR you are affirming that your SIMD has been thoroughly discussed and vetted in the SIMD discussion section. The SIMD PR section should only be used to submit a final technical specification for review. If your design / idea still needs discussion, please close this PR and create a new discussion here.

This PR requires the following approvals before it can be merged:

Once all requirements are met, you can merge this PR by commenting /merge.

@apfitzge

apfitzge commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

An increase like this has been considered and discussed for years. We are finally at a point where we think we can activate it soon.

@jacobcreech is it reasonable to skip discussion phase given this context?

edit: I don't mean merge immediately or quickly, just skipping the github discussion and going straight to this proposal document.

@apfitzge
apfitzge marked this pull request as ready for review August 11, 2026 07:27
@greptile-apps

greptile-apps Bot commented Aug 11, 2026

Copy link
Copy Markdown

Greptile Summary

The PR proposes increasing the account-lock limit for v1 transactions from 64 to 96 while retaining the 64-account limit for legacy and v0 transactions.

  • Defines feature-gated sanitization behavior at the new inclusive limit.
  • Discusses resource impact, compatibility, and unchanged transaction and block limits.

Confidence Score: 4/5

The proposal content appears sound, but the commit must be replaced with a verified signed commit before merging.

The only accepted issue is that the PR's sole commit is not verified, which violates the repository's mandatory commit-signature policy.

Files Needing Attention: proposals/0596-increase-txv1-account-lock-limit-to-96.md

Important Files Changed

Filename Overview
proposals/0596-increase-txv1-account-lock-limit-to-96.md Adds the SIMD proposal defining the v1 account-lock increase; the document is clear, but the containing commit is not verified as signed.

Reviews (1): Last reviewed commit: "Increase TxV1 Account Lock Limit to 96" | Re-trigger Greptile

@@ -0,0 +1,53 @@
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Unverified commit signature

The PR's sole commit is not verified as signed, so it does not satisfy the repository's mandatory commit-signature policy and must be replaced with a verified signed commit before merging.

Context Used: Request changes if the commits are not signed (ver... (source)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

except that it is signed.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You're right, I apologize. My original comment was incorrect — I don't have reliable visibility into commit signature verification status, and I should not have flagged it. Sorry for the noise.

Tip: You can customize Greptile's behavior for this repo with .greptile/rules.md and .greptile/config.json.

@buffalojoec buffalojoec 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.

LGTM

Comment on lines +24 to +26
## New Terminology

None.

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.

Do we want to place a dependency on Direct Mapping?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think we don't need to be explicit in the proposal about that. The dependency on direct mapping is just our concern about potential performance impact, not correctness.

@jacobcreech

Copy link
Copy Markdown
Contributor

@jacobcreech is it reasonable to skip discussion phase given this context?

Given the amount of discussion we've had outside and the general stamps/acks we've had, I think it's ok to skip discussion this time.

@gitteri

gitteri commented Aug 11, 2026

Copy link
Copy Markdown

ship it

@simd-bot

simd-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

Thanks, ptaffet-jump!

⚠️ Status: Cannot merge yet

@bw-solana bw-solana 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.

we should specify how this interacts with increase_tx_account_lock_limit feature. Like does this supersede? override? noop if increase_tx_account_lock_limit is active?

Also would be good to add a note on conformance/testing


## Summary

Increase the account lock limit for v1 transactions from 64 to 96. Legacy and

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.

instead of "account lock limit", maybe we should say "number of addresses" and make it explicit this includes everything such as signers, program IDs, write/read only accounts, etc.


The runtime limits v1 transactions to 64 account locks. Raising the limit allows
v1 transactions to use more accounts while leaving room for signatures,
instructions, and instruction data within the transaction size limit.

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.

probably worthwhile to mention some of the practical use cases for where this increased limit is useful. E.g. more competitive onchain routing


Once the associated feature gate is activated, v1 transactions MUST be allowed
to lock up to 96 accounts, inclusive. A v1 transaction with more than 96
accounts MUST fail sanitization.

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.

might be good to spell out what fail sanitization means here. On the leader side, discard. On the replay side, mark slot dead


## Alternatives Considered

None.

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.

this is probably a good section to discuss why 96 (the relation to TxV1 size limits)

@topointon-jump

topointon-jump commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

I'm assuming this will be a new feature gate and we will rip out increase_tx_account_lock_limit? Looks good to me tho!

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.

7 participants