diff options
author | nitper <git@nitin.tv> | 2019-01-23 03:14:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-23 03:14:12 +0800 |
commit | 744fa22f0171dfaeecb3322ba929e598f14f4d65 (patch) | |
tree | 3369607ee4dccbea68f2e6553d03efd2cd584416 /packages/devnet | |
parent | 8d367a09fe504905da505e6bd090446cbdf5ccb6 (diff) | |
download | dexon-0x-contracts-744fa22f0171dfaeecb3322ba929e598f14f4d65.tar.gz dexon-0x-contracts-744fa22f0171dfaeecb3322ba929e598f14f4d65.tar.zst dexon-0x-contracts-744fa22f0171dfaeecb3322ba929e598f14f4d65.zip |
allow devnet rpc to listen on any vhost
geth's default value for `--rpcvhosts` is `localhost`, which does not work when trying to use the devnet in certain environments such as `docker-compose` or `gitlab-ci`
Diffstat (limited to 'packages/devnet')
-rwxr-xr-x | packages/devnet/run.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/devnet/run.sh b/packages/devnet/run.sh index dea243396..6000813f0 100755 --- a/packages/devnet/run.sh +++ b/packages/devnet/run.sh @@ -15,6 +15,7 @@ mkdir -p /var/log --rpc \ --rpcaddr '0.0.0.0' \ --rpcport 8501 \ + --rpcvhosts '*' \ --rpcapi 'personal,db,eth,net,web3,txpool,miner,debug' \ --networkid 50 \ --gasprice '2000000000' \ |