The version of web3 in Truffle v4.0.5 is v0.20.3. Is it possible to manually upgrade the web3 version?
Similar to this question about web3 in geth. (It's hardcoded.)
Somewhat relevant to this issue.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityThe version of web3 in Truffle v4.0.5 is v0.20.3. Is it possible to manually upgrade the web3 version?
Similar to this question about web3 in geth. (It's hardcoded.)
Somewhat relevant to this issue.
Found this workaround. You can manually load a different version by loading it yourself:
First install some version:
npm install [email protected]
Then load it into the truffle console:
var Web3latest = require('web3');
var web3latest = new Web3latest();