wealdtech / ethereal

Apache License 2.0
208 stars 41 forks source link

Failed to generate deposit options: failed to obtain wallet #21

Closed MysticRyuujin closed 4 years ago

MysticRyuujin commented 4 years ago

I'm trying to send deposit data using a keystore generated via geth

ethereal sees the eth1 account, and I can get the private key from it (so the passphrase is correct)

$ ethereal account list
0xd1bc5440Fd6271700Dc355036D84B930F2c86AE1

$ ethereal account keys --address=0xd1bc5440Fd6271700Dc355036D84B930F2c86AE1 --passphrase=fake
Private key:        <redacted>
Public key:     <redacted>
Ethereum address:   0xd1bc5440Fd6271700Dc355036D84B930F2c86AE1

However:

ethereal beacon deposit --network="goerli" --eth2network=zinken --data="${DEPDATA}" --from="0xd1bc5440Fd6271700Dc355036D84B930F2c86AE1" --passphrase=fake
Failed to generate deposit options: failed to obtain wallet for 0xd1bc5440Fd6271700Dc355036D84B930F2c86AE1

It's complaining about failed to obtain wallet for 0xd1bc5440Fd6271700Dc355036D84B930F2c86AE1 and I'm not sure what that means here.

MysticRyuujin commented 4 years ago

Issue is that my keystore is in mainnet folder not goerli folder