on master help sign in
Use a block time of one second

This works around various kinds of weirdness than comes with zero-second block times. It should make the application mimic live-network behavior more closely.

commitc7bb4b918e89fe5826af4115f83cdc634325c5ba authorFang <git@fang.io> dateThu 25 Apr 2019, 22:49 (8 years ago) parent9c0b0e7
1 file changed+1−1
package.json+1−1
package.json+1−1
@@ -56,7 +56,7 @@
5656 "checksum": "cd build && find . -exec shasum -a256 {} ';' > ../checksums.txt && cd ..",
5757 "zip": "zip -ur bridge-$npm_package_version.zip README.md bridge-https.py checksums.txt && cd build && zip -ur ../bridge-$npm_package_version.zip ./* && cd ..",
5858 "release": "npm install && npm run build && npm run checksum && npm run zip",
59− "pilot:ganache": "ganache-cli -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
59+ "pilot:ganache": "ganache-cli --blockTime 1 -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
6060 "pilot:deploy": "cd node_modules/azimuth-solidity && truffle deploy",
6161 "pilot:setup": "npm run pilot:ganache && npm run pilot:deploy",
6262 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",