messari / subgraphs

Standardized subgraphs for blockchain data
MIT License
504 stars 238 forks source link

Eigen Layer (Ethereum) Schema Version 2.1.1 Subgraph Version 1.2.0 Methodology Version 1.0.0 #2485

Closed LeTamanoir closed 6 months ago

LeTamanoir commented 7 months ago

Describe the bug When a withdrawal of multiple tokens is completed via the completeQueuedWithdrawal function, only the first token of the withdrawal gets updated and not the rest.

Reproduction here is a reproduction. and a screenshot of this query

image

Here is the transaction of the queueWithdrawal. It contains stETH and swETH. they are correctly indexed by the subgraph as shown in the query above. But when I completed the withdrawal using completeQueuedWithdrawal only the first token got switched to completed, and not the second one.

Expected behavior Both token should have the completed field set to true, along with the same hashCompleted and blockNumberCompleted.