Commit Graph

180 Commits

Author SHA1 Message Date
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
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 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 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
Iuri Matias 1e4838d25a
Merge pull request #490 from embark-framework/fix_assert
make assert global like before
2018-06-06 11:24:27 -04:00
Iuri Matias fdd462af79 make lint happy; always make it happy 2018-06-06 11:10:31 -04:00
Iuri Matias da6572bb11 make assert global like before 2018-06-06 11:00:30 -04:00
Iuri Matias cd6dcb7548 fix setting default account 2018-06-06 10:39:02 -04:00
Jonathan Rainville b32c90b56e compile tests only once 2018-06-04 10:45:50 -04:00
Iuri Matias 74df72fc0d lint is king 2018-06-01 19:35:41 -04:00
Iuri Matias 60c687aa41 refactor storage module 2018-06-01 19:32:14 -04:00
Iuri Matias 17f5bb3905
Merge branch 'develop' into features/test-revamp-multi 2018-06-01 18:14:32 -04:00
Iuri Matias 8d985ce60a fix tests; put back solc 0.4.24 2018-06-01 18:09:54 -04:00
Jonathan Rainville b727d85358 small fixes 2018-06-01 13:53:09 -04:00
Jonathan Rainville 88889a1a9d update test_app tests 2018-06-01 13:44:53 -04:00
Iuri Matias 9a1eefc838
Merge branch 'develop' into features/improve-storage-config 2018-06-01 12:01:51 -04:00
Iuri Matias f3e7d03204 remove orbit 2018-06-01 10:15:41 -04:00
emizzle 85117cf55c Dynamic selection of storage provider now working based on improved storage config.
swarm plugin now re-initialises the bzz object when it's availability is checked. this creates a much more stable swarm implementation on the dapp side.

surrounded the storage provider init code block with embark env ready

added alternate swarm gateway url

can now upload dapp to ipfs and run swarm storage and vice versa
2018-06-01 13:35:11 +10:00
emizzle 942a57aa3a Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
Currently stuck on starting multiple storage servcies at once. Might need  a change in storage config spec.

WIP.
2018-06-01 13:33:44 +10:00
emizzle 0cb79d84a0 Dynamic selection of storage provider now working based on improved storage config.
swarm plugin now re-initialises the bzz object when it's availability is checked. this creates a much more stable swarm implementation on the dapp side.

surrounded the storage provider init code block with embark env ready

added alternate swarm gateway url

can now upload dapp to ipfs and run swarm storage and vice versa
2018-06-01 13:30:01 +10:00
emizzle f6667b6948 Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
Currently stuck on starting multiple storage servcies at once. Might need  a change in storage config spec.

WIP.
2018-06-01 13:28:05 +10:00
Iuri Matias 69e5af2308 replace beforeAction plugin api with event action api 2018-05-30 13:35:36 -04:00
Iuri Matias 3f9c55131b use requests instead of contractsManager directly 2018-05-30 13:35:36 -04:00
emizzle 5b4e829675 * Adds auto cors updates to geth command when blockchain started via run command.
* Fixes issues with storage/webserver configs not enabled but still having their values put in to geth cors
* Adds fixes for not including port when port  == false
* Refactors of cors logic, and also now in a generic location so can be used by both `embark blockchain` and when blockchain started in separate process
2018-05-25 11:00:26 +10:00
Iuri Matias 24eadbd94f convert test_app contracts config from json format to js object 2018-05-11 18:22:32 -04:00
Iuri Matias 2793432b87 convert test_app contracts.json to contracts.js 2018-05-11 18:11:05 -04:00
Iuri Matias 3a62f6a121 update default dev networkid to be the same as --dev option chainId 2018-05-11 10:23:52 -04:00
Iuri Matias 9e1778f62c comment web3 test override to avoid confusion in the test_app 2018-05-10 19:57:26 -04:00