New answers tagged

0

Try this, Open a new terminal and move to the folder chapter1 (following the tutorial). In the terminal run this node_modules/.bin/ganache-cli Open a new one terminal and test node, following the 2nd section of the tutorial. Don't close the terminal opened in the 1st step. That works for me!


0

I found a way to write time precise test by using own wrapper: const { time } = require('openzeppelin-test-helpers'); async function timeIncreaseTo (seconds) { const delay = 1000 - new Date().getMilliseconds(); await new Promise(resolve => setTimeout(resolve, delay)); await time.increaseTo(seconds); } I noticed that Ganache-cli switches ...


-1

Follow the step to reconnecting host on chrome Metamask plugin


Top 50 recent answers are included