Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Orion variables #26

Merged
merged 5 commits into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"promise/no-new-statics": "error",
"promise/no-return-in-finally": "warn",
"promise/valid-params": "warn",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["integration-tests/**/*.js", "example/**/*.js", "tests/**/*.js", "test/**/*.js", "7nodes-test/**/*.js"]}],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["integration-tests/**/*.js", "example/**/*.js", "tests/**/*.js", "test/**/*.js", "7nodes-test/**/*.js", "docker/**/*.js"]}],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please read the [documentation](https://consensys.github.io/web3js-quorum/latest
## Installation

```shell
npm install web3js-quorum
npm install web3 web3js-quorum
```

## Quickstart
Expand Down
2 changes: 2 additions & 0 deletions docker/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

BESU_VERSION=latest
QUORUM_TESSERA_VERSION=latest
QUORUM_ETHSIGNER_VERSION=latest
QUICKSTART_VERSION=$BESU_VERSION
LOCK_FILE=.quickstart.lock
BESU_PUBLIC_KEY_DIRECTORY=/opt/besu/public-keys/
Expand Down
2 changes: 0 additions & 2 deletions docker/besu/.gitignore

This file was deleted.

23 changes: 0 additions & 23 deletions docker/besu/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions docker/besu/bootnode_start.sh

This file was deleted.

33 changes: 0 additions & 33 deletions docker/besu/node_start.sh

This file was deleted.

1 change: 1 addition & 0 deletions docker/config/besu/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LOG4J_CONFIGURATION_FILE=/config/log-config.xml
37 changes: 37 additions & 0 deletions docker/config/besu/cliqueGenesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
achraf17 marked this conversation as resolved.
Show resolved Hide resolved
"config":{
"chainId":1337,
"constantinoplefixblock": 0,
"clique":{
"blockperiodseconds":15,
"epochlength":30000
}
},
"coinbase":"0x0000000000000000000000000000000000000000",
"difficulty":"0x1",
"extraData":"0x00000000000000000000000000000000000000000000000000000000000000004592c8e45706cc08b8f44b11e43cba0cfc5892cb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit":"0xa00000",
"mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce":"0x0",
"timestamp":"0x5c51a607",
"alloc": {
"fe3b557e8fb62b89f4916b721be55ceb828dbd73": {
"privateKey": "8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63",
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance": "0xad78ebc5ac6200000"
},
"627306090abaB3A6e1400e9345bC60c78a8BEf57": {
"privateKey": "c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3",
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance": "90000000000000000000000"
},
"f17f52151EbEF6C7334FAD080c5704D77216b732": {
"privateKey": "ae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f",
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance": "90000000000000000000000"
}
},
"number":"0x0",
"gasUsed":"0x0",
"parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000"
}
39 changes: 39 additions & 0 deletions docker/config/besu/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

logging="INFO"
data-path="/opt/besu/data"
host-whitelist=["*"]

# rpc
rpc-http-enabled=true
rpc-http-host="0.0.0.0"
rpc-http-port=8545
rpc-http-cors-origins=["*"]

# ws
rpc-ws-enabled=true
rpc-ws-host="0.0.0.0"
rpc-ws-port=8546

# graphql
graphql-http-enabled=true
graphql-http-host="0.0.0.0"
graphql-http-port=8547
graphql-http-cors-origins=["*"]

# metrics
metrics-enabled=true
metrics-host="0.0.0.0"
metrics-port=9545

# permissions
permissions-nodes-config-file-enabled=true
permissions-nodes-config-file="/config/permissions_config.toml"

# bootnodes
bootnodes=["enode://c1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22@172.16.239.11:30303"]


# Discovery at boot is set to a list of static files, but will also discover new nodes should they be added
# static nodes
static-nodes-file="/config/static-nodes.json"
discovery-enabled=true
Loading