forked from plasma-group/plasma-chain-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add logic for eth.js to deploy Plasma Chains
Changes: - Use Web3.utils instead of importing eth.js in multiple files - Add timeout before tests start -- this is because now startup takes too long - Add some config options - Suppress node warning coming from a web3 bug. See: web3/web3.js#1648
- Loading branch information
1 parent
9df9fba
commit 93dcda6
Showing
16 changed files
with
520 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"dbDir": "./db-test/", | ||
"plasmaNetworkAddress": "0x0000000000000000000000000000000000000000" | ||
"plasmaRegistryAddress": "0x0000000000000000000000000000000000000000", | ||
"operatorAddress": "0x0000000000000000000000000000000000000000", | ||
"operatorIpAddress": "0.0.0.0", | ||
"web3Provider": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"dbDir": "./db/", | ||
"plasmaNetworkAddress": "0x0000000000000000000000000000000000000000" | ||
"plasmaRegistryAddress": "0x0000000000000000000000000000000000000000", | ||
"operatorAddress": "0x0000000000000000000000000000000000000000", | ||
"operatorIpAddress": "0.0.0.0", | ||
"web3Provider": "" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
"start": "node src/app.js", | ||
"clean": "rm -rf db", | ||
"interactive": "node", | ||
"test": "mocha --timeout 15000 --recursive", | ||
"test-debug": "mocha debug --timeout 15000 --recursive" | ||
"test": "env CONFIG='./config-test.json' NODE_ENV='test' mocha --timeout 15000 --recursive", | ||
"test-debug": "env CONFIG='./config-test.json' NODE_ENV='test' mocha debug --timeout 15000 --recursive" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -44,6 +44,7 @@ | |
"leveldown": "^4.0.1", | ||
"levelup": "^3.1.1", | ||
"lodash": "^4.17.11", | ||
"plasma-contracts": "git+ssh://[email protected]/karlfloersch/plasma-contracts.git", | ||
"plasma-utils": "git+ssh://[email protected]/plasma-group/plasma-utils.git", | ||
"web3": "^1.0.0-beta.37" | ||
} | ||
|
Oops, something went wrong.