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

mainnet_v0 to main #233

Merged
merged 123 commits into from
Apr 22, 2024
Merged

mainnet_v0 to main #233

merged 123 commits into from
Apr 22, 2024

Conversation

jac18281828
Copy link
Contributor

This PR will update main with all changes from mainnet_v0

sanjay-staderlabs and others added 30 commits March 20, 2023 19:03
* remove ssv related code

* pool type changes in validator registry

* operator selection changes integrated

* slither fix

* operator selection changes

* slither fix

* slither fix

* slither fix

* slither fix

* staderManaged pool renamed to permissioned pool

* handeling voluntaryExit of validators

* added interface for slashingManager

* interface changes

* operator selection

* slither fix

* slither fix

* changed pool type from enum to bytes

* added slashing manager contract

* user withdrawal

* node withdrawal initial push

* initial commit for node withdrawal

* beta-v1-initial push

* intial commits

* stader node

* fixed fallback in pool manager

* Update ValidatorWithdrawState.sol

* latest changes

* seperate registry

* initial review fixes

* internal-beta-ready

* fixes

* pool selection logic

* batch deposit

* ethX name change

* add new pool

* keys array in addKey input

* node registry changes in pool helper

* permissioned pool

* renamed pool helper to pool selctor

* run prettier

* nameing changes

* deploy scripts

* fixes

* pool selector fix

* PoolFactory and reduce dependency

* testing fixes

* review changes

* depositedPooledETH fix

* permissioned operator selection fix

* PR review changes

* SD collateral

* store withdrawVault instead of withdrawCredential

* interfaces formatting

* naming changes

* front running changes

* slither fix

* same validator and operator struct changes

* pool factory merge branch (#58)

* depositPooledEth fix

* testting -fex

* fix

* Add whole validator list view to PoolFactory

* Add penalty implementation

* Remove protocolFee from the ER

* Fix merge conflicts

* validator stats in permissionless pool

* make total validator count variables as public

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: arigatodl <[email protected]>

* feat/add getOperatorTotal non withdrawn keys

* fix generating depositRoot

* Add socialisingPool timestamp and full deployment script

* Add protocol and operator fees to pools

Improves the Penalty logic

* Add visibility to operator and socializing address

* Add licenses and update timestamp on operatorOnboard

* Remove this and generalize timestamp for optin

* deposit flow

* run prettier

* Add StaderOracle half impls

* Add Oracle functions

* operator total non withdrawn count revert check

* operator total non withdrawn key changes

* create2 compute address fix

* testing-fix

* run prettier

* refactor: ethValidatorDeposit name change

* refactor: use checkNonZeroAddress library

* feat: add invalid signature handling

* fix pool selector

* fix remove double variables

* user withdraw manager

* feat/add requestIdsByUserAddress mapping

* feat: handle withdrawn validator and validator check in oracle reprts

* feat/seperate withdraw manager

* feat: optin/out functionality

* removed an extra queue for 31ETH deposit in permissioned pool

* fix: phase1 audit fix

* removed node withdraw related code

* phase2 PR review fixes

* review fixes

* renaming ETHX.sol file

* renamed ETHX file

* fee percent to fee bips

* fix: PR fixes

* naming fix

* added TODO

* added TODOs

* added TODOs

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: arigatodl <[email protected]>
* remove ssv related code

* pool type changes in validator registry

* operator selection changes integrated

* slither fix

* operator selection changes

* slither fix

* slither fix

* slither fix

* slither fix

* staderManaged pool renamed to permissioned pool

* handeling voluntaryExit of validators

* added interface for slashingManager

* interface changes

* operator selection

* slither fix

* slither fix

* changed pool type from enum to bytes

* added slashing manager contract

* user withdrawal

* node withdrawal initial push

* initial commit for node withdrawal

* beta-v1-initial push

* intial commits

* stader node

* fixed fallback in pool manager

* Update ValidatorWithdrawState.sol

* latest changes

* seperate registry

* initial review fixes

* internal-beta-ready

* fixes

* pool selection logic

* batch deposit

* ethX name change

* add new pool

* keys array in addKey input

* node registry changes in pool helper

* permissioned pool

* renamed pool helper to pool selctor

* run prettier

* nameing changes

* deploy scripts

* fixes

* pool selector fix

* PoolFactory and reduce dependency

* testing fixes

* review changes

* depositedPooledETH fix

* permissioned operator selection fix

* PR review changes

* SD collateral

* store withdrawVault instead of withdrawCredential

* interfaces formatting

* naming changes

* front running changes

* slither fix

* same validator and operator struct changes

* pool factory merge branch (#58)

* depositPooledEth fix

* testting -fex

* fix

* Add whole validator list view to PoolFactory

* Add penalty implementation

* Remove protocolFee from the ER

* Fix merge conflicts

* validator stats in permissionless pool

* make total validator count variables as public

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: arigatodl <[email protected]>

* feat/add getOperatorTotal non withdrawn keys

* fix generating depositRoot

* Add socialisingPool timestamp and full deployment script

* Add protocol and operator fees to pools

Improves the Penalty logic

* Add visibility to operator and socializing address

* Add licenses and update timestamp on operatorOnboard

* Remove this and generalize timestamp for optin

* deposit flow

* run prettier

* Add StaderOracle half impls

* Add Oracle functions

* operator total non withdrawn count revert check

* operator total non withdrawn key changes

* create2 compute address fix

* testing-fix

* run prettier

* refactor: ethValidatorDeposit name change

* refactor: use checkNonZeroAddress library

* feat: add invalid signature handling

* fix pool selector

* fix remove double variables

* user withdraw manager

* feat/add requestIdsByUserAddress mapping

* feat: handle withdrawn validator and validator check in oracle reprts

* feat/seperate withdraw manager

* feat: optin/out functionality

* removed an extra queue for 31ETH deposit in permissioned pool

* fix: phase1 audit fix

* removed node withdraw related code

* phase2 PR review fixes

* review fixes

* renaming ETHX.sol file

* renamed ETHX file

* fee percent to fee bips

* fix: PR fixes

* naming fix

* added TODO

* added TODOs

* added TODOs

* feat/TODO changes

* TODO changes in withdraw manager

* review changes

* review fixes

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: arigatodl <[email protected]>
* index contract init

* add treasury, sspm

* add poolFactory

* add reward threshold

* add `_disableInitializer`

* add admin

* add admin in interface

* add staderToken

* add weth token

* minor change

* minor changes

* refactor

* fix compile error
* Initial unique rewards logic

* Add comments

* Ignore slither warning

* Change to clones

* Fix operatorShare

* Update NodeELRewardVault.sol

* Update NodeELRewardVault.sol

* index contract init

* add treasury, sspm

* add poolFactory

* add reward threshold

* add `_disableInitializer`

* fix: rewards distribution maths error (#67)

* rewards distro math fix

* typo

* rename

* comments

* minor math error

* refactor

* index contract init

* add treasury, sspm

* add poolFactory

* read from config contract

* update vault factory

* add TODOs

* refactor

* CL Rewards (#68)

* skimming rewards initial code

* handle permissioned NOs

* CL reward impl imrove

* update withdrawVault contract inits

* added access control

* typo

* handle validator exit case

* code refactor

* reverse formatting

* prettier formatting

* separate distributeRewards and settleFunds

* rename

* add nodeOperator addr

* index contract init

* add treasury, sspm

* add poolFactory

* add reward threshold

* called via index contract

* PR comments resolved

* pr conflict resolve

* pr conflict resolve

* add admin

* add admin in interface

* add stader config in vaultFactory

* minor changes

* minor pr resolves

* minor: updated event signature

* rename and minor changes

* index contract conflict resolve

---------

Co-authored-by: Manoj Patra <[email protected]>
* index file integration

* fix compilation error

* feat/ update staderConfig function

* added TODO

* updated the layout of index file

* review comments

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* Initial code

* rewards distribute

* cherry pick getCollateralEth impl

* added pausability on claim

* refactor

* index contract init

* add treasury, sspm

* add poolFactory

* add reward threshold

* add `_disableInitializer`

* percent to bps change

* add admin

* add admin in interface

* add staderToken

* read from staderConfig

* index contract conflict resolve

* minor improvements and code refactor

* send rewards to operator only

* remove poolSelector code

* removed unwanted methods

* distribute user and protocol rewards

* staderAdmin as first trusted node

* handle operator rewards

* removed TODO

* pr comments resolved

* index contract changes

* docs and comments

* timestamp to block

* refactor

* remove extra consensus check

* timestamp to block

* removed extra method

---------

Co-authored-by: Manoj Patra <[email protected]>
- Resolved the updateFrequency bug by correcting the order of operations for / and *.
- Introduced a new method, submitValidatorStats, which encompasses counts and balances for each validator status.
- For enhanced readability, gas efficiency, and maintainability, individual structs are now used for each oracle update function.
- Removed unnecessary functions.
* Guardian members now submit a list of withdrawn validators, which are defined as validators with a beacon balance of 0 and a status of "withdrawn". This ensures that only relevant validator data is considered.

* The public keys in the withdrawn validators list are sorted before submission. This sorting ensures consistent data representation and simplifies the comparison process during consensus.

* The withdrawnValidators function has been moved to an interface to promote better abstraction and code reusability. This change allows for greater flexibility in implementing the function across different contracts and promotes a cleaner code structure.

* Accept old node submissions
* penalty integration

* revert unwanted changes

* compilation issue fix

* attestation penalties

* oracle for missed attestation penalty

* review fixes

* review fixes

* renamed an error

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* penalty integration

* revert unwanted changes

* audit fixes along with reward contract integration

* sd collateral fix

* compilation issue fix

* add event permissionedNodeRegistry.sol

* attestation penalties

* oracle for missed attestation penalty

* sigatuty=re thini

* add events in contracts

* withdrawn Validator fix

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* fix deposit sd flow

* uint type update

* added a getter fn

* add withdrawal impl

* index contract init

* add treasury, sspm

* add poolFactory

* add reward threshold

* add `_disableInitializer`

* single swap impl

* add scripts

* add admin

* add admin in interface

* add staderToken

* minor changes

* read from staderConfig

* add weth token

* refactor

* minor change

* minor changes

* refactor

* removed shares logic, removed PriceFetcher

* sdPrice oracle impl

* sdPrice Oracle integration with SDCollateral

* auction contract impl

* auction sdCollateral integration

* removed unwanted code

* bid Increment

* minor fix

* minor comment update

* PR resolves

* comments removed

* pr resolve

* variable rename
* penalty integration

* revert unwanted changes

* audit fixes along with reward contract integration

* sd collateral fix

* compilation issue fix

* add event permissionedNodeRegistry.sol

* attestation penalties

* oracle for missed attestation penalty

* sigatuty=re thini

* add events in contracts

* audit-ready-initial-commit

* TODOs done

* update withdrawn validator function

* add braces for if condition

* revert safeTransfer change

* review fixes

* add TODO for review comments

* add TODO for review comments

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* penalty integration

* revert unwanted changes

* audit fixes along with reward contract integration

* sd collateral fix

* compilation issue fix

* add event permissionedNodeRegistry.sol

* attestation penalties

* oracle for missed attestation penalty

* sigatuty=re thini

* add events in contracts

* audit-ready-initial-commit

* TODOs done

* update withdrawn validator function

* add braces for if condition

* revert safeTransfer change

* insurance fund contract

* review fixes

* add TODO for review comments

* add TODO for review comments

* add update stader config function

* make vault contract calculate function public

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* sd collateral init refactor

* reorder imports

* rename AddressLib, use safeERC20

* minor: redundant code removal

* replace `require` with custom errors

* parameterized custom errors

* remove unused custom errors

* add methods in interface

* remove safeERC20

* remove unused config in `staderConfig`

* add staderConfig setter

* added events

* minor improvements

* remove `_` from internal functions

* minor changes
* sd collateral init refactor

* reorder imports

* rename AddressLib, use safeERC20

* minor: redundant code removal

* replace `require` with custom errors

* parameterized custom errors

* remove unused custom errors

* add methods in interface

* remove safeERC20

* remove unused config in `staderConfig`

* add staderConfig setter

* added events

* minor improvements

* remove `_` from internal functions

* minor changes

* resolve todo init

* sd price consensus impl

* resolved todos

* reminder comment

* removed resolved todos

* moved OperatorPoolId impl to PoolFactory

* removed unwanted comment

* slash SD on higher penalty

* removed unwanted comments

* converted ETHx to upgradeable token

* method rename

* separate update frequecies for different oracles

* slash penalty SD

* todo for sanjay to discuss

* remove resolved todos

* convert sd withdraw into 2 step process

* minor change

* removed ERC20Burnable

* resolved PR comments

* added a todo

* PR comments resolves

* typo
* permission fixes across contracts

* move constant role to config

* permission implementation in config

* move onlyRole check to UtilLib

* move default admin role to UtilLib

* pushed more permission changes

* rollback default admin changes

* Added permissions in few contracts (#88)

* fix: DefiWind TODOs (#85)

* sd collateral init refactor

* reorder imports

* rename AddressLib, use safeERC20

* minor: redundant code removal

* replace `require` with custom errors

* parameterized custom errors

* remove unused custom errors

* add methods in interface

* remove safeERC20

* remove unused config in `staderConfig`

* add staderConfig setter

* added events

* minor improvements

* remove `_` from internal functions

* minor changes

* resolve todo init

* sd price consensus impl

* resolved todos

* reminder comment

* removed resolved todos

* moved OperatorPoolId impl to PoolFactory

* removed unwanted comment

* slash SD on higher penalty

* removed unwanted comments

* converted ETHx to upgradeable token

* method rename

* separate update frequecies for different oracles

* slash penalty SD

* todo for sanjay to discuss

* remove resolved todos

* convert sd withdraw into 2 step process

* minor change

* removed ERC20Burnable

* resolved PR comments

* added a todo

* PR comments resolves

* typo

* updated permissions

* review fixes

* minor refactor

* minor improvements

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Manoj Patra <[email protected]>
* permission fixes across contracts

* move constant role to config

* permission implementation in config

* move onlyRole check to UtilLib

* move default admin role to UtilLib

* pushed more permission changes

* rollback default admin changes

* add pause functionality

* totalActiveOperator handling

* fix review comments

* review fixes

* remove unwanted error

* add reentrancy gaurd

* reveiw fix

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* permission fixes across contracts

* move constant role to config

* permission implementation in config

* move onlyRole check to UtilLib

* move default admin role to UtilLib

* pushed more permission changes

* rollback default admin changes

* add pause functionality

* totalActiveOperator handling

* fix review comments

* review fixes

* remove unwanted error

* add reentrancy gaurd

* add deploy scripts and remove unused scripts

* add individual deploy scripts

* gas optimization and fix on user withdraw manager

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* permission fixes across contracts

* move constant role to config

* permission implementation in config

* move onlyRole check to UtilLib

* move default admin role to UtilLib

* pushed more permission changes

* rollback default admin changes

* add pause functionality

* totalActiveOperator handling

* fix review comments

* review fixes

* remove unwanted error

* add reentrancy gaurd

* add deploy scripts and remove unused scripts

* add individual deploy scripts

* gas optimization and fix on user withdraw manager

* updated all scripts

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* pool factory redesign

* gas optimization in loops

* add event and poolCount name change

* review fixes

* error name change

* zero address check in whitelist permissioned NOs

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* sd price bug

* missed poolThreshold update check

* code refactor
* pool factory redesign

* gas optimization in loops

* add event and poolCount name change

* review fixes

* error name change

* zero address check in whitelist permissioned NOs

* move pre deposit and full deposit to congif, pool selection logic change

* remove a TODO

* review fixes

* review fixe

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* pool factory redesign

* gas optimization in loops

* add event and poolCount name change

* review fixes

* error name change

* zero address check in whitelist permissioned NOs

* move pre deposit and full deposit to congif, pool selection logic change

* remove a TODO

* review fixes

* review fixe

* pool Util refactoring

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* reentrancy gaurd

* non reentrant in penalty.sol

* add reentrancy gaurd in `slashSD`

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Manoj Patra <[email protected]>
* reentrancy gaurd

* non reentrant in penalty.sol

* add reentrancy gaurd in `slashSD`

* set commission role change

* onlyManager to update er_uf

* max commission limti change

* max commission name fic

* remove unused code

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Manoj Patra <[email protected]>
* reentrancy gaurd

* non reentrant in penalty.sol

* add reentrancy gaurd in `slashSD`

* set commission role change

* onlyManager to update er_uf

* max commission limti change

* max commission name fic

* remove unused code

* fix: allocateValidatorsAndUpdateOperatorId logic

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Manoj Patra <[email protected]>
* reentrancy gaurd

* non reentrant in penalty.sol

* add reentrancy gaurd in `slashSD`

* set commission role change

* onlyManager to update er_uf

* max commission limti change

* max commission name fic

* remove unused code

* fix: allocateValidatorsAndUpdateOperatorId logic

* testing fixes

* vault factory include msg.sender in salt

* review fixes

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Manoj Patra <[email protected]>
Manoj Patra and others added 22 commits April 18, 2024 12:19
* withdrawVault ut fix

* staderOracle complete ut

* staderConfig ut

* staderConfig event typo

* Revert "staderConfig event typo"

This reverts commit a11a6b8.
* c4 297

* code4rena changes

* removing fallback and receive function from SSPM

* uint tests

* pool selector UT

* uint tests

* withdrawVault ut fix

* staderOracle complete ut

* SSPM unit test

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Manoj Patra <[email protected]>
* update readme

* update readme

* default branch
* integration guide and license

* add license to test file

* review changes

* formatting fix

---------

Co-authored-by: Sanjay Yadav <[email protected]>
* reward address change and unit tests

* rename

* added ut for invalid operator

* rename

* renames and ut

* renames
* reward address change and unit tests

* rename

* added ut for invalid operator

* rename

* renames and ut

* renames

* extended referral methods

* pr comments improvements

* typo
* basic utility pool structure

* sdCollateral intergration with utilityPool

* Rename SDx.sol to SDX.sol

* terminology change

* SD Incentive Controller (#210)

* Initial code

* Change terminologies

* IncentiveController->SDIncentiveController

* Run prettier

* Use block number and read from staderConfig

* utilize flow

* dwlwgator withdraw flow

* seperate function in node registry to utilze SD

* view function to get latest data

* Liquidation (#211)

* User struct

* mapping

* calculation

* liquidationCall initial

* Add riskconfig

* Add back comments

* include pause functionality

* repay flow changes and comments

* Operator reward integration (#213)

* init

* Introduce owedAmount

* Update OperatorRewardsCollector.sol

* Add PoolUtils

* claimLiquidation

* Fix compile

* Fix claimFor

* Add liquidator data

* review fixes

* deposit SD reward as collateral changes

* Fix compilation

* Change function orders

* Fix review

* Add exit operator

* deposit SD reward as collateral flow changes

* Fix review

* Use operatorUtilizedSDBalance

* custom error message

* deploy script for utility pool

* Updates on incentiveController

* Add docs and checkers

* fix claim function time cool down logic

* Add withdrawable

* rename function and variables

* Add non-existent liquidation check

* fix sdCollateral withdraw function

* Fix claim logic

* refactor slash SD

* whenNotPaused modifier

* Claim rewards during requestWithdraw

* review fixes

* change in request withdraw logic

* Review fix

* Introduce weth

* introducing withdrawOnBehalf in SDCollateral

* Transfer back utilized SD

* add getter in interface

* incentiveController and addValidatorKey fix

* test case for utilze and delegate flow

* referral Id for adding validator keys

* sdCollateral test cases

* SD token decimal adjust

* Multiply by DECIMAL

* Liquidation test

* Only manager role for certain functions

* test fix

* Fix weth issue

* Small fix and unit test

* Minimum reward amount

* Claim available amount

* Lint test

* Add start incentive later test

* SDP-06 fix

* SDP-11 fix

* Fix SDP-03

* SDP-02 fix

* push back SDP-03 fix

* SDP-07 fix

* SDP-17 fix

* Take initial _delegate into consideration

* whenNotPaused test cases

* comment fix

* Expand liquidation call tests

* Update SDIncentiveController.t.sol

* Separate claim and claimLiquidation

* Add test

* Quick fix

* Remove claimFor

* Fix test

* Lint and add tests

* small change claim

* Add emit tests

* Refactor test

* add emit test

* claim after liquidation

* change initial delegate amount to 1 SD

* Initialise risk config at initialize

* Internal function prefix with _

* renaming change

* Collateral in ETH and expose liquidationIndexByOperator

* rounding up interest in ETH

* reward collector test fixed

* foundry deploy script

* minimum withdraw and delegate limits

* rounding up cTokenShare in requestWithdrawWithSD call

* fix utilityPool with min delegate amount

* add clearUtilizedPosition function

* add totalUtilizedSD getter in interface

* clearing utilized position using withdrawOnBehalf

* optimize _transferBackUtilizedSD

* handling of edge cases when nonTerminalKeys are 0

* update interface

* add utilityPool deploy script

* introduce claimWithAmount function in rewardCollector

* fix: only call withdraw if balance of nodeELVault greater than 0

* updating operatorRewardsCollector Interface

* adding third party license file

* fix formatting of README

* add title in License file

* formatting the title of License file

---------

Co-authored-by: Sanjay Yadav <[email protected]>
Co-authored-by: Dulguun <[email protected]>
* adding deployed addresses in README

* adding deployed addresses in README

* run prettier
Fixes for NodeELRewardVault.t

Fixes for solidity formatting:
 - bracketSpacing
 - double quote
 - no tabs

Fixes test_withdraw in NodeELRewardVault.t.sol

Pass operator address as argument to NodeRegistryMock

rebase changes from mainnet_V0

fixing hoax prank issues

ValidatorWithdrawalVaultTest is passing

PermissionlessNodeRegistryTest.test_markReadyToDepositValidator is passing

PermissionlessNodeRegistryTest.test_getAllActiveValidatorsWithZeroPageNumber is passing

PermissionlessNodeRegistryTest.test_getAllActiveValidators is passing

PermissionlessPoolTest.test_setCommisionFeesWithInvalidInput is passing

PermissionedPoolTest.test_StakeUserETHToBeaconChain is passing

OperatorRewardsCollectorTest passing

All tests passing
- adding support for code coverage analytics
- SDUtilityPoolTest.test_RequestWithdraw - cleanup test with fuzzer range issues
- adding manual workflow dispatch
- cleanup UserWithdrawlManager requestId finalization tests
- fixes for formatting, leftover from previous change
- Dockerfile optimization, move npm and python so they do not depend on code changes
Bumps [@openzeppelin/contracts-upgradeable](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable) from 4.8.0-rc.1 to 4.9.6.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/master/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts-upgradeable@v4.8.0-rc.1...v4.9.6)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts-upgradeable"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.28.0/CHANGELOG.md)
- [Commits](axios/axios@v0.27.2...v0.28.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.9.0 to 4.9.6.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md)
- [Commits](OpenZeppelin/openzeppelin-contracts@v4.9.0...v4.9.6)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.1 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.1...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.64.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.64)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [debug](https://github.com/debug-js/debug) and [eth-gas-reporter](https://github.com/cgewecke/eth-gas-reporter). These dependencies needed to be updated together.

Updates `debug` from 3.2.6 to 4.3.4
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](debug-js/debug@3.2.6...4.3.4)

Updates `eth-gas-reporter` from 0.2.25 to 0.2.27
- [Release notes](https://github.com/cgewecke/eth-gas-reporter/releases)
- [Changelog](https://github.com/cgewecke/eth-gas-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cgewecke/eth-gas-reporter/commits/v0.2.27)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: indirect
- dependency-name: eth-gas-reporter
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@jac18281828 jac18281828 self-assigned this Apr 18, 2024
@jac18281828 jac18281828 changed the title Mainnet v0 to main mainnet_v0 to main Apr 18, 2024
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

Attention: Patch coverage is 89.93822% with 228 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@f6d1cc4). Click here to learn what that means.

Files Patch % Lines
contracts/SDUtilityPool.sol 82.59% 38 Missing and 17 partials ⚠️
contracts/OperatorRewardsCollector.sol 71.05% 18 Missing and 4 partials ⚠️
contracts/SocializingPool.sol 79.12% 13 Missing and 6 partials ⚠️
contracts/StaderOracle.sol 93.14% 13 Missing and 4 partials ⚠️
contracts/SDCollateral.sol 85.18% 11 Missing and 5 partials ⚠️
contracts/UserWithdrawalManager.sol 83.87% 9 Missing and 6 partials ⚠️
contracts/L2/ETHx.sol 0.00% 11 Missing ⚠️
contracts/SDIncentiveController.sol 81.63% 4 Missing and 5 partials ⚠️
contracts/Auction.sol 89.18% 4 Missing and 4 partials ⚠️
contracts/PermissionedNodeRegistry.sol 96.59% 4 Missing and 4 partials ⚠️
... and 13 more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #233   +/-   ##
=======================================
  Coverage        ?   89.11%           
=======================================
  Files           ?       42           
  Lines           ?     2555           
  Branches        ?      298           
=======================================
  Hits            ?     2277           
  Misses          ?      194           
  Partials        ?       84           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jac18281828 jac18281828 merged commit 2883028 into main Apr 22, 2024
5 of 9 checks passed
@jac18281828 jac18281828 deleted the mainnet_V0_to_main branch April 22, 2024 21:01
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