This repository was archived by the owner on Aug 22, 2025. It is now read-only.
Commit 49fda9d
authored
[poap] fix: Add 'first' parameter to subgraph queries for complete batch processing (#1782)
* fix(poap): Add 'first' parameter to subgraph queries for complete batch processing
- Fix incomplete results when processing large address batches
- Add 'first: addresses.length' parameter to GraphQL queries
- Create fresh query objects per batch to avoid mutation issues
- Remove unused query object after implementing per-batch queries
This resolves voting power calculation discrepancies where batch
processing would return incomplete subgraph results, causing
incorrect vote tallies in delegation scenarios.
* remove stright forward comments1 parent 3ec847a commit 49fda9d
1 file changed
Lines changed: 23 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 62 | | |
85 | 63 | | |
86 | 64 | | |
87 | 65 | | |
88 | | - | |
89 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
0 commit comments