-
Notifications
You must be signed in to change notification settings - Fork 43
fix: Guard against malicious processors [SUP-8873] #639
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
Merged
0xTimepunk
merged 54 commits into
v1.5
from
tamara-sup-8873-guard-against-malicious-processors
Oct 25, 2024
Merged
Changes from 51 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
5b5d429
fix: add RECEIVER_ADDRESS_EQUAL_TO_PROCESSOR_ADDRESS() error
TamaraRingas 11cc0da
fix: move RECEIVER_ADDRESS_EQUAL_TO_PROCESSOR_ADDRESS() error to ISup…
TamaraRingas f380c7a
chore: rename IS_ROUTER_PLUS_PROCESSOR() error
TamaraRingas 00151da
chore: rm unused error
TamaraRingas 71d5769
add NOT_CORE_STATE_REGISTRY_RESCUER() error
TamaraRingas 5f472a0
add REFUND_AMOUNT_EXCEEDS_RECEIVED_AMOUNT() error
TamaraRingas 5fb5af1
chore: rename REFUND_AMOUNT_EXCEEDS_EXPECTED_AMOUNT() error
TamaraRingas c1c2f33
feat: add requestRefund() function
TamaraRingas 4879f8e
fix: update requestRefund() params
TamaraRingas 53ac164
chore: add onlyCoreStateRegistryRescuer() modifier
TamaraRingas a0a746e
feat: add approveRefund()
TamaraRingas a79275c
refactor: rm old refund functions
TamaraRingas 9924cab
refactor: rm old refund functions
TamaraRingas e42992c
refactor: rm _getDelay()
TamaraRingas 7f790d3
refactor: rm refund proposal time checks
TamaraRingas 26d0e22
refactor: rm tests for old refund mechanism
TamaraRingas 3506d86
chore: rm unused errors
TamaraRingas 2ec1753
add REFUND_ALREADY_APPROVED() error
TamaraRingas b9cea45
fix: add checks for duplicate approvals
TamaraRingas a49417f
chore: add test case for duplicate approvals
TamaraRingas 094e8d8
chore: formatting
TamaraRingas 7ead146
style: formatting
TamaraRingas fcd9edf
Revert "chore: formatting"
TamaraRingas 0efc2ba
Revert "style: formatting"
TamaraRingas fc6f31c
fix: formatting
0xTimepunk 477fb32
fix: correct interface of async router plus
0xTimepunk 6fda946
refactor: rm proposedTime from Refund struct
TamaraRingas c861efc
Merge pull request #640 from superform-xyz/joao-fix-formatting-8873
TamaraRingas 4e9e104
fix: delegate prank
0xTimepunk aa52182
fix: remainder of files
0xTimepunk b6ce0b7
test: fix staging test
0xTimepunk 81e9c40
Merge remote-tracking branch 'origin/v1.5' into tamara-sup-8873-guard…
0xTimepunk 19878b6
refactor: rename RefundRequested event
TamaraRingas b89ec5a
refactor: rename RefundRequested event
TamaraRingas d6541b0
fix: typo
TamaraRingas 62dd458
fix: update tests
TamaraRingas 8d38ebd
refactor: rm amount from requestRefund()
TamaraRingas b85030d
refactor: rm amount from requestRefund()
TamaraRingas 1779144
Merge branch 'tamara-sup-8873-guard-against-malicious-processors' of …
TamaraRingas 186182d
fix: reorder test logic
TamaraRingas af8d01b
add check for expectedAmountInterimAsset == 0 in completeCrossCHainRe…
TamaraRingas a548dba
fix: simplify request amount to refund
0xTimepunk 5c246e4
refactor: update refund mechanism
TamaraRingas 3684d11
test requested refund amount > expected
TamaraRingas 1d1e450
fix: update requested amount too high test
TamaraRingas c6191c5
chore: update refund tests
TamaraRingas ff9a43a
fix: update amount setter in requestRefund()
TamaraRingas 7464511
chore: add extra tests for requestRefund()
TamaraRingas 2375ce7
fix: update invalid approver error selector
TamaraRingas 7d73256
chore: rm unused variable
TamaraRingas 70d8021
fix: update test-vvv
TamaraRingas 60dc92d
fix: update test_crossChainRebalance_updateSuperformData_DifferentRec…
TamaraRingas bde75d9
wip: update test_crossChainRebalance_updateSuperformData_DifferentRec…
TamaraRingas 48e3015
test: fix
0xTimepunk 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
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.