- NFO: Could not find files for the given pattern(s).
- Brownie v1.17.2 - Python development framework for Ethereum
- =================================================================================================================================================== test session starts ===================================================================================================================================================
- platform win32 -- Python 3.7.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
- rootdir: E:\programming\TheMoneyPrinter
- plugins: eth-brownie-1.17.2, hypothesis-6.27.3, forked-1.3.0, xdist-1.34.0, web3-5.25.0
- collected 5 items
- Launching 'ganache-cli.cmd --accounts 10 --fork https://eth-mainnet.alchemyapi.io/v2/7PiaQQc3a7n6QDxtuxofs1fF0016khuu --mnemonic brownie --port 8545 --hardfork istanbul'...
- tests\test_flashloan_v1.py EE [ 40%]
- tests\test_flashloan_v2.py EEE [100%]
- ========================================================================================================================================================= ERRORS ==========================================================================================================================================================
- __________________________________________________________________________________________________________________________________________ ERROR at setup of test_eth_flashloan ___________________________________________________________________________________________________________________________________________
- Contract = <class 'brownie.network.contract.Contract'>
- @pytest.fixture(scope="module")
- def aave_lending_pool_v1(Contract):
- """
- Yield a `Contract` object for the Aave lending pool address provider.
- """
- > yield Contract("0x24a42fD28C976A61Df5D00D0599C34c4f90748c8")
- tests\conftest.py:19:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
- build, sources = _get_deployment(alias=address_or_alias)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- address = None, alias = '0x24a42fD28C976A61Df5D00D0599C34c4f90748c8'
- def _get_deployment(
- address: str = None, alias: str = None
- ) -> Tuple[Optional[Dict], Optional[Dict]]:
- if address and alias:
- raise
- if address:
- address = _resolve_address(address)
- query = f"address='{address}'"
- elif alias:
- query = f"alias='{alias}'"
- try:
- name = f"chain{CONFIG.active_network['chainid']}"
- except KeyError:
- > raise BrownieEnvironmentError("Functionality not available in local environment") from None
- E brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
- __________________________________________________________________________________________________________________________________________ ERROR at setup of test_dai_flashloan ___________________________________________________________________________________________________________________________________________
- Contract = <class 'brownie.network.contract.Contract'>
- @pytest.fixture(scope="module")
- def DAI(Contract):
- > yield Contract("0x6B175474E89094C44Da98b954EedeAC495271d0F")
- tests\conftest.py:64:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
- build, sources = _get_deployment(alias=address_or_alias)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- address = None, alias = '0x6B175474E89094C44Da98b954EedeAC495271d0F'
- def _get_deployment(
- address: str = None, alias: str = None
- ) -> Tuple[Optional[Dict], Optional[Dict]]:
- if address and alias:
- raise
- if address:
- address = _resolve_address(address)
- query = f"address='{address}'"
- elif alias:
- query = f"alias='{alias}'"
- try:
- name = f"chain{CONFIG.active_network['chainid']}"
- except KeyError:
- > raise BrownieEnvironmentError("Functionality not available in local environment") from None
- E brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
- __________________________________________________________________________________________________________________________________________ ERROR at setup of test_eth_flashloan ___________________________________________________________________________________________________________________________________________
- Contract = <class 'brownie.network.contract.Contract'>
- @pytest.fixture(scope="module")
- def WETH(Contract):
- > yield Contract("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2")
- tests\conftest.py:54:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
- build, sources = _get_deployment(alias=address_or_alias)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- address = None, alias = '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'
- def _get_deployment(
- address: str = None, alias: str = None
- ) -> Tuple[Optional[Dict], Optional[Dict]]:
- if address and alias:
- raise
- if address:
- address = _resolve_address(address)
- query = f"address='{address}'"
- elif alias:
- query = f"alias='{alias}'"
- try:
- name = f"chain{CONFIG.active_network['chainid']}"
- except KeyError:
- > raise BrownieEnvironmentError("Functionality not available in local environment") from None
- E brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
- __________________________________________________________________________________________________________________________________________ ERROR at setup of test_dai_flashloan ___________________________________________________________________________________________________________________________________________
- Contract = <class 'brownie.network.contract.Contract'>
- @pytest.fixture(scope="module")
- def DAI(Contract):
- > yield Contract("0x6B175474E89094C44Da98b954EedeAC495271d0F")
- tests\conftest.py:64:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
- build, sources = _get_deployment(alias=address_or_alias)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- address = None, alias = '0x6B175474E89094C44Da98b954EedeAC495271d0F'
- def _get_deployment(
- address: str = None, alias: str = None
- ) -> Tuple[Optional[Dict], Optional[Dict]]:
- if address and alias:
- raise
- if address:
- address = _resolve_address(address)
- query = f"address='{address}'"
- elif alias:
- query = f"alias='{alias}'"
- try:
- name = f"chain{CONFIG.active_network['chainid']}"
- except KeyError:
- > raise BrownieEnvironmentError("Functionality not available in local environment") from None
- E brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
- _____________________________________________________________________________________________________________________________________ ERROR at setup of test_batch_eth_dai_flashloan ______________________________________________________________________________________________________________________________________
- Contract = <class 'brownie.network.contract.Contract'>
- @pytest.fixture(scope="module")
- def DAI(Contract):
- > yield Contract("0x6B175474E89094C44Da98b954EedeAC495271d0F")
- tests\conftest.py:64:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
- build, sources = _get_deployment(alias=address_or_alias)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- address = None, alias = '0x6B175474E89094C44Da98b954EedeAC495271d0F'
- def _get_deployment(
- address: str = None, alias: str = None
- ) -> Tuple[Optional[Dict], Optional[Dict]]:
- if address and alias:
- raise
- if address:
- address = _resolve_address(address)
- query = f"address='{address}'"
- elif alias:
- query = f"alias='{alias}'"
- try:
- name = f"chain{CONFIG.active_network['chainid']}"
- except KeyError:
- > raise BrownieEnvironmentError("Functionality not available in local environment") from None
- E brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
- ================================================================================================================================================= short test summary info =================================================================================================================================================
- ERROR tests/test_flashloan_v1.py::test_eth_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- ERROR tests/test_flashloan_v1.py::test_dai_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- ERROR tests/test_flashloan_v2.py::test_eth_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- ERROR tests/test_flashloan_v2.py::test_dai_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- ERROR tests/test_flashloan_v2.py::test_batch_eth_dai_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
- ==================================================================================================================================================== 5 errors in 8.96s ====================================================================================================================================================