Skip to content

cleanup: Sepolia refactor (SC-745)#40

Merged
lucas-manuel merged 10 commits intoSC-706-sepolia-supportfrom
sc-745-sepolia-refactor
Oct 15, 2024
Merged

cleanup: Sepolia refactor (SC-745)#40
lucas-manuel merged 10 commits intoSC-706-sepolia-supportfrom
sc-745-sepolia-refactor

Conversation

@lucas-manuel
Copy link
Copy Markdown
Contributor

@lucas-manuel lucas-manuel commented Oct 15, 2024

This PR does the following:

  • Reorder and group imports
  • Alignment formatting
  • Declaration grouping
  • Add baseControllerInstance so we can set mint recipient in separate internal function _setBaseMintRecipient
  • Add step-by-step comments
  • Add section labels
  • Move assignment of UNIT_SIZE variables to run() so that scripts can be split out more easily afterwards
  • Use PSM deploy library
  • Mint funds into ALM proxy instead of PSM, base PSM starts with zero funds except seeding from deploy lib

@lucas-manuel lucas-manuel requested a review from hexonaut October 15, 2024 16:50
@lucas-manuel lucas-manuel self-assigned this Oct 15, 2024
@lucas-manuel lucas-manuel changed the base branch from master to SC-706-sepolia-support October 15, 2024 16:50
Copy link
Copy Markdown
Contributor

@hexonaut hexonaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After sanity check for less than 1m is fixed then good to merge.

@lucas-manuel lucas-manuel merged commit bc727f6 into SC-706-sepolia-support Oct 15, 2024
@lucas-manuel lucas-manuel deleted the sc-745-sepolia-refactor branch October 15, 2024 17:54
@github-actions
Copy link
Copy Markdown

Coverage after merging sc-745-sepolia-refactor into SC-706-sepolia-support will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
deploy
   ControllerDeploy.sol100%100%100%100%
   ControllerInit.sol99.40%98.68%100%100%98
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%

hexonaut added a commit that referenced this pull request Oct 15, 2024
* feat: add deployments and testing

* fix: formatting

* feat: get deployy tests working, refactor structure

* feat: get deployy tests working, refactor structure

* feat: finish deploy scripts refactor

* feat: add init

* feat: add init

* feat: mainnet deploy and init working

* feat: tests passing

* fix: cleanup

* feat: update to use interfaces

* fix: alignment and struct

* feat: update to add separate init scripts

* feat: check constructor params

* feat: add unlimited rate data sanity checks

* feat: get constructor tests working

* feat: update to add rate limit tests

* feat: add init failure tests for mainnet controller

* feat: update to add remaining failure mode tests

* starting on sepolia support

* more work on sepolia testnet

* move usds join back to common

* more work on sepolia support

* forge install: erc20-helpers

* more progress on sepolia deploy

* mint usds working

* got psm swap working

* started on base

* starting on base

* almost finished base support

* forge install: dss-test

* full sepolia working

* add safe

* forge install: safe-smart-account

v1.4.1

* fix imports

* create deploy

* update to latest alm controller and add vat ilk line

* add more addresses

* remove safe deploy logic; new sepolia release

* use 1 for rate

* cleanup: Sepolia refactor (SC-745) (#40)

* formatting: regroup and reorder imports

* formatting: set up declarations, change function naming

* formatting: general formatting throughout

* formatting: add step by step comments, move function

* fix: update remappings, update instance name

* fix: move variable assignments

* feat: update to mint funds to alm proxy and use psm deploy lib

* fix: rm comment

* fix: sanity check and psm lib

---------

Co-authored-by: lucas-manuel <lucasmanuel.tech@gmail.com>
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