Consensys / web3signer

Web3Signer is an open-source signing service capable of signing on multiple platforms (Ethereum1 and 2, Filecoin) using private keys stored in an external vault, or encrypted on a disk.
https://docs.web3signer.consensys.net/
Apache License 2.0
193 stars 75 forks source link

Subcommand to adjust the signing protection watermark #493

Closed jframe closed 1 year ago

jframe commented 2 years ago

Add a subcommand that will allow adjusting of the slashing protection watermark. This would be useful if all the slashing protection data has been lost and allow web3signer to be safely used to sign again by setting the watermark to a future slot.

Tasks

Notes

Acceptance Criteria

Tasks

joaorodrigues-consensys commented 1 year ago

Subcommand that allows setting the attestation and block watermark to the provided values

Besides attestations & block proposals, would you need to cover other duties like sync committees (altair) and signed blinded blocks (bellatrix)?

jframe commented 1 year ago

Sync committee signings aren't stored as there are is no slashing that can be done on these. The signed blinded blocks are treated the same as blocks since we pass in the body root now instead of the entire body. So these will be updated as part of the block watermark update.