-
Notifications
You must be signed in to change notification settings - Fork 10
[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
base: main
Are you sure you want to change the base?
Conversation
2290a1f
to
1687331
Compare
There was a problem hiding this 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
chains/solana/contracts/programs/execution-buffer/src/context.rs
Outdated
Show resolved
Hide resolved
) | ||
} | ||
|
||
pub fn append_execution_report_data<'info>( |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Integration tests Integration tests
e1d2a5b
to
04b0790
Compare
@toblich addressed your comments, PTAL when you can 🙏 |
|
No description provided.