From fa453455a1a22dd881da563261c820e75e0bf5ef Mon Sep 17 00:00:00 2001 From: batphonghan Date: Tue, 1 Oct 2024 11:30:02 +0700 Subject: [PATCH] Add missing block --- adapters/kelp_gain_linea/src/lib/spectra.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/adapters/kelp_gain_linea/src/lib/spectra.ts b/adapters/kelp_gain_linea/src/lib/spectra.ts index 03960935..e02904d6 100644 --- a/adapters/kelp_gain_linea/src/lib/spectra.ts +++ b/adapters/kelp_gain_linea/src/lib/spectra.ts @@ -41,6 +41,7 @@ const SHARES_QUERY: GraphQLQuery = { query: gql` query GetAccounts($block: Int, $lastId: ID!) { accounts( + block: { number: $block } where: { portfolio_: { balance_not: "0" @@ -77,7 +78,10 @@ const SHARES_QUERY: GraphQLQuery = { const POOL_QUERY: GraphQLQuery = { query: gql` query GetAccounts($block: Int) { - pool(id: "0x952ac974ff2f3ee5c05534961b661fe70fd38b8a") { + pool( + id: "0x952ac974ff2f3ee5c05534961b661fe70fd38b8a" + block: { number: $block } + ) { lpTotalSupply ibtAsset { amount