brownie-mix / aave-flashloan-mix

A Brownie mix containing all you need to get started with developing flash loans
GNU Affero General Public License v3.0
399 stars 274 forks source link

flashloan.flashloan() got an unexpected argument 'block_identifier' #24

Open berkaybulut opened 2 years ago

berkaybulut commented 2 years ago

Hello, I have gone through all the steps however cannot run the last step of tx = flashloan.flashloan(WETH, {"from": accounts[2]}) It returns an error of File "<console>", line 1, in <module> File "eth_brownie-1.17.2-py3.9.egg/brownie/network/contract.py", line 1303, in __call__ return fn(*args, block_identifier=block_identifier, override=override) # type: ignore TypeError: __call__() got an unexpected keyword argument 'block_identifier'