Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from keep-network/babe-the-blue-ox
Babe the Blue Ox: Add rudimentary buidler setup This change allows the usage of buidler-vm instead of ganache for testing, which in turn allows the usage of console.log in contracts. A special script, buidler-vm:log, filters the buidler VM output to only log output. This is useful for testing with logs. Lastly, with ganache gone, its script is updated to note that Ganache is no longer used, and the Solidity test workflow is updated to use npm run buidler-vm instead of ganache. To use logging in a contract, add an import: import "@nomiclabs/buidler/console.sol"; Then you can use console.log with limited types, and cannot pass arrays to it directly. See the docs for more.
- Loading branch information