Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Sep 30, 2024
1 parent cea3198 commit 44c6e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/consumer/osmosis-price-feed/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ mod tests {
fn json_binary() {
let resp = Binary::from_base64("eyJyZXN1bHQiOiJleUprWVhSaElqb2lRMmhqTmtaUmIxUk5WRUYzVFVSQmQwMUVRWGROUkVGM1RVUkJkMDFFUVhkTlFUMDlJbjA9In0=").unwrap();

let ack_result: AcknowledgementResult = from_json(&resp).unwrap();
let ack_result: AcknowledgementResult = from_json(resp).unwrap();
assert_eq!(
ack_result.result.to_string(),
String::from("eyJkYXRhIjoiQ2hjNkZRb1RNVEF3TURBd01EQXdNREF3TURBd01EQXdNQT09In0=")
Expand All @@ -203,7 +203,7 @@ mod tests {
String::from("Chc6FQoTMTAwMDAwMDAwMDAwMDAwMDAwMA==")
);

let response: CosmosResponse = decode_response(&packet_ack.data.to_vec()).unwrap();
let response: CosmosResponse = decode_response(&packet_ack.data).unwrap();
assert_eq!(response.responses.len(), 1);
}
}

0 comments on commit 44c6e65

Please sign in to comment.