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

feat: set and get operator split command #247

Merged
merged 13 commits into from
Dec 12, 2024

Conversation

gpabst
Copy link
Contributor

@gpabst gpabst commented Dec 9, 2024

Adds operator split command for rewards v2:
./eigenlayer operator set-rewards-split --operator-address 0x025246421e7247a729bbcff652c5cc1815ac6373 --avs-address 0xfF95c28C1c38bbb26EC7Ad0BAf7b17375Ff6315C --eth-rpc-url http://rpc-url --network holesky --split 1000

Eigensdk has been updated to include getting / setting methods in Layr-Labs/eigensdk-go#401

Examples:
Screenshot 2024-12-11 at 10 47 58 AM
Screenshot 2024-12-11 at 10 47 39 AM

@gpabst gpabst marked this pull request as ready for review December 11, 2024 16:15
pkg/rewards/flags.go Outdated Show resolved Hide resolved
pkg/rewards/operator_split.go Outdated Show resolved Hide resolved
pkg/rewards/operator_split.go Outdated Show resolved Hide resolved
pkg/rewards/types.go Outdated Show resolved Hide resolved
pkg/rewards/types.go Outdated Show resolved Hide resolved
pkg/rewards/operator_split.go Outdated Show resolved Hide resolved
pkg/rewards/flags.go Outdated Show resolved Hide resolved
@gpabst

This comment was marked as resolved.

@gpabst gpabst changed the title feat: set operator split command feat: Set and get operator split command Dec 11, 2024
@gpabst gpabst changed the title feat: Set and get operator split command feat: set and get operator split command Dec 11, 2024
@gpabst gpabst requested a review from shrimalmadhur December 12, 2024 14:40
pkg/operator/set_operator_split.go Outdated Show resolved Hide resolved
pkg/operator/set_operator_split.go Outdated Show resolved Hide resolved
pkg/operator/set_operator_split.go Outdated Show resolved Hide resolved
pkg/operator/set_operator_split.go Outdated Show resolved Hide resolved
pkg/operator/set_operator_split.go Show resolved Hide resolved
@gpabst gpabst requested a review from shrimalmadhur December 12, 2024 18:32
@gpabst gpabst merged commit 959bf7d into rewards-v2 Dec 12, 2024
6 checks passed
@gpabst gpabst deleted the george-elo-408-cli-operator-avs-split-command branch December 12, 2024 20:01
gpabst added a commit that referenced this pull request Dec 13, 2024
gpabst added a commit that referenced this pull request Dec 13, 2024
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.

3 participants