lighthouse-pulse/common/account_utils
Pawan Dhananjay 6e6e9104f5 Prevent adding duplicate validators to validator_definitions.yml (#2166)
## Issue Addressed

N/A

## Proposed Changes

This is mostly a UX improvement.

Currently, when recursively finding keystores, we only ignore keystores with same path.This leads to potential issues while copying datadirs (e.g. copying datadir to a new ssd with more storage). After copying new datadir and starting the vc, we will  discover the copied keystores as new keystores and add it to the definitions file leading to duplicate entries.

This PR avoids duplicate keystores being discovered as new keystore by checking for duplicate pubkeys as well.
2021-02-15 06:09:51 +00:00
..
src Prevent adding duplicate validators to validator_definitions.yml (#2166) 2021-02-15 06:09:51 +00:00
Cargo.toml Validator dir creation (#1746) 2020-10-08 21:01:32 +00:00