Our flashloan-box worked previously with Truffle v.5.10. It no longer works in latest Truffle.
Our Flashloan-box: https://github.com/aave/flashloan-box
const f = await Flashloan.deployed()It should work as previous Truffle version.
Errors with ReferenceERrror: f is no defined
truffle version): 5.1.24node --version): 11.15npm --version): 6.14.4Thanks for reporting this! We'll take a look.
I've also confirmed this bug is still present on the latest v.5.1.25 release.
Confirmed with ubuntu-18.04 on node v10.20.1.
tried anything else then f? may be that it is conflicting with an other variable.
It said just undefined in colored italic text after the declearing of the variable.
Thanks for the suggestion @coinmaster4you. I'll give it a try.
Any updates on this issue?
@mrdavey I just unsuccessfully tried to reproduce the error. Step 8 succeeded for me using truffle@latest.
I got an issue at Step 5:
truffle console --network kovan
@truffle\hdwallet-provider\node_modules\web3-providers-http\src\index.js:96
callback(error, result);
^
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Error: project ID is required
at .....\node_modules\@trufflesuite\web3-provider-engine\subproviders\provider.js:18:36
I'm using:
Truffle v5.1.32 (core: 5.1.32)
Solidity - ^0.6.6 (solc-js)
Node v14.4.0
Web3.js v1.2.1
@truffle/[email protected]
Thanks @CruzMolina . I've checked and confirm that it is working now with latest Truffle version.
@leonardobastos please open another issue if this is still happening with you. It may have been a temporary Infura issue.
Closing this issue.