Categories
Cryptocurrency Ethereum Mastering Development

Truffle console is hanging on function call

I have a contract deployed to ropsten. It has a function called enter: function enter() public payable { assert(msg.value == MINIMUM); assert(OPEN == true); players.push(msg.sender); } It pushes a player onto an array. I want to call this function with (using truffle console –network live where live is pointing to ropsten): let lottery = await […]