Skip to content

Commit

Permalink
fix: changed SignedDecimal::percent to from_ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjakovic0920 committed Jan 17, 2025
1 parent bc16129 commit a62f3f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/math/andromeda-graph/src/testing/mock_querier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ impl WasmMockQuerier {
match from_json(msg).unwrap() {
PointQueryMsg::GetPoint {} => {
let msg_response = PointCoordinate {
x_coordinate: SignedDecimal::percent(1000),
y_coordinate: SignedDecimal::percent(1000),
z_coordinate: Some(SignedDecimal::percent(1000)),
x_coordinate: SignedDecimal::from_ratio(10, 1),
y_coordinate: SignedDecimal::from_ratio(10, 1),
z_coordinate: Some(SignedDecimal::from_ratio(10, 1)),
};
SystemResult::Ok(ContractResult::Ok(to_json_binary(&msg_response).unwrap()))
}
Expand Down

0 comments on commit a62f3f7

Please sign in to comment.