Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Enable slasher broadcast by default #4368

Closed
wants to merge 9 commits into from

Conversation

Gua00va
Copy link
Contributor

@Gua00va Gua00va commented Jun 2, 2023

Issue Addressed

This PR addresses issue #4350

Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
--slasher-broadcast is passed and,
--slasher-broadcast=true is passed.

Only when an explicit false value is passed the slasher does not broadcast.(--slasher-broadcast=false).

Additional Info

TODO

  • Modify CLI parsing logic
  • Write test

Refer to #4353

@Gua00va
Copy link
Contributor Author

Gua00va commented Jun 2, 2023

I based on @michaelsproul lmdb-default branch. Hence, this is showing those changes too. #4360

@Gua00va
Copy link
Contributor Author

Gua00va commented Jun 7, 2023

This should work now as anvil as been fixed as of #4381

@michaelsproul
Copy link
Member

@Gua00va looks like there's a small merge conflict, would you mind resolving it by merging in unstable (or rebasing)?

@Gua00va
Copy link
Contributor Author

Gua00va commented Jun 7, 2023

@Gua00va looks like there's a small merge conflict, would you mind resolving it by merging in unstable (or rebasing)?

I have resolved the merge conflict.

@michaelsproul michaelsproul added ready-for-review The code is ready for review backwards-incompat Backwards-incompatible API change v4.3.0 Estimated Q2 2023 labels Jun 7, 2023
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks

@michaelsproul michaelsproul changed the title Default slasher broadcast Enable slasher broadcast by default Jun 8, 2023
@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jun 8, 2023
@michaelsproul
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Jun 8, 2023
## Issue Addressed

This PR addresses issue #4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to #4353 


Co-authored-by: Rahul Dogra <[email protected]>
Co-authored-by: Gua00va <[email protected]>
@bors
Copy link

bors bot commented Jun 8, 2023

Build failed:

@michaelsproul
Copy link
Member

bors retry

bors bot pushed a commit that referenced this pull request Jun 8, 2023
## Issue Addressed

This PR addresses issue #4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to #4353 


Co-authored-by: Rahul Dogra <[email protected]>
Co-authored-by: Gua00va <[email protected]>
@bors
Copy link

bors bot commented Jun 8, 2023

Timed out.

@michaelsproul
Copy link
Member

bors retry

🙏

bors bot pushed a commit that referenced this pull request Jun 8, 2023
## Issue Addressed

This PR addresses issue #4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to #4353 


Co-authored-by: Rahul Dogra <[email protected]>
Co-authored-by: Gua00va <[email protected]>
@bors
Copy link

bors bot commented Jun 8, 2023

@bors bors bot changed the title Enable slasher broadcast by default [Merged by Bors] - Enable slasher broadcast by default Jun 8, 2023
@bors bors bot closed this Jun 8, 2023
ghost pushed a commit to oone-world/lighthouse that referenced this pull request Jul 13, 2023
## Issue Addressed

This PR addresses issue sigp#4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to sigp#4353 


Co-authored-by: Rahul Dogra <[email protected]>
Co-authored-by: Gua00va <[email protected]>
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
## Issue Addressed

This PR addresses issue sigp#4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to sigp#4353 


Co-authored-by: Rahul Dogra <[email protected]>
Co-authored-by: Gua00va <[email protected]>
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
## Issue Addressed

This PR addresses issue sigp#4350

## Proposed Changes

This change will enable slasher broadcast in the following cases:
No flag is passed,
`--slasher-broadcast` is passed and,
`--slasher-broadcast=true` is passed.

Only when an explicit false value is passed the slasher does not broadcast.(`--slasher-broadcast=false`).

## Additional Info

TODO

- [x] Modify CLI parsing logic
- [x] Write test

Refer to sigp#4353 


Co-authored-by: Rahul Dogra <[email protected]>
Co-authored-by: Gua00va <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompat Backwards-incompatible API change ready-for-merge This PR is ready to merge. v4.3.0 Estimated Q2 2023
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants