Commit Graph

220 Commits

Author SHA1 Message Date
Jonathan Rainville ce3f9bdf25
fix a couple of bugs caused by bounties 2018-10-22 19:54:48 +02:00
Jonathan Rainville f4d7636b7a
make code coverage work with refactored tests 2018-10-22 19:54:45 +02:00
Subramanian Venkatesan f686fec74a
ens resolve 2018-10-22 19:53:50 +02:00
Giuseppe Bertone 81e798c89c
Add support for Parity
Addons
 - New chain initialization and genesis management
 - Option to choose client to use
 - Option to "ping forever" for Geth
 - Creation and unlock of accounts at client's start
 - Utility to fund accounts with ethers
 - Miner settings inside the ethereum client
 - Workaround to CORS problem: origin is now http://embark
 - Several double callback's checks

Updates
 - Boilerplate, templates, configuration files and demo stuff
 - Messages and i18n strings
 - Tests

Fixes
 - Geth client now uses miner.gastarget instead of the deprecated targetGasLimit
 - Workaround for shh_version with Parity

Reworks of other PRs into the new code
 - Included delayed proxy
 - Send ready only when the proxy is started
 - Start HTTP and WS proxies individually
 - Async setupProxy
 - Fixed datadir for GethMiner
2018-10-22 19:53:49 +02:00
Subramanian Venkatesan ee77ac7f7f
Adds solc option to tests. Runs smart contract tests using remix-tests
Ref: #817
2018-10-22 19:39:24 +02:00
emizzle 8fd1f81949
Storage configs: Move “provider” keys to the correct level 2018-10-22 19:30:11 +02:00
Andre Medeiros fa8f4b4e41 Support if statements without a list of statements 2018-09-26 11:13:14 -04:00
Michael Bradley, Jr 373a67b4a3 rev testdapp scripts -- INIT_CWD compat 2018-09-21 17:00:08 -05:00
Andre Medeiros c6d7bec9d7 Do not request legacyAST from solc to speed up compilation 2018-09-19 15:51:11 -04:00
Anthony Laibe b2206b9358 Fix test 2018-09-17 10:13:40 +01:00
Jonathan Rainville d9350899b7 fix tests 2018-09-14 15:21:45 -04:00
Jonathan Rainville b3b61dd82c add build to gitignore 2018-09-14 14:36:27 -04:00
Jonathan Rainville 800a3ce285 remove last build thing 2018-09-14 14:35:39 -04:00
Jonathan Rainville ce8a201f43 remove build in contracts app 2018-09-14 14:35:29 -04:00
Jonathan Rainville 0bf4e48607 fix warnings in contracts app sol contracts 2018-09-14 14:35:12 -04:00
Jonathan Rainville a3cd053cb1 fix warnings in sol contracts 2018-09-14 14:20:41 -04:00
Jonathan Rainville 63be93856b test double import 2018-09-12 14:08:11 -04:00
Anthony Laibe 63d2478dd0 Fix embark test using node option 2018-09-12 15:03:17 +01:00
Anthony Laibe 7bd0f45fec Remove ENS contracts from test app 2018-09-12 09:29:34 +01:00
Anthony Laibe 613921169a Better trace register ens 2018-09-10 10:12:02 +01:00
Iuri Matias 608b5c38d7 remove no longer needed check for unexistant file 2018-09-01 09:30:37 -04:00
Jonathan Rainville 3e89729331 conflict with indents 2018-08-31 08:46:08 -04:00
Andre Medeiros bc5de4ef90 Support modifiers 2018-08-30 12:49:41 -04:00
Andre Medeiros 543f883b7d Fix consolidation of coverage and compiler events; Cleanup 2018-08-28 13:39:18 -04:00
Andre Medeiros 4c127d1192 Events 2018-08-28 11:27:37 -04:00
Andre Medeiros 4e9d2823e5 Improvements 2018-08-28 11:27:37 -04:00
Andre Medeiros 5dcd679e12 Add for loops and variable declarations; Coverage improvements 2018-08-28 11:27:37 -04:00
Iuri Matias a0d864b8ae
Merge pull request #746 from embark-framework/bug_fix/tests-ws-bug
Fix test_app with a WS node
2018-08-24 15:53:54 -04:00
Jonathan Rainville 8604c50a3c remove comment 2018-08-24 13:23:32 -04:00
Jonathan Rainville f45c7bc256 use secureSend for SimpleStorage set as it can cause hangs on WS 2018-08-24 13:11:06 -04:00
Jonathan Rainville 13e0d453ae fix websocket test, but still some hangs on second test run 2018-08-24 12:09:38 -04:00
Iuri Matias 864b41a2c2
Merge pull request #745 from embark-framework/deployIf
deployIf field + minor refactor
2018-08-24 10:33:58 -04:00
Anthony Laibe 51a1395316 Update ENS test using global 2018-08-24 14:48:14 +01:00
Iuri Matias 5fa089d51c add test for deployIf 2018-08-24 09:12:31 -04:00
Iuri Matias 8f5b47adf4 add deployIf directive support 2018-08-23 18:00:52 -04:00
Iuri Matias b4e118c85b update tests 2018-08-21 16:23:01 -04:00
Anthony Laibe cc7dfbcc60 Remove ENS warning 2018-08-21 16:11:07 -04:00
Iuri Matias 6ae697f36a add solc options 2018-08-21 16:11:07 -04:00
Iuri Matias 407f78249b put common options in default 2018-08-21 16:11:07 -04:00
Michael Bradley, Jr e31befe483 for test_app spec @babel/code-frame@7.0.0-rc.1 w/o caret range 2018-08-21 16:11:07 -04:00
Michael Bradley, Jr 9f61ac898a bump test_app's pkg-lock 2018-08-21 16:11:07 -04:00
Jonathan Rainville c621e30ec1 updated package-lock form scratch 2018-08-21 16:11:07 -04:00
Jonathan Rainville 8e50bfd976 conflict in package json 2018-08-21 16:11:06 -04:00
Jonathan Rainville 8f3a42b926 catch $accounts in contract config 2018-08-21 16:09:49 -04:00
Iuri Matias 58ba4bde48 move simulator & proxy to blockchain process module 2018-08-21 16:07:58 -04:00
Anthony Laibe 7aae8bc798 Remove test 2018-08-21 16:05:59 -04:00
Anthony Laibe 9ed162bc26 Change connection 2018-08-21 16:05:59 -04:00
Michael Bradley, Jr 314edadb57 Revert "Merge pull request #663 from embark-framework/revert-656-bug_fix/dot.embark_versions_modules"
This reverts commit 7859c384ca, reversing
changes made to a58f21c303.
2018-08-21 16:05:58 -04:00
Jonathan Rainville 212eb79754 fix small oopsies and make it work 2018-08-21 16:05:58 -04:00
Iuri Matias 63b01a32d4 Revert ".embark/versions modules" 2018-08-21 16:05:58 -04:00
Michael Bradley, Jr d2a83e3930 change test_app devdep to babel 7 version 2018-08-21 16:04:22 -04:00
Iuri Matias 2e3bec0f00 re-enable proxy 2018-08-21 16:03:35 -04:00
Iuri Matias 2ea982d0e5 move blockchain process to own module 2018-08-21 16:01:14 -04:00
Jonathan Rainville 8ecf1d854d do not deploy ens contracts (fix for upload) 2018-08-21 15:53:39 -04:00
Jonathan Rainville d14630f636 use setInterval to wait for deploy complete 2018-08-21 15:53:39 -04:00
Jonathan Rainville bb9f058b15 small cleanups 2018-08-21 15:53:20 -04:00
Jonathan Rainville 01de35aab9 up timeout 2018-08-21 15:53:02 -04:00
Jonathan Rainville b1c04c6027 add test for ENS 2018-08-21 15:53:02 -04:00
Michael Bradley, Jr da85f39424 bump jquery dep, src in test_apps/test_app re: npm security warning 2018-08-21 15:47:05 -04:00
Iuri Matias 5d8f236df3 remove custom web3 js; use packaged one instead 2018-08-21 15:35:55 -04:00
Andre Medeiros 6d1dfd3581 Bump grunt-contrib-coffee 2018-08-21 15:33:00 -04:00
Jonathan Rainville 4f4cb094d6 fix webserver errors 2018-08-21 15:29:32 -04:00
Jonathan Rainville 26243e21e0 remove provider-engine as it has been creating lots of issues 2018-08-21 15:28:02 -04:00
Jonathan Rainville 01900f8c6e wip fixes 2018-08-21 15:26:31 -04:00
Jonathan Rainville 92d5fc8e1e hotfix blockchain configs for privatenet 2018-08-21 15:22:59 -04:00
Jonathan Rainville 63cd508e06 change templates to add privatenet 2018-08-21 15:22:07 -04:00
Jonathan Rainville 0e71dca03f update templates to use isDev false 2018-08-21 15:20:12 -04:00
Jonathan Rainville 5581964fab conflict in package json 2018-08-21 15:17:05 -04:00
emizzle efe649e4e6 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-21 15:12:07 -04:00
VoR0220 056b5a0ab9 bare bones bulk registration example spec
Signed-off-by: VoR0220 <catalanor0220@gmail.com>

add registrars to system

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-08-21 15:03:34 -04:00
Jonathan Rainville bd9e86cd46 remove log 2018-08-21 15:03:34 -04:00
Jonathan Rainville 75a7b93d69 intercept logs by adding the name only 2018-08-21 15:03:34 -04:00
Iuri Matias f2213970f7 first stab at funding accounts in geth given config 2018-07-13 15:56:59 +03:00
Iuri Matias 5ee9843973
Merge pull request #541 from embark-framework/bug_fix/testnet-hang
remove deprecated geth params
2018-06-15 16:46:16 -04:00
Iuri Matias dae9e4ae7f
Merge pull request #460 from embark-framework/fix_overridecompiler
Allow plugins to override core compilers
2018-06-15 16:39:09 -04:00
Jonathan Rainville d77083ee8c enable syncMode 2018-06-15 16:33:59 -04:00
Jonathan Rainville 26447c9362 remove deprecated geth params 2018-06-15 16:23:55 -04:00
VoR0220 7926a697c4 change directories for passwords to replicate good behavior and add light and fast modes
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-15 14:03:48 -05:00
VoR0220 950ae2df88 replicate in contracts app
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-15 13:27:14 -05:00
VoR0220 44a77aa065 add rinkeby option for testing purposes
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-15 13:21:32 -05:00
VoR0220 391777d5bf fix test app config and swap olympic for rinkeby as testnet option
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-15 13:18:37 -05:00
Jonathan Rainville 2ed6842e71 trigger CI build 2018-06-15 09:16:03 -04:00
Jonathan Rainville 8766c9b761 show warning if dependency is not deploying 2018-06-13 13:47:11 -04:00
Iuri Matias cd5ce085bf
Merge pull request #511 from embark-framework/event-test
add a test to test events
2018-06-12 12:15:58 -04:00
Iuri Matias ad4c79390a
Merge pull request #504 from embark-framework/conn-proxy
Proxy for inspecting function calls for contracts and retrieve trx information and display it on console
2018-06-12 12:02:20 -04:00
Jonathan Rainville d19c473b81 add a test to test events 2018-06-12 11:38:25 -04:00
Richard Ramos 3ae6bbf5a4 Adding proxy to testapp 2018-06-11 17:14:02 -04:00
Iuri Matias c4ca4e52b8 support embarkjs in the tests 2018-06-10 12:11:34 -04:00
Iuri Matias 9f18c7ff0e add test for balance and web3 object 2018-06-08 13:10:47 -04:00
Iuri Matias 3db8ccd44e remove unnecessary config 2018-06-07 20:21:01 -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 8fa7357d07 fix default from and data; add single test spec 2018-06-07 20:20:24 -04:00
Jonathan Rainville e902c86ed2 conflicts in tests 2018-06-07 16:14:42 -04:00
Jonathan Rainville 4ffb5c401f enable setting balance in mutliple formats 2018-06-07 13:01:12 -04:00
Jonathan Rainville 30a8263569 enable using accounts and balances 2018-06-07 13:01:12 -04:00
Jonathan Rainville 435e5eba03 fix calling back with accounts 2018-06-06 13:54:20 -04:00
RJ Catalano 60e4f9f07d
Merge pull request #491 from embark-framework/alias_address
alias address
2018-06-06 12:16:21 -05:00
Iuri Matias a4196be958 alias address 2018-06-06 12:47:16 -04:00