Skip to content
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

Deploy 77 #1844

Merged
merged 97 commits into from
Oct 3, 2023
Merged

Deploy 77 #1844

merged 97 commits into from
Oct 3, 2023

Conversation

sparrowDom
Copy link
Member

@sparrowDom sparrowDom commented Sep 27, 2023

(Redeploy Balancer rETH/WETH strategy implementation to pick up the checkBalance(asset) fixes)

New balancer rETH strategy implementation contract: 0xAaA1d497fdff9a88048743Db31d3173a2E442A3D

Link to deployment PR: #1843

sparrowDom and others added 30 commits June 14, 2023 17:12
* Generated contract docs

* Refactor Balancer storage variables

* Small Balancer changes

* Natspec updates
Added missing licensing
getPoolAssets gas optimized

* Updated generated Balancer strategy contract diagrams

* fix contract linter

* Removed restrictions on tests

* Small gas improvements
Fixed Slither

* Change BalancerError version

* Updated constant names
Addresses to use checksum format

* JS lint tasks

* Updated Balancer and Aura pool id constants

* Removed getRateProviderRate as it wasn't being used
Refactored to remove poolAssetsMapped storage variable

* Updated OETH Contracts diagrams
Generated new Balancer contract diagrams

* Fix failing test

* Fix merge conflict

* Restored getRateProviderRate

* Natspec updates
Added toPoolAsset override

* Removed unused getRateProviderRate

* Natspec updates
Gas optimization of InitializableAbstractStrategy

* Abstract strategy gas improvements (#1719)

* Refactor base strategy to use immutables

* Fixed strategy deployments in 001_core and fixtures

* Generated new strategy diagrams

* Deploy rETH instead of the stETH Balancer MetaStable Pool

* removed unused Aura config

* Balancer fork tests

* Added check that BPT amount equals Aura LP amount
Added rETH conversion to ETH value

* Updated balancer strat fork tests

* Updated Balancer fork tests

* Added optional deposit with multiple assets to the strategy

* Single asset deposit to use multi asset deposit

* Added optional checkBalance to Balancer strategy

* Added checkBalance() to BaseBalancerStrategy

* Fix slither
Fix curve HH task

* Added multi-asset withdraw to balancer strategy

* Fix multi-asset withdraw

* Updated Balancer and Vault diagrams

* Fix js linter

* Fixed checkBalance of rETH asset in Balancer strategy

* Only wrap assets if amount > 0
Added depositAll fork test for Balancer strat

* Removed Vault changes for multi-asset strategy support

* Updated generated docs

* Add tests for wstETH/WETH Balancer pool (#1725)

* Split deployment and fix fixtures

* Deposit tests for wstETH/WETH pool

* Add withdraw test

* prettier

* remove .only in fork tests

---------

Co-authored-by: Shahul Hameed <[email protected]>
* add alternative implementation of Balancer's checkBalance

* correct the checkBalance implementation
* Added large withdraw tests for Balancer strategy

* fix test log

* Balancer withdraw to handle close to BPT limit

* Small change to Balancer withdraw fork test

* add some comments

* change implementation

---------

Co-authored-by: Domen Grabec <[email protected]>
* Added large withdraw tests for Balancer strategy

* fix test log

* Balancer withdraw to handle close to BPT limit

* Small change to Balancer withdraw fork test

* add some comments

* Add test for read-only reentrancy

* add reentrancy protection to checkBalance functions

* add documentation

* remove the only

---------

Co-authored-by: Nicholas Addison <[email protected]>
Co-authored-by: Domen Grabec <[email protected]>
* prettier

* adjust how checkBalance is calculated
* fix balancer withdrawals

* lint

* prettier
@rafaelugolini rafaelugolini temporarily deployed to preview-oeth-sparrowdom-gda4bl September 27, 2023 19:50 Inactive
@rafaelugolini rafaelugolini temporarily deployed to preview-ousd-sparrowdom-xz1dw8 September 27, 2023 19:50 Inactive
@sparrowDom sparrowDom changed the base branch from master to sparrowDom/redeploy_Balancer_reth_strat September 27, 2023 19:51
Base automatically changed from sparrowDom/redeploy_Balancer_reth_strat to master September 27, 2023 19:52
@sparrowDom sparrowDom temporarily deployed to preview-oeth-sparrowdom-gda4bl September 27, 2023 20:10 Inactive
@sparrowDom sparrowDom temporarily deployed to preview-ousd-sparrowdom-xz1dw8 September 27, 2023 20:10 Inactive
@sparrowDom sparrowDom temporarily deployed to preview-oeth-sparrowdom-gda4bl September 27, 2023 20:24 Inactive
@sparrowDom sparrowDom temporarily deployed to preview-ousd-sparrowdom-xz1dw8 September 27, 2023 20:24 Inactive
@sparrowDom sparrowDom temporarily deployed to preview-ousd-sparrowdom-xz1dw8 September 27, 2023 20:37 Inactive
@sparrowDom sparrowDom temporarily deployed to preview-oeth-sparrowdom-gda4bl September 27, 2023 20:37 Inactive
shahthepro
shahthepro previously approved these changes Sep 28, 2023
Copy link
Collaborator

@shahthepro shahthepro left a comment

Choose a reason for hiding this comment

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

  • Code is verified on Etherscan
  • Deployed code matches what's on master
  • Transactions on Deployer address match the script
  • Governance proposal matches the deploy script

Potential blockers:

  • Merge conflicts prevents the fork tests from running

@shahthepro shahthepro dismissed their stale review September 28, 2023 05:02

The merge-base changed after approval.

@shahthepro shahthepro temporarily deployed to preview-oeth-sparrowdom-gda4bl September 28, 2023 05:03 Inactive
@shahthepro shahthepro temporarily deployed to preview-ousd-sparrowdom-xz1dw8 September 28, 2023 05:03 Inactive
@shahthepro shahthepro temporarily deployed to preview-oeth-sparrowdom-gda4bl September 28, 2023 05:04 Inactive
@shahthepro shahthepro temporarily deployed to preview-ousd-sparrowdom-xz1dw8 September 28, 2023 05:04 Inactive
@sparrowDom
Copy link
Member Author

This has been verified by the "full verifiers". Also the 2 fork test fails are not related to this PR. Merging in

@sparrowDom sparrowDom merged commit 0440366 into master Oct 3, 2023
12 of 16 checks passed
@sparrowDom sparrowDom deleted the sparrowDom/deploy_77 branch October 3, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants