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
system-program: Remove zero lamport check on transfers #17726
Merged
Merged
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9c2fe69
system-program: Move lamports == 0 check on transfers
joncinque 813a8b1
Address feedback
joncinque 9223c3e
Update stake split to explicitly allocate + assign
joncinque b35c317
Update stake tests referring to split instruction
joncinque 655204f
Revert whitespace
joncinque 33aec08
Update split instruction index in test
joncinque 3980e3f
Remove unnecessary `assign_with_seed` from `split_with_seed`
joncinque d7a9ff1
Fix stake instruction parser
joncinque bdd6da6
Update test to allow splitting into account with lamports
joncinque File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unnecessary
assign_with_seed
from split_with_seed
- Loading branch information
commit 3980e3fb03eb9e0a1e17ef8a31a1f0063cf6b5df
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Landmines everywhere!
solana/runtime/src/system_instruction_processor.rs
Lines 391 to 404 in 7bb5f24
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.
Seriously. You should see my most recent commit 😅