Skip to content

Commit

Permalink
Merge pull request #45 from neutron-org/fix/pool_metadata_proto
Browse files Browse the repository at this point in the history
Fix: pool metadata proto
  • Loading branch information
pr0n00gler authored Apr 26, 2024
2 parents 064fcbf + e25a79f commit 0b6b0bb
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 46 deletions.
90 changes: 45 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ incremental = false
overflow-checks = true

[workspace.dependencies]
neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", branch = "feat/proposal-votes" }
neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", branch = "feat/sdk-50" }
prost = "0.12.4"
prost-types = "0.12.4"
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
Expand Down
2 changes: 2 additions & 0 deletions contracts/dex_stargate/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,13 @@ pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult<Binary> {
QueryMsg::GetLimitOrderTrancheUser {
address,
tranche_key,
calc_withdrawable_shares,
} => Ok(to_json_binary(&get_limit_order_tranche_user(
deps,
LimitOrderTrancheUserRequest {
address,
tranche_key,
calc_withdrawable_shares,
},
)?)?),

Expand Down
1 change: 1 addition & 0 deletions contracts/dex_stargate/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ pub enum QueryMsg {
GetLimitOrderTrancheUser {
address: String,
tranche_key: String,
calc_withdrawable_shares: bool,
},
AllLimitOrderTrancheUser {
pagination: Option<PageRequest>,
Expand Down

0 comments on commit 0b6b0bb

Please sign in to comment.