You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
This ledger passes through an epoch boundary in which static_instruction_limit is activated, and then tries to execute a transaction with 64 instructions which succeeds. Note that the script to create this ledger also sent transactions with 65 instructions, but because these were filtered out by Agave's sanitisation code (which is what this feature changes) they don't appear in the ledger.
topointon-jump
changed the title
[WIP] flamenco, runtime: implement static_instruction_limit
flamenco, runtime: implement static_instruction_limit
Dec 23, 2025
this doesn't fully cover the case where a transaction is worst case sized for > 64 instructions because it will violate limits in the transaction parser (fd_txn_parse). The correct thing to do here imo is to change txn parse to always fail if there are >64 top level instructions.
^Discussed offline, will pr in a cleanup pr in after the feature flag is activated everywhere (~3 weeks)
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
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.
Implement solana-foundation/solana-improvement-documents#160
Also drive-by fix to make
fd_executor_verify_transactiontake a const bank.