Skip to content

Commit

Permalink
fix(dummy): correct type in exec.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Aug 14, 2023
1 parent 3172b59 commit 4519b19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/dummy/query_resp.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@
},
"positions": {
"positions": {
"ETH:USD": {
"BTC:USD": {
"trader_addr": "nibi1zaavvzxez0elundtn32qnk9lkm8kmcsz44g7xl",
"pair": "ETH:USD",
"pair": "BTC:USD",
"size": "420",
"margin": "420",
"open_notional": "420",
"latest_cpf": "0",
"block_number": "1"
},
"BTC:USD": {
"ETH:USD": {
"trader_addr": "nibi1zaavvzxez0elundtn32qnk9lkm8kmcsz44g7xl",
"pair": "BTC:USD",
"pair": "ETH:USD",
"size": "420",
"margin": "420",
"open_notional": "420",
Expand Down
2 changes: 1 addition & 1 deletion packages/dummy/src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub mod test {
pub fn execute_depth_shift() -> ShifterExecuteMsg {
ShifterExecuteMsg::DepthShift {
pair: DUMMY_PAIR.to_string(),
depth_mult: dec_420(),
depth_mult: Uint256::from(420u128),
}
}

Expand Down

0 comments on commit 4519b19

Please sign in to comment.