-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor WeightedPool test helpers (#2099)
* refactor: remove the deployer that is one big special case * refactor: generalize BasePool and introduce BaseWeighted for shared weighted functions * refactor: introduce classes for individual weighted pool types * test: update pool-utils tests using weighted pools * test: adjust weighted pool tests to use individual models * test: adjust dependencies in standalone utils * remove unused functions; move statics together * factor out pause parameter defaults * factor: adjust factory parameters * refactor: use string enum ManagedPoolType instead of string * lint: single vs double quotes * refactor: consistent capitalization * fix: consistent capitalization * checkpoint * lint * fix: overload TokenList.indicesOf * lint * docs: cleanup/clarify comments * allow WeightedPool to be created with all flavors of Account * create WeightedPool with signer owner
- Loading branch information
1 parent
72f869c
commit 8a6dbbd
Showing
17 changed files
with
1,256 additions
and
1,157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.