Skip to content

Commit

Permalink
Add missing block
Browse files Browse the repository at this point in the history
  • Loading branch information
batphonghan committed Oct 1, 2024
1 parent c49dc6e commit fa45345
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion adapters/kelp_gain_linea/src/lib/spectra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fa45345

Please sign in to comment.