attestantio / vouch

Apache License 2.0
112 stars 28 forks source link

How could I exit a validator if I use vouch to manage serval validators? #132

Closed pursonc closed 1 year ago

pursonc commented 1 year ago

How could I exit a validator if I use vouch to manage serval validators?

mcdee commented 1 year ago

You can create and broadcast an exit transaction using ethdo, try ethdo validator exit --help for details.

pursonc commented 1 year ago

Thanks.

pursonc commented 1 year ago

You can create and broadcast an exit transaction using ethdo, try ethdo validator exit --help for details.

Could you give me an example of generating and broadcasting the exit message on threshold 2/3 architecture built on vouch & dirk?

I got these errors when I try to run ethdo validator exit


ethdo validator exit --validator=DistributedWallet/1 --remote=dirk-server --server-ca-cert ./dirk_authority.crt   --client-cert ./client2.crt   --client-key ./client2.key   --account=DistributedWallet/1 --verbose

Error: failed to process: failed to sign exit operation: failed to sign: failed to obtain signature: not enough signatures: 0 signed, 3 denied, 0 failed, 0 errored
mcdee commented 1 year ago

You need to ensure that you are allowed to create exits, which is controlled by the 'server.rules.admin-ips' list. In your .dirk.yml files you need:

server:
  rules:
    admin-ips: ['1.2.3.4']

Replacing the IP address with the server from which you wish to generate exits.

pursonc commented 1 year ago

You need to ensure that you are allowed to create exits, which is controlled by the 'server.rules.admin-ips' list. In your .dirk.yml files you need:

server:
  rules:
    admin-ips: ['1.2.3.4']

Replacing the IP address with the server from which you wish to generate exits.

Works well! Thank you!