Skip to content

Conversation

pxrl
Copy link
Collaborator

@pxrl pxrl commented Jul 25, 2025

Squashes ~18 eth_call queries down to 1 on each HubPoolClient update.

pxrl added 4 commits July 25, 2025 21:00
Squashes ~18 eth_call queries down to 1 on each HubPoolClient update.
@pxrl pxrl requested a review from nicholaspai July 25, 2025 21:07
@pxrl pxrl marked this pull request as draft July 25, 2025 21:32
async (l1Token: string) => await this.hubPool.pooledTokens(l1Token, { blockTag: update.searchEndBlock })
)
),
hubPool.callStatic.multicall(multicall, { blockTag: update.searchEndBlock }),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nb. should only multicall if uniqueLpTokens.length > 0. Otherwise the multicall fails. This is currently causing some test failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant