-
Notifications
You must be signed in to change notification settings - Fork 164
Safer Account #234
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?
Safer Account #234
Conversation
…anged lamports functions to operate on a Cell.
sonicfromnewyoke
left a comment
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.
overall idea is nice
however to me it looks like this MR can be split into 3-4 smaller ones
|
Going to stack another PR to optimize the data locking now that lamports doesn't use it |
Stacked PR: staratlasmeta#1 |
|
@Buzzec This is great, thank you! Could you please bump the solana cli version to This will bump the rust version used in CI to |
Done |
|
With 1.84 we can fix the Miri issues as well, will do that in another PR |
Good point – separate PR sounds good! |
Stacked it staratlasmeta#2 |
# Conflicts: # sdk/pinocchio/src/account_info.rs # sdk/pinocchio/src/entrypoint/mod.rs
|
@Buzzec Thanks for this, really nice stuff. I started to look into the
I am planning to add your changes incrementally to isolate what change is slowing things down. |
|
Any discoveries here? |
Added safer code for Account. Removed copy and clone from Account. Changed lamports functions to operate on a Cell.
Should also be a bit more efficient in a few places.