Made minor changes to CurveCryptoPool._tweak_price like changing parameter types and adding a few error messages.
Most of the lines come from the new test_tweak_price function in test_tricrypto.py, which tests _tweak_price's behavior after a pool experiences donations, an exchange, a deposit, and a withdrawal.
Hygiene checklist
[x] Changelog entry
[x] Everything public has a Numpy-style docstring
(modules, public functions, classes, and public methods)
[x] Commit history is cleaned-up with minor changes squashed together
and descriptive commit messages following Tim Pope's style
Description
CurveCryptoPool._tweak_price
like changing parameter types and adding a few error messages.test_tweak_price
function intest_tricrypto.py
, which tests_tweak_price
's behavior after a pool experiences donations, an exchange, a deposit, and a withdrawal.Hygiene checklist
Cute Animal Picture