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

Validators checker #90

Merged
merged 50 commits into from
Jun 19, 2024
Merged

Validators checker #90

merged 50 commits into from
Jun 19, 2024

Conversation

evgeny-stakewise
Copy link
Contributor

No description provided.

@evgeny-stakewise evgeny-stakewise marked this pull request as ready for review April 16, 2024 15:07
@tsudmi tsudmi changed the base branch from update-exit-queue to eigenlayer May 7, 2024 12:10
@tsudmi tsudmi changed the base branch from eigenlayer to update-exit-queue May 7, 2024 12:28
@tsudmi tsudmi changed the base branch from update-exit-queue to eigenlayer May 7, 2024 12:29
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
test/EthValidatorsChecker.spec.ts Outdated Show resolved Hide resolved
test/EthValidatorsChecker.spec.ts Outdated Show resolved Hide resolved
test/EthValidatorsChecker.spec.ts Outdated Show resolved Hide resolved
test/EthValidatorsChecker.spec.ts Outdated Show resolved Hide resolved
test/shared/fixtures.ts Outdated Show resolved Hide resolved
contracts/interfaces/IValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/interfaces/IValidatorsChecker.sol Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/EthValidatorsChecker.sol Outdated Show resolved Hide resolved
contracts/validators/GnoValidatorsChecker.sol Outdated Show resolved Hide resolved
test/__snapshots__/DepositDataRegistry.spec.ts.snap Outdated Show resolved Hide resolved
test/EthValidatorsChecker.spec.ts Outdated Show resolved Hide resolved
test/shared/fixtures.ts Outdated Show resolved Hide resolved
test/shared/fixtures.ts Outdated Show resolved Hide resolved
@tsudmi tsudmi merged commit 1579204 into eigenlayer Jun 19, 2024
1 check passed
@tsudmi tsudmi deleted the validators-checker branch June 19, 2024 13:35
tsudmi added a commit that referenced this pull request Jun 19, 2024
* Add blocklist factory, update exit queue

* Fix exiting assets constructor arg

* Move genesis vault legacy rewards update to _processTotalAssetsDelta

* Remove ejectUser functions, change genesis withdrawal creds to pool escrow

* Update snapshots

* Fix linting

* Move queued shares in interface

* Emit Transfer event on update exit queue

* Disable slither shadow state variable warning

* Rename ExitQueueEntered to V2ExitQueueEntered

* Revert changing withdrawal creds to pool escrow for genesis vault

* Deploy new factories, implementations to holesky

* Fix genesis vault snapshot

* Fix genesis vault fork tests

* Fix incorrect calculateExitedAssets interface outputs

* Extract Vault deposit data management to separate contract

* Remove redundant error

* Gas optimiziation

* Upgrade packages, fix coverage

* Move DepositDataManager from misc to validators

* Rename keysManager to validatorsManager

* Add version check to DepositDataManager

* Fix deprecated events

* Add multicall to the DepositDataManager

* Update snapshots

* Update IDepositDataManager interface

* Rename DepositDataManager to DepositDataRegistry

* Make _withdrawalCredentials function private

* Add state update to DepositDataRegistry

* Implement gnosis v3 vaults

* Remove redundant config

* Skip forks for gnosis tests

* Fix invalid factory addresses

* Add deposit data manager to the Gnosis vaults

* Fix gas snapshots

* Update genesis snapshots

* Update abis, snapshots

* Remove xdaiManager, rename DepositDataManager

* Fix vault assets

* Fix PriceFeeds, add stale price check

* Implement gnosis v3 vaults

* Add deposit data manager to the Gnosis vaults

* Add deposit data manager to the Gnosis vaults

* Implement eigenlayer vaults

* Extract vault EigenPod to separate contract

* Fix snapshots

* Refactor native restaking vaults

* Fix tests

* Simplify calls to eigen pods, add tests

* Remove redeemFromLtv and redeemToLtv percents

* Move exit position delay check to claimExitedAssets

* Add EthRestakeVaultFactory

* Fix tests and snapshots

* Add validators manager signature

* Audit fixes

* Fix mock contract

* Fix tests, update snapshots

* Fix snapshot

* Fix snapshots for manager signature

* Fix snapshots and test

* Remove validators manager signatures snapshots

* Add upgrade script

* Fix _computeVaultValidatorsDomain docstring

* Fix compiler version, docstring

* Validators checker (#90)

* Move exit delay check to claimExitedAssets

* Add EthValidatorsChecker

* Add tests

* Add test 'fails for vault not collateralized not deposited'

* tests 2

* fix success test

* Rework to eip-712

* add tests for check-deposit-data-root

* Cleanup

* Fix deposit registry check

* Add abi

* Refactor tests: add validatorsManagerSetup fixture

* Refactor tests: del vaultWithDepositDataManager

* Refactor tests: add getMultiProofArgs fixture

* Upd snapshots

* Add more comments

* Fix abi

* Fix tests fork

* Del loadFixture

* Add RUST_BACKTRACE: full

* Revert "Add RUST_BACKTRACE: full"

This reverts commit 0188917.

* Del EthValidatorsChecker.spec.ts

* Del ethValidatorsChecker from ethVaultFixture

* Revert "Del ethValidatorsChecker from ethVaultFixture"

This reverts commit 6ca4b46.

* Revert "Del EthValidatorsChecker.spec.ts"

This reverts commit d43d9a2.

* Add test for InvalidProof

* Log MAINNET_FORK_RPC_URL

* Revert "Log MAINNET_FORK_RPC_URL"

This reverts commit 56e657a.

* Review fixes

* Review fixes 2

* Added GnoValidatorsChecker

* Add tests for Gnosis

* Upd snapshots

* Rename abi

* Review fixes 3

* Upd snapshots

* Fix imports

* Add .python-version to gitignore

* Add deploy

* Optimize slither

* Review fixes 4

* Add validators checker address to chiado.json, holesky.json

* Replace signature with vault validators signature

* Remove createValidatorPublicKeys

* Deploy to holesky

* Deploy to chiado

* Remove unused import

* Fix EigenPodOwner verification

* Fix docstring

---------

Co-authored-by: Dmitri Tsumak <[email protected]>

---------

Co-authored-by: evgeny-stakewise <[email protected]>
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.

2 participants