From 9b9213896f9bf038d70484716bbd16987bd19b50 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Tue, 8 Dec 2020 11:29:08 +0100 Subject: [PATCH] Fix up after rebase --- contracts/cw3-flex-multisig/src/contract.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/cw3-flex-multisig/src/contract.rs b/contracts/cw3-flex-multisig/src/contract.rs index f4e7003b8..56a89ad69 100644 --- a/contracts/cw3-flex-multisig/src/contract.rs +++ b/contracts/cw3-flex-multisig/src/contract.rs @@ -1087,11 +1087,11 @@ mod tests { let query_voter = QueryMsg::Voter { address: VOTER3.into(), }; - let power: VoterResponse = app + let power: VoterInfo = app .wrap() .query_wasm_smart(&flex_addr, &query_voter) .unwrap(); - assert_eq!(power.weight, 3); + assert_eq!(power.weight, Some(3)); // Pass and execute first proposal let yes_vote = HandleMsg::Vote { @@ -1107,11 +1107,11 @@ mod tests { .unwrap(); // check membership changed properly - let power: VoterResponse = app + let power: VoterInfo = app .wrap() .query_wasm_smart(&flex_addr, &query_voter) .unwrap(); - assert_eq!(power.weight, 0); // FIXME: this should become None in a future PR + assert_eq!(power.weight, None); // first proposal executed, second closed let query_prop_1 = QueryMsg::Proposal {