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 63d4a4f commit 69f3984
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/vaults-and-reserve-metrics-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ jobs:
- name: Wait for GraphQL server
run: sleep 60

# - name: Test VaultManagerGovernance
# run: ./scripts/validateData.mjs
# env:
# entity: vaultManagerGovernances
# blockHeight: 1178

# - name: Test VaultManagerMetrics
# run: ./scripts/validateData.mjs
# env:
# entity: vaultManagerMetrics
# blockHeight: 1170
- name: Test VaultManagerGovernance
run: ./scripts/validateData.mjs
env:
entity: vaultManagerGovernances
blockHeight: 1178

- name: Test VaultManagerMetrics
run: ./scripts/validateData.mjs
env:
entity: vaultManagerMetrics
blockHeight: 1170

- name: Test VaultManagerMetricsDaily
run: ./scripts/validateData.mjs
Expand Down
12 changes: 6 additions & 6 deletions scripts/queries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const getQuery = (entity, filters) => {

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

0 comments on commit 69f3984

Please sign in to comment.