-
Notifications
You must be signed in to change notification settings - Fork 3
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
Implement Valence and Astroport Utils #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome work, this looks great!! left a few comments for now and will revisit the rest later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazing work!
a lot of my feedback is high level and often opinionated so please feel free to push back if you disagree with anything!
other than that, one general point is that with PRs like this that migrate existing codebase and/or adds stuff on top of it, lets try to make the migration path for those existing codebases as seamless as possible. so for instance addresses that are hardcoded in the existing codebase should only change if they really need to.
again, great job!
Co-authored-by: bekauz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
This PR implements a TestContext builder mirroring the existing TestContext in the covenants repo. Astroport and valence helper functions are implemented as member functions of the TestContext, namely:
Astroport
tx_create_token_registry
tx_create_factory
tx_create_pool
tx_fund_pool
get_astroport_factory
get_astroport_pool
Valence
tx_create_auctions_manager
tx_create_auction
tx_fund_auction
tx_start_auction
Note: Additional helper functions have been added since this PR was created, including ones for Osmosis.