Commit Graph

1409 Commits

Author SHA1 Message Date
Iuri Matias a88513f58d Merge branch 'gastimation' of github.com:embark-framework/embark into gastimation 2018-06-12 13:24:30 -04:00
Iuri Matias 1dcd30b3a8 don't crash and instead inform user if contract cannot be profiled 2018-06-12 13:24:21 -04:00
VoR0220 acf67071c8 fix name
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:21:31 -05:00
VoR0220 cd67500dd1 minor cleanup
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:16:19 -05:00
VoR0220 539c035aa6 unnecessary declaration
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:14:02 -05:00
VoR0220 a601541bb0 get rid of one more line and get rid of unused cb
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:12:37 -05:00
VoR0220 43c8525d48 fix callbacks in gas estimator, add more fallback support and clean up console logs to better display potential errors
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 12:10:35 -05:00
VoR0220 e0470b8ef4 clean up junk and fix logger formatting
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:44:21 -05:00
VoR0220 335670f2ca package lock update and linting errors fixed
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:39:45 -05:00
VoR0220 57f098239d add support for null inputs and fallback and constructor types
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:36:41 -05:00
VoR0220 0ff39f48b3 fix the callback schema for async and pretty it up a bit
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:36:41 -05:00
VoR0220 90f342b65a redo logic so that it uses the async library
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:36:41 -05:00
VoR0220 5c7e9f0054 changes to the logic around gas estimator and profiler
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:36:41 -05:00
VoR0220 311ec7d9cb switch the keys around and make a few logical changes to the way things are structured. Currently stuck at method calling
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:36:41 -05:00
VoR0220 fedbe0d2bc first attempt at gas estimation using a 3 round fuzzer and linking it into the profiler
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-12 10:36:41 -05:00
Iuri Matias 787162575e
Merge pull request #507 from embark-framework/bug_fix/webpack-piling
kill webpack processes when they are done
2018-06-11 17:31:30 -04:00
Iuri Matias 20acb5425f remove comment 2018-06-11 16:34:41 -04:00
Jonathan Rainville 812cefafb1 kill processes when they are over 2018-06-11 15:55:57 -04:00
Iuri Matias 6b26f2a9d7 set default gas 2018-06-11 13:37:06 -04:00
Iuri Matias 8783f04a9c add node version of embarkjs to avoid export issues with webpack.. (for now...) 2018-06-10 12:55:59 -04:00
Iuri Matias c4ca4e52b8 support embarkjs in the tests 2018-06-10 12:11:34 -04:00
Iuri Matias c6e63af12d remove unneded param 2018-06-08 13:55:24 -04:00
Iuri Matias aff1dabb3a
Merge pull request #499 from embark-framework/dont_continue_on_errors
Fix tests error reporting when there are deployment errors
2018-06-08 13:02:13 -04:00
Iuri Matias 7fd7c770de
Merge pull request #501 from embark-framework/bug_fix/storage-message
Put message if swarm or ipfs is not installed
2018-06-08 12:55:29 -04:00
Iuri Matias cdfa30ebd2 remove listeners correctly 2018-06-08 12:51:04 -04:00
Iuri Matias 1b6ac99ea2 remove listeners to avoid leaks 2018-06-08 12:30:44 -04:00
Iuri Matias 33de740fff
Merge pull request #498 from embark-framework/single_test
fix from and data options; add single test support
2018-06-08 11:33:14 -04:00
Jonathan Rainville 0214447476 tigger build 2018-06-08 11:20:14 -04:00
Jonathan Rainville eecd719515 put message if swarm or ipfs is not installed 2018-06-08 10:40:01 -04:00
Iuri Matias 46e085b011 lint is king 2018-06-08 09:40:23 -04:00
Iuri Matias c8b52a1746 fix errors handling so it doesn't attempt to continue building when there are fatal errors compiling contracts 2018-06-08 07:07:27 -04:00
Iuri Matias 2efea55d2b lint is king 2018-06-08 06:17:51 -04:00
Iuri Matias ede4926069 don't continue testing file if there was deploy errors; avoids unrelated errors for each 'it' 2018-06-08 06:14:46 -04:00
Iuri Matias edbbaa160b make config params optional 2018-06-07 20:21:01 -04:00
Iuri Matias 402ee19722 default contracts fields 2018-06-07 20:20:24 -04:00
Iuri Matias 1c6df9db8d remove data parameter 2018-06-07 20:20:24 -04:00
Iuri Matias c1590d0b48 change deploy to beforeAll, so it takes priority over the test before 2018-06-07 20:20:24 -04:00
Iuri Matias 8fa7357d07 fix default from and data; add single test spec 2018-06-07 20:20:24 -04:00
Iuri Matias dd4088fd08
Merge pull request #480 from embark-framework/bug_fix/solc-loading-issue
Updates console to inform user of an ongoing package download.
2018-06-07 19:00:39 -04:00
Iuri Matias 9f0ab86c2d
Merge pull request #497 from embark-framework/features/test-connect-node
Connect to a node in tests
2018-06-07 18:59:27 -04:00
Jonathan Rainville e902c86ed2 conflicts in tests 2018-06-07 16:14:42 -04:00
Jonathan Rainville cbe456bf1e remove useless config 2018-06-07 16:09:54 -04:00
Jonathan Rainville a6a5bac053 use new provider when using account with a node specified 2018-06-07 16:07:58 -04:00
Jonathan Rainville 1b89199f50 fund accounts in wallet using contracts config 2018-06-07 13:06:09 -04:00
Jonathan Rainville 9c9bb761a4 add error when using deployAll 2018-06-07 13:01:13 -04:00
Jonathan Rainville a5ecd9f1f4 add tests for getBalance 2018-06-07 13:01:13 -04:00
Jonathan Rainville bb3e87d85e move getBalance in accountParser 2018-06-07 13:01:12 -04:00
Jonathan Rainville 3d70028cc5 fixing small stuff 2018-06-07 13:01:12 -04:00
Jonathan Rainville 2a61b2251c use web3 utils function instead 2018-06-07 13:01:12 -04:00
Jonathan Rainville 4ffb5c401f enable setting balance in mutliple formats 2018-06-07 13:01:12 -04:00