mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-25 11:28:45 +01:00
Merge pull request #377 from oceanprotocol/issue376-hardfork-name-as-env-var
Add GANACHE_HARDFORK env var
This commit is contained in:
commit
b21864b23f
@ -7,4 +7,4 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
||||||
ipv4_address: 172.15.0.3
|
ipv4_address: 172.15.0.3
|
||||||
entrypoint: ["node","/app/dist/node/cli.js","--database.dbPath", "./ganache_cache","--chain.chainId","0x2324","--chain.networkId","0x2324","-l","10000000000","-g","1","--chain.hardfork","istanbul","--miner.blockTime","0","--miner.instamine", "eager","--wallet.mnemonic","${GANACHE_MNEMONIC}", "-e","1000000"]
|
entrypoint: ["node","/app/dist/node/cli.js","--database.dbPath", "./ganache_cache","--chain.chainId","0x2324","--chain.networkId","0x2324","-l","10000000000","-g","1","--chain.hardfork","${GANACHE_HARDFORK}","--miner.blockTime","0","--miner.instamine", "eager","--wallet.mnemonic","${GANACHE_MNEMONIC}", "-e","1000000"]
|
||||||
|
@ -65,7 +65,7 @@ export NETWORK_RPC_PORT="8545"
|
|||||||
export NETWORK_RPC_URL="http://"${NETWORK_RPC_HOST}:${NETWORK_RPC_PORT}
|
export NETWORK_RPC_URL="http://"${NETWORK_RPC_HOST}:${NETWORK_RPC_PORT}
|
||||||
# Use this seed on ganache to always create the same wallets
|
# Use this seed on ganache to always create the same wallets
|
||||||
export GANACHE_MNEMONIC=${GANACHE_MNEMONIC:-"taxi music thumb unique chat sand crew more leg another off lamp"}
|
export GANACHE_MNEMONIC=${GANACHE_MNEMONIC:-"taxi music thumb unique chat sand crew more leg another off lamp"}
|
||||||
|
export GANACHE_HARDFORK=${GANACHE_HARDFORK:-"istanbul"}
|
||||||
# Ocean contracts
|
# Ocean contracts
|
||||||
export OCEAN_HOME="${HOME}/.ocean"
|
export OCEAN_HOME="${HOME}/.ocean"
|
||||||
export CONTRACTS_OWNER_ROLE_ADDRESS="${CONTRACTS_OWNER_ROLE_ADDRESS}"
|
export CONTRACTS_OWNER_ROLE_ADDRESS="${CONTRACTS_OWNER_ROLE_ADDRESS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user