Skip to content

[Solana] Execution buffer contract for large TX #897

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

PabloMansanet
Copy link
Contributor

No description provided.

@PabloMansanet PabloMansanet requested a review from a team as a code owner May 6, 2025 10:14
@PabloMansanet PabloMansanet changed the title [Solana] Executio buffer contract for large TX [Solana] Execution buffer contract for large TX May 6, 2025
@PabloMansanet PabloMansanet force-pushed the execution-buffer branch 2 times, most recently from 2290a1f to 1687331 Compare May 6, 2025 13:12
Copy link
Contributor

@toblich toblich left a comment

Choose a reason for hiding this comment

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

Looking good! Some small comments, but overall LGTM

jadepark-dev
jadepark-dev previously approved these changes May 7, 2025
)
}

pub fn append_execution_report_data<'info>(
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks good overall, but I'm curious if we need to implement a hard cap for the report data size on-chain? While the CPI limits would eventually act as a constraint, I'm just asking out of curiosity.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, not sure myself, what's the worst case scenario here? Even if we promise "infinite size TX", I would imagine that users experienced with Solana will expect something to break.

@PabloMansanet
Copy link
Contributor Author

@toblich addressed your comments, PTAL when you can 🙏

Copy link

Metric execution-buffer main
Coverage 72.9% 72.8%

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