attestantio / vouch

Apache License 2.0
112 stars 28 forks source link

Minimum configuration running vouch #26

Closed ahadda5 closed 2 years ago

ahadda5 commented 3 years ago

Support Ticket

Vouch is a viable tool to run , helping test the beacon-chain. Running vouch seems to be tied to Dirk and ethdo. Dirk is very useful especially if you have many wallets/accounts to manage.

However i only have one wallet and it was created along with depositing funds through the launchpad. Is there a way to run vouch without using dirk and leverage the existing wallet I have?

My Setup

Code cloned and built under ~/vouch here is the .vouch.yml in the same folder

Errors since it cannot start account manager. eth2 client is prysm.

log-file: /home/ahaddad/vouch/vouch.log
log-level: Debug
beacon-node-address: localhost:4000
accountmanager:
    wallet:
           locations:
            - ~/.eth2validators/prysm-wallet-v2
            accounts:
            - Validators
           passphrases:
            - iblablabla
strategies:
  # The beaconblockproposal strategy obtains beacon block proposals from multiple sources.
  beaconblockproposal:
    # style can be 'best', which obtains blocks from all nodes and selects the best, or 'first', which uses the first returned
    style: best
    # beacon-node-addresses are the addresses of beacon nodes to use for this strategy.
    beacon-node-addresses:
      - localhost:4000
      - localhost:3501
  # The attestationdata strategy obtains attestation data from multiple sources.
  attestationdata:
    # style can be 'best', which obtains attestation data from all nodes and selects the best, or 'first', which uses the first returned
    style: best
    # beacon-node-addresses are the addresses of beacon nodes to use for this strategy.
    beacon-node-addresses:
      - localhost:4000
      - localhost:3501
  # The aggregateattestation strategy obtains aggregate attestations from multiple sources.
  # Note that the list of nodes here must be a subset of those in the attestationdata strategy.  If not, the nodes will not have
  # been gathering the attestations to aggregate and will error when the aggregate request is made.
  aggregateattestation:
    # style can be 'best', which obtains aggregates from all nodes and selects the best, or 'first', which uses the first returned
    style: best
    # beacon-node-addresses are the addresses of beacon nodes to use for this strategy.
    # Note that prysm nodes are not supported at current in this strategy.
    beacon-node-addresses:
      - localhost:4000
      - localhost:3501