-
Notifications
You must be signed in to change notification settings - Fork 0
Push proceeds to users in FinalizeSettle
#62
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
Open
fedgiac
wants to merge
46
commits into
main
Choose a base branch
from
push-funds-to-user-processing-in-finalize-settle
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
0047ca9
Refactor: cleanup before updating FinalizeSettle
fedgiac b8b3804
Parse pushes in `FinalizeSettle`
fedgiac 3e07aaa
Validate pushes to users in BeginSettle
fedgiac f6ad585
Push funds to users in `FinalizeSettle`
fedgiac 49fbd56
Merge branch 'main' into refactor-test-simplification-helper-extracti…
kaze-cow dc509c3
Merge branch 'refactor-test-simplification-helper-extraction-renaming…
kaze-cow c84fc3f
Merge branch 'push-funds-to-user-parsing' into push-funds-to-user-pro…
kaze-cow 9337a58
Merge branch 'main' into refactor-test-simplification-helper-extracti…
fedgiac 606693d
Merge branch 'push-funds-to-user-processing-in-begin-settle' into pus…
kaze-cow d01ae1a
Merge branch 'refactor-test-simplification-helper-extraction-renaming…
fedgiac aad2a64
Consistency: index alignment and underscore separator
fedgiac 903fa88
Test that two accounts popped trigger an error
fedgiac 9f67290
Merge branch 'push-funds-to-user-parsing' into push-funds-to-user-pro…
fedgiac 514e20b
Explicitly link mints to intents even if technically not needed
fedgiac e71d23e
Clearer proptest name
fedgiac 75130af
Remove unnecessary count checks
fedgiac eb98478
Clearer comment
fedgiac 8fe14a4
Simplify `push_destinations`
fedgiac a81feaa
Don't send transaction in helpers, just build it
fedgiac 8c82ddc
Simplify comment
fedgiac 8799e9d
Clarify that the helper isn't that generic
fedgiac 006ebb9
Merge branch 'push-funds-to-user-processing-in-begin-settle' into pus…
fedgiac dc54836
tests refactoring/simplification to one fixture
kaze-cow da7f43c
Adjustments for readability
fedgiac 7e2f5e0
Clarifying comment about the need for `mint`
fedgiac 841def6
order -> orders
fedgiac c48a9f1
Reuse array length
fedgiac 777ffec
Merge branch 'main' into push-funds-to-user-parsing
fedgiac 5a5d282
Merge branch 'main' into push-funds-to-user-parsing
fedgiac af7e4c5
Merge branch 'push-funds-to-user-parsing' into push-funds-to-user-pro…
fedgiac bd4072a
Merge branch 'push-funds-to-user-processing-in-begin-settle' into pus…
fedgiac e29f7c8
Merge branch 'main' into push-funds-to-user-processing-in-begin-settle
fedgiac c495133
Merge branch 'push-funds-to-user-processing-in-begin-settle' into pus…
fedgiac c00acd1
Merge branch 'main' into push-funds-to-user-processing-in-finalize-se…
fedgiac 572f55e
Fix endianness
fedgiac c14c364
Simplification: collect seeds plus bump in helper
fedgiac 17f3cb8
Create signer with helper function
fedgiac 0b496e1
Rename generic function to clarify it reverts on begin
fedgiac 3933d96
Move tests from Finalize that fail in Begin to Begin
fedgiac 3942889
Fix fmt
fedgiac 1c2c02c
Rename test with misleading name: rejects_push_from_non_buffer_source…
fedgiac 915dabc
Move buffer validation to dedicated function
fedgiac 43147d2
Add tests for checking remaining fixed accounts
fedgiac db268c7
Unnecessary comments
fedgiac 6c8213c
Merge branch 'main' into push-funds-to-user-processing-in-finalize-se…
fedgiac 68dfbe0
Merge branch 'main' into push-funds-to-user-processing-in-finalize-se…
fedgiac 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
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Nothing critical, but I this looks like a good spot to call
pinocchio_token::state::Account::from_account_view, which also validates the account data.