-
Notifications
You must be signed in to change notification settings - Fork 135
4.2.0 - Trusted fillers #1254
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
4.2.0 - Trusted fillers #1254
Changes from 31 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
b3d69f6
implement global lock
julianmrodri e033781
add docs
julianmrodri fefda24
implement global lock in functions
julianmrodri c49347e
fix lint
julianmrodri 2805843
fix docs
julianmrodri 95306c0
fix lint
julianmrodri 311e0c1
update version
julianmrodri 3b33b68
disabled 4.0 explicit test
julianmrodri 235bc5c
tests and nit
julianmrodri c24cd4e
additional tests
julianmrodri c58fa2a
additional tests
julianmrodri 00b25bb
claim rewards test
julianmrodri bba71b1
fix order
julianmrodri e190f23
fix style
julianmrodri a1aba68
remove comments
julianmrodri 5ee0c8d
upg tests
julianmrodri 24eaf0a
fix docs
julianmrodri bc3dbea
add trusted filler support
julianmrodri 6db68d9
upgrade tests updated
julianmrodri 99725b3
update version
julianmrodri 48cd614
fix version
julianmrodri f5dd036
fix upgrade tests
julianmrodri 8c7826e
fix storage slot
julianmrodri 94b2965
replace asserts
julianmrodri d91cb0a
fix lint
julianmrodri 35b5cd1
additional require tests
julianmrodri 32b95c2
bump trusted fillers package
julianmrodri b8b1a18
apply changes to Dutch Trade
julianmrodri 92de659
fix balance check
julianmrodri 74a6182
set partially fillable
julianmrodri 89ca897
set partially fillable
julianmrodri d7490a5
final changes
julianmrodri f1a0675
Minor changes + dedupe
akshatmittal ee78eb1
fixes in tests
julianmrodri 203b29d
fix revenue test
julianmrodri 7710267
add tests and fix can settle
julianmrodri 1ade3cc
rollback
julianmrodri ad45a90
add isComponent check
julianmrodri eaf7bae
fix lint
julianmrodri 40e1269
implement as modifier
julianmrodri 6393f71
Merge pull request #1255 from reserve-protocol/component-check
julianmrodri 464a6f0
Merge branch '4.1.0' into 4.2.0
tbrent aa69bae
BackingManager under limit
tbrent 85f83d6
custom errors for StRSR
tbrent 470c0f2
tests
tbrent 3f4588a
Merge branch '4.2.0' of github.com:reserve-protocol/protocol into 4.2.0
tbrent f7c915c
P0 + extreme tests
tbrent 95572f7
missing errors
tbrent a39811b
fixes from audit
julianmrodri 5ce52b8
additional testing and dependencies
julianmrodri 8f61bb1
fix report violation
julianmrodri 4f17150
make test flexible
julianmrodri 9985a82
can settle edge case
julianmrodri d5d6232
Merge pull request #1257 from reserve-protocol/4.2.0-fixes
julianmrodri a536730
Merge branch '4.0.0' into 4.2.0
tbrent 828bd87
yarn.lock
tbrent 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| // SPDX-License-Identifier: BlueOak-1.0.0 | ||
| pragma solidity 0.8.28; | ||
|
|
||
| // This file exists solely to force Hardhat to compile the trusted-fillers contracts | ||
| // These imports ensure the contracts are available for testing | ||
|
|
||
| import "@reserve-protocol/trusted-fillers/contracts/TrustedFillerRegistry.sol"; | ||
| // Note: CowSwapFiller cannot be imported due to OpenZeppelin version conflict | ||
| // CowSwapFiller uses OZ 5.1.0 (Math.Rounding.Up) while protocol uses OZ 4.9.6 (Math.Rounding.Ceil) | ||
| // import "@reserve-protocol/trusted-fillers/contracts/fillers/cowswap/CowSwapFiller.sol"; |
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
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.
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.