ethereum / ethereum/staking-launchpad
This JSON file isn't for the right network. Upload a file generated for your current network: Mainnet.
- Dominant language
- TypeScript
- Stars
- 304
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to fund an additional validator for the mainnet, and when uploading the deposit data I am presented with the error -
```
This JSON file isn't for the right network. Upload a file generated for your current network: Mainnet.
```
From digging into the code, it seems this error can be presented due to numerous actual issues. Given I'm using the same deposit binary that I used to generate my initial deposit, I'm wondering what MIN_DEPOSIT_CLI_VERSION is for the production launchpad site? I'm still running 2.0.0, and I'm wondering if that's failing the check at -
https://github.com/ethereum/staking-launchpad/blob/d25870fabccdc9b896fa6d061bdfbc2f87990ec1/src/pages/UploadValidator/validateDepositKey.ts#L73
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in src/pages/UploadValidator/validateDepositKey.ts at line 73 and inspect the validation reached when uploading the additional mainnet deposit data. Reproduce the upload using the deposit binary and JSON described in the issue, then determine which condition triggers the generic network error and whether MIN_DEPOSIT_CLI_VERSION is involved. Done means the cause and the required corrective change are identified and covered by an appropriate validation test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100