Jonathan Rainville
1c881274b1
add new blockchain event
2018-08-21 15:51:38 -04:00
Jonathan Rainville
1b55af3cb7
conflict in embark js
2018-08-21 15:51:38 -04:00
Jonathan Rainville
2d0f34f215
add resolver contract
2018-08-21 15:48:33 -04:00
Jonathan Rainville
7d52c29f96
very wip working register
2018-08-21 15:47:56 -04:00
Anthony Laibe
36ae882a26
Add dedicated writer for string result
2018-08-21 15:47:05 -04:00
Anthony Laibe
d5911cb3b7
Use console and override evaluator
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
b0638d6585
more conservative: only modify webpack's subclass of ProcessWrapper
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
250d80e0ff
env options property doesn't need to be passed to ProcessLauncher
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
ed5f18e579
simplify ternary re: `__mainContext` and `this`
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
d3ffa90cb5
rm disabled lines
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
971ca8d3ae
webpack mode should be 'none' unless embark's mode is 'production'
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
52ef230d47
comment re: use of webpack-bundle-analyzer to visualize stats.json
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
a7205e47e6
disable stats gen (should be activated via cfg file and/or cli opts)
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
75d0258dae
rm disabled line
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
5f0ee8d9e4
mainContext -- fallback to `this`, then `self`, then `undefined`
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
ece251a5bf
rev wp config comments
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
e05918d84f
stats.report/json is being written to .embark/ not dist/
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
c713c11790
disabled code + comment re: enabling source maps
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
7a1e46d3a7
make the linter happy
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
e98bd27a42
rev webpack config w.r.t. webpack 4, babel 7
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
c6e0623f50
write stats report,json into .embark
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
fd2056da8e
rm code that doesn't seem to be doing anything (after much investigation)
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
d4c9321c63
rm unnecessary requires
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
bb443b3882
rev HardSource
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
25be46af2c
propagate env
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
4baea520d8
don't blow away the global web3
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
4472077e08
check for self
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
25b5b9a801
window -> global; reorg statements
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
a3492f8dc8
babel configured to extend dapp's .babelrc
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
dab0b04b0a
require embark_node file -> require 'embarkjs' pkg
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
dcf9b4a645
make Web3 (note capital 'w') globally accessible
2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
0c4438941d
import EmbarkJS from npm pkg, re-export, make it globally accessible
2018-08-21 15:47:05 -04:00
Anthony Laibe
1d71c7fbce
Display info about gas when deploying contract
2018-08-21 15:47:05 -04:00
Anthony Laibe
2f6e96db86
Adding profile command
2018-08-21 15:47:05 -04:00
Anthony Laibe
7a34b9d675
Fix profile command
...
In case the contract don't exist or the profile
command don't have argument, embark don't crash
and return an error
2018-08-21 15:47:05 -04:00
Anthony Laibe
a04f26dc3d
fix eslint
2018-08-21 15:47:05 -04:00
Anthony Laibe
b8ef9ee148
Add watcher to console command
2018-08-21 15:47:05 -04:00
Anthony Laibe
b679d3031a
Remove code dependencies to underscore
2018-08-21 15:47:05 -04:00
Anthony Laibe
9c5cb35d3b
Use global in repl
2018-08-21 15:46:14 -04:00
Anthony Laibe
87396c9882
nodashboard start a repl
2018-08-21 15:46:14 -04:00
Anthony Laibe
d8a6987d37
No need for pipeline service, assets are not compiled
2018-08-21 15:46:14 -04:00
Anthony Laibe
692014aa8d
Add access to the contract
2018-08-21 15:46:14 -04:00
Anthony Laibe
147292d8f0
Add on exit
2018-08-21 15:46:14 -04:00
Anthony Laibe
ffd483b7e6
Update console command options
2018-08-21 15:46:14 -04:00
Anthony Laibe
a161e6856c
Replace light monitor by REPL
2018-08-21 15:46:14 -04:00
Anthony Laibe
b368eb4e04
Reuse Light Monitor
2018-08-21 15:46:14 -04:00
Anthony Laibe
65bebcd3e1
Remove not used options
2018-08-21 15:46:14 -04:00
Anthony Laibe
c195fde051
Adding light monitor
2018-08-21 15:46:14 -04:00
Anthony Laibe
7752b1aa54
Adding Console Command
2018-08-21 15:46:14 -04:00
Richard Ramos
38817ddab2
Add environment to EmbarkJS
2018-08-21 15:46:14 -04:00
Michael Bradley, Jr
21b4cbf60d
don't forward host/port cli options if the options weren't specified
2018-08-21 15:46:14 -04:00
Richard Ramos
aa806ce400
Allow topics to be optional when pubKey/privKey is used
2018-08-21 15:46:14 -04:00
Richard Ramos
f56fd9e264
Removing code. Doesn't make sense to specify keys when everyone can read them
2018-08-21 15:46:14 -04:00
Richard Ramos
57f71d5504
Symmetric and private keys can be set in whisper
2018-08-21 15:44:46 -04:00
Michael Bradley, Jr
98dcf6ffe3
propagate `embark run` cli webserver flags to config and service
2018-08-21 15:42:05 -04:00
Michael Bradley, Jr
423d0fadb8
set the host flag for ganache-cli
2018-08-21 15:42:05 -04:00
Michael Bradley, Jr
282513ad8e
rm commented code and extra whitespace
2018-08-21 15:42:05 -04:00
Michael Bradley, Jr
4461ab46d5
disable dead code path -- ganache will never be falsy
2018-08-21 15:42:05 -04:00
Michael Bradley, Jr
fa94d3c79a
dont' need shelljs.which, can directly invoke embark's node_modules/.bin/ganache-cli
2018-08-21 15:42:05 -04:00
Jonathan Rainville
3d729b8a78
fix the indexOf instead by simulating what solc does
2018-08-21 15:42:05 -04:00
Jonathan Rainville
6908cf5cdc
fix duplicate dependencies and warn correctly for length
2018-08-21 15:42:05 -04:00
Iuri Matias
5d8f236df3
remove custom web3 js; use packaged one instead
2018-08-21 15:35:55 -04:00
Michael Bradley, Jr
5b483f6f63
include old `const ganache =` line in original pos wrt disabled code
2018-08-21 15:34:32 -04:00
Michael Bradley, Jr
6947a44667
comment out `testrpc` (no-unused-vars)
2018-08-21 15:34:32 -04:00
Michael Bradley, Jr
f5464b691f
Embark's own ganache-cli will always be found
2018-08-21 15:34:32 -04:00
Michael Bradley, Jr
e0ff8a735d
embark-ganache-cli -> ganache-cli-embark
2018-08-21 15:34:32 -04:00
Jonathan Rainville
5498046d3f
fix ens by using right addres depending on chain and also add isAvailable
2018-08-21 15:33:43 -04:00
Michael Bradley, Jr
0180bb7cb2
always use Embark's own ganache-cli (embark-ganache-cli)
2018-08-21 15:33:00 -04:00
Andre Medeiros
e2d5e6fd57
Linting
2018-08-21 15:33:00 -04:00
Andre Medeiros
8be8ca508f
Fix failing test on blockchain
2018-08-21 15:33:00 -04:00
Michael Bradley, Jr
db7553cf0f
program -> program, programName
2018-08-21 15:31:55 -04:00
Michael Bradley, Jr
36b52742bf
check for ganache-cli on PATH and fallback to embark-ganache-cli
2018-08-21 15:31:55 -04:00
Jonathan Rainville
50b0376954
check for receipt address before calling back
2018-08-21 15:31:55 -04:00
Iuri Matias
f9f25f33c8
fix swarm upload cmd registration
2018-08-21 15:31:55 -04:00
Iuri Matias
7c0c2550c3
use buildUrlFromConfig
2018-08-21 15:31:55 -04:00
Jonathan Rainville
054215ce21
wip changes
2018-08-21 15:31:55 -04:00
Jonathan Rainville
a3d612f8ba
remove use of initConfig
2018-08-21 15:30:43 -04:00
Jonathan Rainville
6593a92cc4
add interval in case deployment gets stuck
2018-08-21 15:30:11 -04:00
Jonathan Rainville
838fa92775
set isDev as default if there is no blockchain file
2018-08-21 15:30:11 -04:00
Jonathan Rainville
4fedf704a8
rename to built
2018-08-21 15:30:11 -04:00
Jonathan Rainville
3700323280
log error when pipeline dies
2018-08-21 15:30:11 -04:00
Iuri Matias
29c93da4cc
fix extractZip
2018-08-21 15:30:11 -04:00
Iuri Matias
3f16806f37
make linter happy
2018-08-21 15:30:11 -04:00
emizzle
7bd1598b3c
Fixed __mainContext error
...
There was a condition checking if blockchain config was disabled and if so, do not generate any provider code, which is where the `__mainContext` was being defined. This was changed to generate the `__mainContext` code first, then if blockchain is disabled, return the already generated code.
2018-08-21 15:30:11 -04:00
emizzle
f5f59bb24b
Proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]" was showing in console. Have replace [Object(object)] with `error.message`
2018-08-21 15:30:11 -04:00
Iuri Matias
2baa6ed792
make linter happy
2018-08-21 15:30:11 -04:00
Iuri Matias
0c14834e57
fix plugin call
2018-08-21 15:30:11 -04:00
Iuri Matias
fd9be8ac84
remove unused param
2018-08-21 15:30:11 -04:00
Iuri Matias
c3382c9dd6
fix callback
2018-08-21 15:30:11 -04:00
Iuri Matias
1efdc00471
fix console log for undefined params
2018-08-21 15:30:11 -04:00
Iuri Matias
aaf127fd1d
move storage config check to the constructor
2018-08-21 15:30:11 -04:00
Iuri Matias
d5f77fb965
simplify getJson
2018-08-21 15:30:11 -04:00
Iuri Matias
97be8b7463
refactor storage config check
2018-08-21 15:30:11 -04:00
Iuri Matias
46a6d391cd
simplify use of callback
2018-08-21 15:30:11 -04:00
Iuri Matias
df97a6ac00
re-add register upload cmd api; refactor storage module initialization
2018-08-21 15:30:11 -04:00
Iuri Matias
c3fc614cd8
simplify add set providers; validation can be done on the client isde
2018-08-21 15:30:11 -04:00
Iuri Matias
e07d06fa4c
make linter happy
2018-08-21 15:30:11 -04:00
Iuri Matias
2780b4eb2f
fix upload callback
2018-08-21 15:30:11 -04:00
Iuri Matias
f7ac654d92
fix getting params from upload field
2018-08-21 15:30:10 -04:00
Iuri Matias
3ddbe0ea3d
fix logger
2018-08-21 15:30:10 -04:00