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

mock-consensus: 💇 use evidence::List::default #3848

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

cratelyn
Copy link
Contributor

tendermint::evidence::List implements std::default::Default. so, let's use that instead of mandating that an empty evidence list be provided each time that we build a new block.

#3840 (comment)

Reference: #3588
Reference: #3792
Reference: #3840

`tendermint::evidence::List` implements `std::default::Default`. so,
let's use that instead of mandating that an empty evidence list be
provided each time that we build a new block.

#3840 (comment)

Reference: #3588
Reference: #3792
Reference: #3840
Co-Authored-By: Henry de Valence <hdevalence@penumbralabs.xyz>
@cratelyn cratelyn added the A-mock-consensus Area: Relates to the mock consensus engine label Feb 20, 2024
@cratelyn cratelyn added this to the Sprint 0 milestone Feb 20, 2024
@cratelyn cratelyn self-assigned this Feb 20, 2024
@cratelyn cratelyn marked this pull request as ready for review February 20, 2024 14:55
@cratelyn cratelyn merged commit 7d15cbb into main Feb 20, 2024
6 checks passed
@cratelyn cratelyn deleted the katie/builder-default-evidence branch February 20, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mock-consensus Area: Relates to the mock consensus engine
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant