Skip to content

Commit

Permalink
Merge pull request #20 from stratosnet/fix-params-stratos-2.17.3
Browse files Browse the repository at this point in the history
Fix/ST-301:Update gov_params metadata
  • Loading branch information
alexstratos authored Jun 20, 2024
2 parents 11fbb8b + d472f7e commit 90be050
Show file tree
Hide file tree
Showing 9 changed files with 701 additions and 5,129 deletions.
7 changes: 3 additions & 4 deletions apps/web-stratos/src/graphql/general/params.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ query Params {
distributionParams: distribution_params(limit: 1, order_by: {height: desc}) {
params
}
govParams: gov_params (limit: 1, order_by: {height: desc}) {
depositParams: deposit_params
tallyParams: tally_params
votingParams: voting_params
govParams: gov_params(limit: 1, order_by: {height: desc}) {
params
height
}
}
4 changes: 2 additions & 2 deletions apps/web-stratos/src/graphql/general/proposal_details.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ query ProposalDetails($proposalId: Int) {
content
proposalId: id
submitTime: submit_time
proposalType: proposal_type
#proposalType: proposal_type
depositEndTime: deposit_end_time
votingStartTime: voting_start_time
votingEndTime: voting_end_time
Expand All @@ -25,7 +25,7 @@ query ProposalDetailsTally($proposalId: Int) {
bondedTokens: bonded_tokens
}
quorum: gov_params (limit: 1, order_by: {height: desc}) {
tallyParams: tally_params
tallyParams: params
}
}

Expand Down
1 change: 0 additions & 1 deletion apps/web-stratos/src/graphql/general/token_price.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
subscription TokenPriceListener($denom: String) {
tokenPrice: token_price(where: {unit_name: {_eq: $denom}}) {
id
price
timestamp
marketCap: market_cap
Expand Down
Loading

0 comments on commit 90be050

Please sign in to comment.