Facebook
From Round Meerkat, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 88
  1. NFO: Could not find files for the given pattern(s).
  2. Brownie v1.17.2 - Python development framework for Ethereum
  3.  
  4. =================================================================================================================================================== test session starts ===================================================================================================================================================
  5. platform win32 -- Python 3.7.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
  6. rootdir: E:\programming\TheMoneyPrinter
  7. plugins: eth-brownie-1.17.2, hypothesis-6.27.3, forked-1.3.0, xdist-1.34.0, web3-5.25.0
  8. collected 5 items
  9.  
  10. Launching 'ganache-cli.cmd --accounts 10 --fork https://eth-mainnet.alchemyapi.io/v2/7PiaQQc3a7n6QDxtuxofs1fF0016khuu --mnemonic brownie --port 8545 --hardfork istanbul'...
  11.  
  12. tests\test_flashloan_v1.py EE                                                                                                                                                                                                                                                                                        [ 40%]
  13. tests\test_flashloan_v2.py EEE                                                                                                                                                                                                                                                                                       [100%]
  14.  
  15. ========================================================================================================================================================= ERRORS ==========================================================================================================================================================
  16. __________________________________________________________________________________________________________________________________________ ERROR at setup of test_eth_flashloan ___________________________________________________________________________________________________________________________________________
  17.  
  18. Contract = <class 'brownie.network.contract.Contract'>
  19.  
  20.     @pytest.fixture(scope="module")
  21.     def aave_lending_pool_v1(Contract):
  22.         """
  23.         Yield a `Contract` object for the Aave lending pool address provider.
  24.         """
  25. >       yield Contract("0x24a42fD28C976A61Df5D00D0599C34c4f90748c8")
  26.  
  27. tests\conftest.py:19:
  28. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  29. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
  30.     build, sources = _get_deployment(alias=address_or_alias)
  31. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  32.  
  33. address = None, alias = '0x24a42fD28C976A61Df5D00D0599C34c4f90748c8'
  34.  
  35.     def _get_deployment(
  36.         address: str = None, alias: str = None
  37.     ) -> Tuple[Optional[Dict], Optional[Dict]]:
  38.         if address and alias:
  39.             raise
  40.         if address:
  41.             address = _resolve_address(address)
  42.             query = f"address='{address}'"
  43.         elif alias:
  44.             query = f"alias='{alias}'"
  45.  
  46.         try:
  47.             name = f"chain{CONFIG.active_network['chainid']}"
  48.         except KeyError:
  49. >           raise BrownieEnvironmentError("Functionality not available in local environment") from None
  50. E           brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  51.  
  52. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
  53. __________________________________________________________________________________________________________________________________________ ERROR at setup of test_dai_flashloan ___________________________________________________________________________________________________________________________________________
  54.  
  55. Contract = <class 'brownie.network.contract.Contract'>
  56.  
  57.     @pytest.fixture(scope="module")
  58.     def DAI(Contract):
  59. >       yield Contract("0x6B175474E89094C44Da98b954EedeAC495271d0F")
  60.  
  61. tests\conftest.py:64:
  62. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  63. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
  64.     build, sources = _get_deployment(alias=address_or_alias)
  65. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  66.  
  67. address = None, alias = '0x6B175474E89094C44Da98b954EedeAC495271d0F'
  68.  
  69.     def _get_deployment(
  70.         address: str = None, alias: str = None
  71.     ) -> Tuple[Optional[Dict], Optional[Dict]]:
  72.         if address and alias:
  73.             raise
  74.         if address:
  75.             address = _resolve_address(address)
  76.             query = f"address='{address}'"
  77.         elif alias:
  78.             query = f"alias='{alias}'"
  79.  
  80.         try:
  81.             name = f"chain{CONFIG.active_network['chainid']}"
  82.         except KeyError:
  83. >           raise BrownieEnvironmentError("Functionality not available in local environment") from None
  84. E           brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  85.  
  86. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
  87. __________________________________________________________________________________________________________________________________________ ERROR at setup of test_eth_flashloan ___________________________________________________________________________________________________________________________________________
  88.  
  89. Contract = <class 'brownie.network.contract.Contract'>
  90.  
  91.     @pytest.fixture(scope="module")
  92.     def WETH(Contract):
  93. >       yield Contract("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2")
  94.  
  95. tests\conftest.py:54:
  96. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  97. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
  98.     build, sources = _get_deployment(alias=address_or_alias)
  99. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  100.  
  101. address = None, alias = '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'
  102.  
  103.     def _get_deployment(
  104.         address: str = None, alias: str = None
  105.     ) -> Tuple[Optional[Dict], Optional[Dict]]:
  106.         if address and alias:
  107.             raise
  108.         if address:
  109.             address = _resolve_address(address)
  110.             query = f"address='{address}'"
  111.         elif alias:
  112.             query = f"alias='{alias}'"
  113.  
  114.         try:
  115.             name = f"chain{CONFIG.active_network['chainid']}"
  116.         except KeyError:
  117. >           raise BrownieEnvironmentError("Functionality not available in local environment") from None
  118. E           brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  119.  
  120. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
  121. __________________________________________________________________________________________________________________________________________ ERROR at setup of test_dai_flashloan ___________________________________________________________________________________________________________________________________________
  122.  
  123. Contract = <class 'brownie.network.contract.Contract'>
  124.  
  125.     @pytest.fixture(scope="module")
  126.     def DAI(Contract):
  127. >       yield Contract("0x6B175474E89094C44Da98b954EedeAC495271d0F")
  128.  
  129. tests\conftest.py:64:
  130. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  131. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
  132.     build, sources = _get_deployment(alias=address_or_alias)
  133. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  134.  
  135. address = None, alias = '0x6B175474E89094C44Da98b954EedeAC495271d0F'
  136.  
  137.     def _get_deployment(
  138.         address: str = None, alias: str = None
  139.     ) -> Tuple[Optional[Dict], Optional[Dict]]:
  140.         if address and alias:
  141.             raise
  142.         if address:
  143.             address = _resolve_address(address)
  144.             query = f"address='{address}'"
  145.         elif alias:
  146.             query = f"alias='{alias}'"
  147.  
  148.         try:
  149.             name = f"chain{CONFIG.active_network['chainid']}"
  150.         except KeyError:
  151. >           raise BrownieEnvironmentError("Functionality not available in local environment") from None
  152. E           brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  153.  
  154. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
  155. _____________________________________________________________________________________________________________________________________ ERROR at setup of test_batch_eth_dai_flashloan ______________________________________________________________________________________________________________________________________
  156.  
  157. Contract = <class 'brownie.network.contract.Contract'>
  158.  
  159.     @pytest.fixture(scope="module")
  160.     def DAI(Contract):
  161. >       yield Contract("0x6B175474E89094C44Da98b954EedeAC495271d0F")
  162.  
  163. tests\conftest.py:64:
  164. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  165. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\contract.py:861: in __init__
  166.     build, sources = _get_deployment(alias=address_or_alias)
  167. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  168.  
  169. address = None, alias = '0x6B175474E89094C44Da98b954EedeAC495271d0F'
  170.  
  171.     def _get_deployment(
  172.         address: str = None, alias: str = None
  173.     ) -> Tuple[Optional[Dict], Optional[Dict]]:
  174.         if address and alias:
  175.             raise
  176.         if address:
  177.             address = _resolve_address(address)
  178.             query = f"address='{address}'"
  179.         elif alias:
  180.             query = f"alias='{alias}'"
  181.  
  182.         try:
  183.             name = f"chain{CONFIG.active_network['chainid']}"
  184.         except KeyError:
  185. >           raise BrownieEnvironmentError("Functionality not available in local environment") from None
  186. E           brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  187.  
  188. C:\Users\dante\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\network\state.py:603: BrownieEnvironmentError
  189. ================================================================================================================================================= short test summary info =================================================================================================================================================
  190. ERROR tests/test_flashloan_v1.py::test_eth_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  191. ERROR tests/test_flashloan_v1.py::test_dai_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  192. ERROR tests/test_flashloan_v2.py::test_eth_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  193. ERROR tests/test_flashloan_v2.py::test_dai_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  194. ERROR tests/test_flashloan_v2.py::test_batch_eth_dai_flashloan - brownie.exceptions.BrownieEnvironmentError: Functionality not available in local environment
  195. ==================================================================================================================================================== 5 errors in 8.96s ====================================================================================================================================================