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

Revert "Cap accounts data a transaction can load by its requested limit" #29373

Merged

Conversation

tao-stones
Copy link
Contributor

Problem

#27840 was too complex for backporting; and its review before merge to Master is too light. Going to revert it, then break it down to smaller PRs.

Summary of Changes

Reverts #27840

@github-actions github-actions bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Jan 9, 2023
@tao-stones tao-stones force-pushed the revert-27840-limit-accounts-data-size-by-requested-cu branch from 33987a2 to 75d0a11 Compare January 13, 2023 21:59
@tao-stones tao-stones force-pushed the revert-27840-limit-accounts-data-size-by-requested-cu branch from 75d0a11 to 4690474 Compare January 13, 2023 22:00
@tao-stones tao-stones removed the stale [bot only] Added to stale content; results in auto-close after a week. label Jan 13, 2023
@tao-stones tao-stones marked this pull request as ready for review January 14, 2023 04:17
@tao-stones tao-stones requested a review from Lichtso January 14, 2023 04:17
@Lichtso
Copy link
Contributor

Lichtso commented Jan 14, 2023

After I finish #29728 I should be able to simplify transaction loading in runtime/src/accounts.rs as well and get rid of the duplicate program / executable accounts. That should make your reimplementation of the account size limit also a lot easier.

@Lichtso Lichtso merged commit 1d88654 into master Jan 17, 2023
@Lichtso Lichtso deleted the revert-27840-limit-accounts-data-size-by-requested-cu branch January 17, 2023 10:34
@tao-stones
Copy link
Contributor Author

After I finish #29728 I should be able to simplify transaction loading in runtime/src/accounts.rs as well and get rid of the duplicate program / executable accounts. That should make your reimplementation of the account size limit also a lot easier.

Thanks for review and merge. It's great to simply accounts loading. I have a PR in pipeline to add a fixed data cap loading accounts. Perhaps I should wait tll #29728 lands?

@Lichtso
Copy link
Contributor

Lichtso commented Jan 17, 2023

Yes, would be better if you based your work on top of that.

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.

2 participants