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

Failed to fetch Slasher address #288

Open
matcra587 opened this issue Feb 10, 2025 · 2 comments
Open

Failed to fetch Slasher address #288

matcra587 opened this issue Feb 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@matcra587
Copy link

matcra587 commented Feb 10, 2025

Describe the bug

When running eigenlayer operator register operator.yaml on holesky I am unable to do so, please see below for my steps/errors

To Reproduce

 ~/go/bin/eigenlayer operator config create

# operator.yaml
operator:
  address: 0x1234567890abcdef
  delegation_approver_address: 0x1234567890abcdef
  allocation_delay: 1200 # or `staker_opt_out_window_blocks: 0` depending on version of cli
  metadata_url: "https://raw.githubusercontent.com/path/to/metadata.json"
el_delegation_manager_address: 0xA44151489861Fe9e3055d95adC98FbD462B948e7
eth_rpc_url: "https://ethereum-holesky-rpc.publicnode.com"
chain_id: 17000
private_key_store_path: "/path/to/ecdsa.json"
signer_type: "local_keystore"

Then I run the register subcommand afterwards, and get the below. I have tried 3 different versions as shown below

 ~/go/bin/eigenlayer operator register operator.yaml
Feb 10 18:04:02.588 INF ✅ Operator configuration file read successfully 0x1234567890abcdef
Feb 10 18:04:02.588 INF ⏳ Validating operator config: 0x1234567890abcdef
Feb 10 18:04:02.799 INF ✅ Operator configuration file validated successfully 0x1234567890abcdef
? Enter password to decrypt the ecdsa private key:
failed to get EL writer: failed to create new writer from config: Failed to fetch Slasher address: execution reverted

Expected behavior

Expecting a successful registration

Screenshots

OS details

MacOS
Eigenlayer CLI v0.11.1, 0.12.0-beta, 0.12.0-beta2

Additional context

I also imported the key to see if that would help

~/go/bin/eigenlayer keys list

Key Name: KEY_NAME
Key Type: ECDSA
Address: 0x1234567890abcdef
Key location: /path/to//.eigenlayer/operator_keys/KEY_NAME.ecdsa.key.json
====================================================================================
@matcra587 matcra587 added the bug Something isn't working label Feb 10, 2025
@Faithtosin
Copy link

Using version v0.12.0-beta fixed this issue for me.
curl -sSfL https://raw.githubusercontent.com/layr-labs/eigenlayer-cli/master/scripts/install.sh | sh -s -- v0.12.0-beta

@Marco-R2D2
Copy link

I have the same issue on Ubuntu:

root@e1236b45bb1d:/app# curl -sSfL https://raw.githubusercontent.com/layr-labs/eigenlayer-cli/master/scripts/install.sh | sh -s -- v0.12.0-beta2
layr-labs/eigenlayer-cli info checking GitHub for tag 'v0.12.0-beta2'
layr-labs/eigenlayer-cli info found version: 0.12.0-beta2 for linux/amd64
layr-labs/eigenlayer-cli info installed /root/bin/eigenlayer
layr-labs/eigenlayer-cli info Telemetry is enabled by default. To disable it, set the EIGENLAYER_CLI_TELEMETRY_ENABLED environment variable to false.
root@e1236b45bb1d:/app# eigenlayer operator register operator.yaml
Feb 18 10:43:48.936 INF ✅ Operator configuration file read successfully 0xf7A4Cb3d9bA9CA3d90216014f7419d63c1537061
Feb 18 10:43:48.937 INF ⏳ Validating operator config: 0xf7A4Cb3d9bA9CA3d90216014f7419d63c1537061
Feb 18 10:43:49.449 INF ✅ Operator configuration file validated successfully 0xf7A4Cb3d9bA9CA3d90216014f7419d63c1537061
? Enter password to decrypt the ecdsa private key: *****************************
failed to get EL writer: failed to create new writer from config: Failed to fetch Slasher address: execution reverted

Need help to fix that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants