charon icon indicating copy to clipboard operation
charon copied to clipboard

Pass cluster definition or cluster lock file to charon test peers

Open KaloyanTanev opened this issue 5 months ago • 0 comments

🎯 Problem to be solved

Currently when we want to test our connection with peers, we require peers' ENRs to be passed as a flag. However, this can be a bit tedious process, especially for non-technical people. We can obtain the peers' ENRs from either the cluster definition or cluster lock files. We should allow to pass one of those as well.

🛠️ Proposed solution

  • [ ] Add --cluster-definition-path flag for charon test peers command
  • [ ] Add --cluster-lock-path flag for charon test peers command
  • [ ] Make require flag not --enrs, but one of the 3 --enrs, --cluster-definition-path or --cluster-lock-path
  • [ ] Fetch peers from definition / lock file and use them for the charon test peers command

🧪 Tests

  • [ ] Tested by new automated unit tests

KaloyanTanev avatar Aug 27 '24 09:08 KaloyanTanev