Skip to content

Keystore funding#6

Merged
cyc60 merged 3 commits intov4from
keystore-funding
Sep 16, 2025
Merged

Keystore funding#6
cyc60 merged 3 commits intov4from
keystore-funding

Conversation

@cyc60
Copy link
Contributor

@cyc60 cyc60 commented Sep 14, 2025

No description provided.

# Conflicts:
#	src/validators/endpoints.py
#	src/validators/validators.py
@cyc60 cyc60 requested a review from Copilot September 15, 2025 06:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adds keystore funding functionality to the validators system by implementing new signature methods and endpoints for funding, withdrawal, and consolidation operations.

  • Refactored signature generation to support different validator operations (register, fund, withdraw, consolidate)
  • Added new API endpoints for funding, withdrawal, and consolidation of validators with appropriate signatures
  • Introduced VaultContract wrapper class and added support for validator manager nonce

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/validators/validators_manager.py Refactored signature generation into operation-specific functions and added encoding functions
src/validators/validators.py Added function to generate validators for funding operations
src/validators/typings.py Made validator fields optional with default values
src/validators/schema.py Added request/response models for funding, withdrawal, and consolidation operations
src/validators/endpoints.py Added new API endpoints for fund, withdraw, and consolidate operations
src/common/contracts.py Refactored contract wrapper to support dynamic addresses and added VaultContract class
src/common/abi/IEthVault.json Added ABI definition for the Ethereum vault contract
pyproject.toml Updated vulture ignore list to include new API endpoint function names

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cyc60 cyc60 merged commit e55201a into v4 Sep 16, 2025
4 checks passed
@cyc60 cyc60 deleted the keystore-funding branch September 16, 2025 17:15
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