Skip to content

Commit

Permalink
Add an Eq/PartialEq impl for proposal::State (#3861)
Browse files Browse the repository at this point in the history
Does what it says on the tin; this was just an oversight that this
didn't exist before.
  • Loading branch information
plaidfinch authored Feb 22, 2024
1 parent 16426c7 commit bb17fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/component/governance/src/proposal_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize};

use penumbra_proto::{penumbra::core::component::governance::v1 as pb, DomainType};

#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
#[serde(try_from = "pb::ProposalState", into = "pb::ProposalState")]
pub enum State {
Voting,
Expand Down

0 comments on commit bb17fe4

Please sign in to comment.