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

Make base pool better #1790

Merged
merged 11 commits into from
Sep 19, 2022
Merged

Make base pool better #1790

merged 11 commits into from
Sep 19, 2022

Conversation

TomAFrench
Copy link
Contributor

No description provided.

Copy link
Contributor

@nventuro nventuro left a comment

Choose a reason for hiding this comment

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

Lovely

Comment on lines 245 to 250
poolId,
sender,
recipient,
balances,
lastChangeBlock,
inRecoveryMode() ? 0 : protocolSwapFeePercentage, // Protocol fees are disabled while in recovery mode
Copy link
Contributor

Choose a reason for hiding this comment

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

We can change the internal handler to not receive data we know we don't care about, such as the fee percentage, recipient, or last change block

@TomAFrench TomAFrench marked this pull request as ready for review September 19, 2022 15:14
@TomAFrench TomAFrench merged commit 6072112 into master Sep 19, 2022
@TomAFrench TomAFrench deleted the make-base-pool-better branch September 19, 2022 15:15
TomAFrench added a commit that referenced this pull request Sep 19, 2022
* master:
  Upgrade ignore-warnings (#1789)
  Expose getter for expected compression error on ValueCompression.sol (#1793)
  Remove `_getTotalTokens` internal getter (#1794)
  Remove unused imports (#1795)
  Make base pool better (#1790)
  Update readme.md
  Deploy relayer v4 (#1791)
  [Deployments] Batch relayer V4 preparation. (#1706)
  refactor: remove BaseWeightedPool (#1788)
  Move ManagedPool swap, join, exit logic to ManagedPoolAMMLogic (#1787)
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.

3 participants