-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/es6 first tests #1152
Feature/es6 first tests #1152
Conversation
Started by converting HttpProvider to es6, which led to the conversion of contract.js, eth.sendTransaction.js, and setProvider.js Enabling ES6 support in Mocha led to fixes in method.buildCall.js and utils.sha3.js Fixed the problems in test/eth.sendTransaction.js that were causing the error "Transaction was not mined within 50 blocks, please make sure your transaction was properly send. Be aware that it might still be mined!". There may be deeper issues with the tests in eth.sendTransaction.js, these will require some conversation with Fabian before moving forward.
1 similar comment
I've browsed through the differences in coverage, and it appears to be entirely related to the change from istanbul 0.4.5 to nyc 11.2.1 (the new istanbul) |
i merged the first PR, can you please resolve the conflicts this one has now? |
…ture/es6-firstTests # Conflicts: # .eslintrc # .gitignore # .travis.yml # README.md # gulp/config.js # gulp/transpile.js # package.json # test/.eslintrc # test/eth.sendTransaction.js
Changes Unknown when pulling 1419c40 on blitzpredict:feature/es6-firstTests into ** on ethereum:1.0ES6**. |
Changes Unknown when pulling d6fe282 on blitzpredict:feature/es6-firstTests into ** on ethereum:1.0ES6**. |
…ture/es6-firstTests # Conflicts: # test/eth.sendTransaction.js
Sorry for the late review, but I’m quite busy these days. Looks good and thanks for all that effort! |
* First draft of babel+eslint+rollup * Moved to gulp 4, improved some logging output during builds. * Tweaks to the build process. * Fixing the versioning task. * Created separate copies of the .eslintrc files, one for each package. * Started converting the first of the tests to es6. Started by converting HttpProvider to es6, which led to the conversion of contract.js, eth.sendTransaction.js, and setProvider.js Enabling ES6 support in Mocha led to fixes in method.buildCall.js and utils.sha3.js Fixed the problems in test/eth.sendTransaction.js that were causing the error "Transaction was not mined within 50 blocks, please make sure your transaction was properly send. Be aware that it might still be mined!". There may be deeper issues with the tests in eth.sendTransaction.js, these will require some conversation with Fabian before moving forward. * Fixing coverage problems by upgrading to nyc (the new istanbul) * Fixed test failure on node 8
This PR is based upon "Step 1 of moving to ES6" (#1149). The changes should consist of only 11 files, once that change is merged.
Started converting the first of the tests to es6.
Started by converting HttpProvider to es6, which led to the conversion of contract.js, eth.sendTransaction.js, and setProvider.js
Enabling ES6 support in Mocha led to fixes in method.buildCall.js and utils.sha3.js
Fixed the problems in test/eth.sendTransaction.js that were causing the error "Transaction was not mined within 50 blocks, please make sure your transaction was properly send. Be aware that it might still be mined!".
There may be deeper issues with the tests in eth.sendTransaction.js, these will require some conversation with Fabian before moving forward.