1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-12-02 05:57:21 +01:00

Fix keeper-contracts/brizo as ethereum rpc provider

This commit is contained in:
Javier Cortejoso 2018-11-30 10:36:55 +01:00
parent d62df2afc0
commit cfc4ca2b0b
No known key found for this signature in database
GPG Key ID: FBEEF3131E39EBCF
2 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,7 @@ services:
- keeper-contracts
- parity-node
environment:
KEEPER_URL: http://parity-node:8545
KEEPER_URL: http://${RPC_URL}:8545
LOCAL_CONTRACTS: "true"
KEEPER_NETWORK_NAME: ${KEEPER_NETWORK_NAME}
AQUARIUS_URL: http://aquarius:5000

View File

@ -11,6 +11,8 @@ export REUSE_DATABASE="false"
export KEEPER_NETWORK_NAME="ganache"
export ARTIFACTS_FOLDER=$HOME/.ocean/keeper-contracts/artifacts
export BRIZO_ENV_FILE=$DIR/brizo.env
# Specify the ethereum default RPC container provider
RPC_URL='keeper-contracts'
# colors
COLOR_R="\033[0;31m" # red
@ -59,6 +61,7 @@ while :; do
--local-parity-node)
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/parity_client.yml"
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/secret_store.yml"
RPC_URL='parity-node'
export KEEPER_NETWORK_NAME="ocean_poa_net_local"
printf $COLOR_Y'Starting with local Parity node...\n\n'$COLOR_RESET
;;