Skip to content

Commit

Permalink
fix: add back in removed test
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Aug 26, 2024
1 parent 6e75388 commit 01749ba
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/msgs/staking/query_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,23 @@ fn json_get_staker_and_seq() {
assert_json_deser(msg, expected_json);
}

#[test]
fn json_is_executor_committee_eligible() {
let expected_json = json!({
"is_executor_committee_eligible": {
"public_key": "public_key",
}
});
let msg: QueryMsg = StakingQueryMsg::IsExecutorCommitteeEligible {
public_key: "public_key".to_string(),
}
.into();
#[cfg(not(feature = "cosmwasm"))]
assert_json_ser(msg, expected_json);
#[cfg(feature = "cosmwasm")]
assert_json_deser(msg, expected_json);
}

#[test]
fn json_is_executor_eligible() {
#[cfg(not(feature = "cosmwasm"))]
Expand Down

0 comments on commit 01749ba

Please sign in to comment.