Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve(HubPoolClient): Remove originChain LP fee constraint #556

Merged
merged 9 commits into from
Feb 21, 2024

Conversation

pxrl
Copy link
Contributor

@pxrl pxrl commented Feb 14, 2024

Remove a constraint in batch LP fee computation by permitting any unsorted array of deposit objects, rather than requiring the array be filtered for a single origin chain. This turned out to be a fairly simple change, and allows an actor (i.e. the relayer) to batch-compute the LP fee for a large array of deposits.

A follow up change will update the function prototype to accept a repaymentChainId.

Remove a constraint in batch LP fee computation by permitting any
unsorted array of deposit objects, rather than requiring the array be
filtered for a single origin chain. This turned out to be a fairly
simple change, and allows an actor (i.e. the relayer) to batch-compute
the LP fee for a large array of deposits.

A follow up change will update the function prototype to accept a
repaymentChainId.
@nicholaspai nicholaspai changed the title [WIP] improve(HubPoolClient): Remove originChain LP fee constraint improve(HubPoolClient): Remove originChain LP fee constraint Feb 21, 2024
@nicholaspai nicholaspai marked this pull request as ready for review February 21, 2024 13:26
@nicholaspai nicholaspai merged commit 3a3bbb1 into master Feb 21, 2024
4 checks passed
@pxrl pxrl deleted the pxrl/batchCompute branch February 21, 2024 15:00
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.

2 participants