This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remaining_bytes aligns len since all writes will align first (#34171)
* remaining_bytes aligns len since all writes will align first * use remaining_bytes() to check for whether the new account can fit into the av storage * Add test coverage for av remaining bytes alignment * use great equal to check space available --------- Co-authored-by: HaoranYi <haoran.yi@solana.com>
- Loading branch information
1 parent
90b11a6
commit 481c357
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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