You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After update of ganache npm package to 7.7.0 (which was released yesterday), the test execution (brownie test) fails with this error (for almost every test)
_____________________ test_price_price_id_sequence_repeat ______________________
[gw0] linux -- Python 3.9.16 /opt/pipx/venvs/eth-brownie/bin/python
usdc_feeder = <UsdcPriceDataProvider Contract '0xF12b5dd4EAD5F743C6BaA640B0216200e89B60Da'>
def test_price_price_id_sequence_repeat(usdc_feeder: UsdcPriceDataProvider):
if web3.chain_id != GANACHE:
print('unsupported test case for chain_id {}'.format(web3.chain_id))
for i, data in enumerate(USDC_CHAINLINK_DATA_PRICE_SEQUENCE_REPEAT):
inject_data(usdc_feeder, data)
print('data[{}] {}'.format(i, data))
# roundid 36893488147419103822
if i in [0, 1]:
# tx = usdc_feeder.getPriceInfo(price_id)
tx = usdc_feeder.processLatestPriceInfo()
> price_info = tx.return_value.dict()
E TypeError: int() can't convert non-string with explicit base
tests/test_aggregator_usdc.py:171: TypeError
----------------------------- Captured stdout call -----------------------------
data[0] 36893488147419103822 100000017 1660[29](https://github.com/etherisc/depeg-contracts/actions/runs/3712425152/jobs/6293941137#step:9:30)7[30](https://github.com/etherisc/depeg-contracts/actions/runs/3712425152/jobs/6293941137#step:9:31)6 1660297306 3689[34](https://github.com/etherisc/depeg-contracts/actions/runs/3712425152/jobs/6293941137#step:9:35)8814741910[38](https://github.com/etherisc/depeg-contracts/actions/runs/3712425152/jobs/6293941137#step:9:39)22
Environment information
brownie
Version: 1.19.2ganache-cli
Version: 7.7.0solc
Version: 0.8.2What was wrong?
After update of ganache npm package to 7.7.0 (which was released yesterday), the test execution (
brownie test
) fails with this error (for almost every test)Tests that fails: https://github.com/etherisc/depeg-contracts/blob/develop/tests/test_aggregator_usdc.py#L171
How can it be fixed?
Downgrade brownie to 7.6.0.
The text was updated successfully, but these errors were encountered: