So I've updated my framework and with it the web3,js lib. When I run the console and attempt to get an account from my test network by
web3.eth.accounts, it won't display a list of the accounts like before and instead shows the interface to some methods and objects, and none of them seem to be what I'm looking for. Also
web3.eth.coinbase returns me undefined.
Yes, the provider is set correctly (I can even interact with my deployed contracts) and it has those generated accounts. So what might be wrong?
Ganache CLI v6.1.8 (ganache-core: 2.2.1)
Truffle v5.0.1 (core: 5.0.1)
Solidity v0.5.0 (solc-js)