Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: consolidate simple transaction validations to instruction_details sanitization #4525

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tao-stones
Copy link

Problem

banking_stage (for both legacy and central scheduler) filters out transactions that have insufficient CU limit, or have excessive precompiles. Each check takes an additional iteration of instructions. These filtering/validations can be done once during RuntimeTransaction sanitizing instruction details, could yield positive performance impact.

Summary of Changes

  • refactor "instruction_details" to include sig/builtin/compute-unit details
  • error out sanitization of instruction_details for above listed conditions.

Fixes #

@tao-stones tao-stones force-pushed the refactor-consolidates-validation-at-instruction-details-sanitization branch from d788b23 to 51954ba Compare January 17, 2025 20:42
@tao-stones tao-stones force-pushed the refactor-consolidates-validation-at-instruction-details-sanitization branch from 51954ba to 35e902b Compare January 17, 2025 20:42
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.

1 participant