Skip to content

feat: Add v1.3.0 and v1.4.0 releases#100

Closed
lucas-manuel wants to merge 35 commits intomasterfrom
dev
Closed

feat: Add v1.3.0 and v1.4.0 releases#100
lucas-manuel wants to merge 35 commits intomasterfrom
dev

Conversation

@lucas-manuel
Copy link
Contributor

@lucas-manuel lucas-manuel commented Apr 8, 2025

NOTE: Wait until audit PR is merged before merging into master.

hieronx and others added 30 commits January 14, 2025 13:54
* Setup ERC7540 integration + Centrifuge fork test

* Restrict claiming, extend deposit tests

* Add redeem tests

* Make claim methods permissioned to relayer

* Address some PR comments

* Separate test contracts for request and claim

* Fix naming typo

* Re-add rate limit checks, additional asserts, fix alignments

* Fix param typo

* Fix redeem rate limit key

* Add failure case tests for fake vaults

* Remove unused import

* Address PR comments

* Add request id constant

* Address PR feedback

* Clean up asserts

* More assert cleanups

* Remove redundant asserts
* feat: add subscribe and failure modes

* feat: subscribe logic working

* test: add assertion for tokens received

* feat: redemptions working without assertions

* test: add boundary conditions

* feat: add final code

* fix: update assertion for rounding:

* fix: formatting

* chore: rm public registry

* fix: update to private submodule

* fix: use approve helper

* test: add withdraw coverage

* test: add warping

* feat: update to use tuples

* ci: update to use private sub

* fix: update filename

* ci: try forge i
* ci: try sub

* ci: update yaml

* ci: try updating shell script

* ci: rm checkout step

* ci: add checkout back

* ci: fix ci
* feat: add functions and addresses

* feat: add basic testing

* feat: add testing up to whitelisting

* feat: try whitelisting

* feat: update to add assertions

* feat: add test coverage

* fix: update sub

* feat: use transferAsset

* fix: update function name

* fix: review updates
* Address feedback

* Remove redundant supply definition

* Increase rate limits

* Remove unused interface method

* Use conversion for rate limit decrease in redeem flow

* Move rate limit

* fix: update sub

* test: fix rate limits for test

---------

Co-authored-by: Lucas Manuel <lucasmanuel.tech@gmail.com>
* feat: start morpho allocation poc

* feat: add foreign controller, failure mode tests

* test: add queue success cases, start on reallocation

* test: add reallocation test

* fix: cleanup for PR

* test: add mainnet reallocation

* feat: add rate limit check

* fix: cleanup

* fix: update per review

* fix: update key

* fix: error messages
* feat: initial deposit test working

* feat: deposit success working

* feat: get request redemption failure modes to work

* feat: add cancel failure modes

* feat: get redemption and atomic e2e test working

* feat: add cancel tests and rate limits

* fix: cleanup

* fix: cleanup

* feat: start morpho allocation poc

* fix: review updates

* feat: add foreign controller, failure mode tests

* test: add queue success cases, start on reallocation

* test: add reallocation test

* fix: cleanup for PR

* test: add mainnet reallocation

* feat: add rate limit check

* fix: cleanup

* fix: update per review

* fix: update key
* feat: failure modes set up

* feat: failure modes set up

* test: finish tests
* feat: initial compilation of refactor

* test: add unit tests

* fix: comments

* ftest: update test to reflect new incident handling:

* feat: add event
* fix: refactor superstate to take in token as param

* feat: update tests

* feat: add e2e test coverage

* fix: fix test

* feat: update address
* Update forge-std, add cancelation interface

* Rename ERC and rename fund token

* Add cancel deposit request test cases

* Add claim cancel redeem test cases

* Add more asserts

* Address feedback

* fix: Update test to work (#17)

* fix: update test to work

* chore: rm unneeded skip

* Address PR feedback

* Order

* Add request id param

* Fix alignment

---------

Co-authored-by: Lucas Manuel <lucasmanuel.tech@gmail.com>
* feat: update readme

* fix: typo
* feat: add buidl and maple dos tests

* refactor: inherit test contracts

* feat: add morpho coverage

* fix: formatting

* fix: update buidl test
* feat: add cantina

* fix: change all names
…ent on Base and Arbitrum (#97)

* feat: do initial refactor

* feat: initial deploy script working

* feat: update with working script

* feat: staging deployment working locally

* fix: cleanup

* feat: update to add full input files

* feat: add arbitrum test coverage

* feat: add more testing and update arbitrum file

* fix: update to remove deps from output, updagte lib

* feat: add live staging contracts

* fix: update sub and blocks

* feat: add release jsons

* fix: add mainnet staing

* fix: arb filename
* feat: add audits

* fix: update file

* fix: update staging test
* Adapt to latest vault address

* Update block number

* Remove unused setUp

---------

Co-authored-by: Lucas Manuel <lucasmanuel.tech@gmail.com>
* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo
* feat: add dai usds swaps

* fix: rm rate limits
* feat: add basic curve deposit/withdraw

* feat: Refactor to use internal functions and modifiers (#24)

* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo

* feat: Add DaiUsds swaps (SC-940) (#22)

* feat: add dai usds swaps

* fix: rm rate limits

* test: add testing for failure modes

* feat: tests all passing

* fix: update broken staging test

* test: add invalid order coverage, cleanup

* fix: rm morpho functionality

* fix: rm morpho

* feat: tests passing

* fix: rm console

* feat: refactor to use rlusd pool

* feat: refactor to use new slippages, remove tokens params

* feat: add remove liquidity working

* feat: tests passing

* fix: rm console

* fix: update remaining fixes

* fix: reorder some code, add zero slippage test coverage

* fix: update test names

* feat: add simplified calculation

* fix: rm unused function

* fix: formatting

* fix: update slippage

* fix: comment

* fix: cache param

* fix: update spacing
* feat: add comments

* feat: add virtual price

* feat: add stress test

* feat: add starting fuzz tests

* fix: delete fuzz test

* fix: add comments

* fix: update comments
* feat: add initial structure

* feat: add rate limit for swap

* feat: tests passing

* fix: ordering and test

* fix: update optimizer runs

* fix:  update comment
lucas-manuel and others added 4 commits April 2, 2025 17:21
* feat: add index input validation

* feat: update to add testing

* ifx: update to use n coins
* feat: Add audits (#26)

* feat: add audits

* fix: update file

* fix: update staging test

* fix: Update Centrifuge tests (#25)

* Adapt to latest vault address

* Update block number

* Remove unused setUp

---------

Co-authored-by: Lucas Manuel <lucasmanuel.tech@gmail.com>

* feat: Refactor to use internal functions and modifiers (#24)

* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo

* feat: Add DaiUsds swaps (SC-940) (#22)

* feat: add dai usds swaps

* fix: rm rate limits

* feat: Add Curve support, remove Morpho allocator logic (SC-938)  (#23)

* feat: add basic curve deposit/withdraw

* feat: Refactor to use internal functions and modifiers (#24)

* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo

* feat: Add DaiUsds swaps (SC-940) (#22)

* feat: add dai usds swaps

* fix: rm rate limits

* test: add testing for failure modes

* feat: tests all passing

* fix: update broken staging test

* test: add invalid order coverage, cleanup

* fix: rm morpho functionality

* fix: rm morpho

* feat: tests passing

* fix: rm console

* feat: refactor to use rlusd pool

* feat: refactor to use new slippages, remove tokens params

* feat: add remove liquidity working

* feat: tests passing

* fix: rm console

* fix: update remaining fixes

* fix: reorder some code, add zero slippage test coverage

* fix: update test names

* feat: add simplified calculation

* fix: rm unused function

* fix: formatting

* fix: update slippage

* fix: comment

* fix: cache param

* fix: update spacing

* feat: Update to round up for rate limits and minimums (SC-955) (#31)

* feat: Use `get_virtual_price` (SC-959) (#29)

* feat: add comments

* feat: add virtual price

* feat: add stress test

* feat: add starting fuzz tests

* fix: delete fuzz test

* fix: add comments

* fix: update comments

* fix: Add line about transferAsset (#33)

* feat: Add swap rate limiting in `addLiquidityCurve` (SC-952) (#30)

* feat: add initial structure

* feat: add rate limit for swap

* feat: tests passing

* fix: ordering and test

* fix: update optimizer runs

* fix:  update comment

* feat: Add index input validation (SC-960) (#34)

* feat: add index input validation

* feat: update to add testing

* ifx: update to use n coins

* feat: initial logic working

* feat: update to add testing

* fix: cleanup

---------

Co-authored-by: Jeroen <1748621+hieronx@users.noreply.github.com>
feat: Add v1.4.0 code
)

* feat: update addresses

* fix: logs

* fix: rm unconfigured psms
* fix: rm redundant audits, add chainsecurity

* feat: add cantina audit
@github-actions
Copy link

github-actions bot commented Apr 8, 2025

Coverage after merging dev into master will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
deploy
   ControllerDeploy.sol100%100%100%100%
   ForeignControllerInit.sol100%100%100%100%
   MainnetControllerInit.sol97.18%93.33%100%100%136, 78
src
   ALMProxy.sol100%100%100%100%
   ForeignController.sol100%100%100%100%
   MainnetController.sol100%100%100%100%
   RateLimitHelpers.sol100%100%100%100%
   RateLimits.sol100%100%100%100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants