Skip to content

Commit

Permalink
fix: lockedStorageDeposit multiplied by 100
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd committed Feb 14, 2024
1 parent 37b5593 commit 2055164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/services/stardust/influx/influxQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,14 @@ export const LEDGER_SIZE_DAILY_QUERY = {
export const STORAGE_DEPOSIT_DAILY_QUERY = {
full: `
SELECT
last("total_storage_deposit_amount") * 100 / 1000000 AS "storageDeposit"
last("total_storage_deposit_amount") / 1000000 AS "storageDeposit"
FROM "stardust_ledger_size"
WHERE time < $to
GROUP BY time(1d) fill(null)
`,
partial: `
SELECT
last("total_storage_deposit_amount") * 100 / 1000000 AS "storageDeposit"
last("total_storage_deposit_amount") / 1000000 AS "storageDeposit"
FROM "stardust_ledger_size"
WHERE time >= $from and time <= $to
GROUP BY time(1d) fill(null)
Expand Down

0 comments on commit 2055164

Please sign in to comment.