Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jan 9, 2025
1 parent dd914ac commit 63d4a4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/vaults-and-reserve-metrics-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,25 @@ jobs:
run: ./scripts/validateData.mjs
env:
entity: vaultManagerMetricsDailies
blockHeight: 1231
blockHeight: 1226

- name: Test ReserveMetrics
run: ./scripts/validateData.mjs
env:
entity: reserveMetrics
blockHeight: 1231
blockHeight: 1226

- name: Test ReserveAllocationMetrics
run: ./scripts/validateData.mjs
env:
entity: reserveAllocationMetrics
blockHeight: 1231
blockHeight: 1226

- name: Test ReserveAllocationMetricsDaily
run: ./scripts/validateData.mjs
env:
entity: reserveAllocationMetricsDailies
blockHeight: 1231
blockHeight: 1226

- name: Notify About Failure
if: >
Expand Down
15 changes: 6 additions & 9 deletions scripts/queries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ export const getQuery = (entity, filters) => {

const queries = {
vaultManagerGovernances: `query {
vaultManagerGovernances {
vaultManagerGovernances ${filterString} {
nodes {
blockHeight
id
debtLimit
interestRateDenominator
Expand All @@ -29,9 +28,8 @@ export const getQuery = (entity, filters) => {
}
}`,
vaultManagerMetrics: `query {
vaultManagerMetrics {
vaultManagerMetrics ${filterString} {
nodes {
blockHeight
id
liquidatingCollateralBrand
liquidatingCollateralValue
Expand All @@ -54,7 +52,7 @@ export const getQuery = (entity, filters) => {
}
}`,
vaultManagerMetricsDailies: `query {
vaultManagerMetricsDailies {
vaultManagerMetricsDailies ${filterString} {
nodes {
path
liquidatingCollateralBrand
Expand All @@ -79,9 +77,8 @@ export const getQuery = (entity, filters) => {
}
}`,
reserveMetrics: `query {
reserveMetrics {
reserveMetrics ${filterString} {
nodes {
blockHeight
id
shortfallBalance
totalFeeBurned
Expand All @@ -90,7 +87,7 @@ export const getQuery = (entity, filters) => {
}
}`,
reserveAllocationMetrics: `query {
reserveAllocationMetrics {
reserveAllocationMetrics ${filterString} {
nodes {
id
denom
Expand All @@ -100,7 +97,7 @@ export const getQuery = (entity, filters) => {
}
}`,
reserveAllocationMetricsDailies: `query {
reserveAllocationMetricsDailies {
reserveAllocationMetricsDailies ${filterString} {
nodes {
denom
key
Expand Down

0 comments on commit 63d4a4f

Please sign in to comment.