Skip to content

Do not init slashing DB when slashing protection is disabled #5310

@ricardolyn

Description

@ricardolyn

Description

Whenusing --disable-slashing-protection-web3signer, it looks like we still need to use --init-slashing-protection even if there's no slashing protection database around. This feels off since we're using web3signer and won't need it.

Version

  • Lighthouse Version: 5.0.0
  • From: stable

What's Happening

So, we set --disable-slashing-protection-web3signer thinking we wouldn't need the slashing protection DB. But, the system is still asking for --init-slashing-protection to be set, which doesn't make sense to us since we're using web3signer and not the DB.

What Should Happen

It would make more sense if --init-slashing-protection was optional when we're using --disable-slashing-protection-web3signer. That way, it fits with not needing the DB.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestval-clientRelates to the validator client binary

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions