Skip to content

Commit

Permalink
Add an Eq/PartialEq impl for proposal::State
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidfinch committed Feb 22, 2024
1 parent 16426c7 commit eadbf3d
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 eadbf3d

Please sign in to comment.