-
Notifications
You must be signed in to change notification settings - Fork 7
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
Factory: enhance query_pool #128
Factory: enhance query_pool #128
Conversation
Add two queries: |
… or in bulk. Refactors the logic of what's saved in ledger
…ols. Initially it didn't worked because the wasm hash of the lp_contract fro the setup.rs file is the same. Alternative doesn't work either
how are we supposed to test the functionality of the factory deploying multiple liquidity_pools when the lp_wasm_hash is the same every time we deploy a new liquidity_pool? |
btw what are the fees, something I couldn't understand |
Pair: adds function to query total_fee_bps for a pair
…th testing the deployment of multiple liquidity pools
…ration; Compare values of the new pairs in test
…hat will return 1:1 the struct needed in the Factory contract. Factory: refacts, extends the test and reduces the number of calls to the Pair contract.
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.
Just some minor adjustments left. The most important would be to attach pool's address to the response.
…, updates tests. Pair: adds new field for the factory response. Updates CHANGELOG.md
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 👍
Factory: refactors the storage, so it keeps more information about th…e liquidity pool