Use non-default IP in localhost subnet

This commit is contained in:
Vitaliy Potyarkin 2024-09-17 07:21:45 +00:00
parent 42b810185a
commit 4257afeb88
2 changed files with 6 additions and 5 deletions

View file

@ -43,10 +43,11 @@ morph: $(WALLET) | $(NEOGO)
wallet/morph.json: wallet.template | $(NEOGO)
mkdir -p $(dir $@)
$(NEOGO) wallet init --account --wallet-config $<
$(NEOGO) wallet dump-keys -w $@
.PHONY: bootstrap
bootstrap: data/contracts wallet/az.json | $(ADM)
$(ADM) morph init --contracts $< --alphabet-wallets wallet --rpc-endpoint http://localhost:30333
$(ADM) morph init --contracts $< --alphabet-wallets wallet --rpc-endpoint http://127.0.0.200:30333
wallet/az.json: | $(ADM)
mkdir -p wallet

View file

@ -18,7 +18,7 @@ ApplicationConfiguration:
FilePath: "data/chains/morph.bolt"
P2P:
Addresses:
- ":20333"
- "127.0.0.200:20333"
DialTimeout: 3s
ProtoTickInterval: 2s
PingInterval: 30s
@ -34,7 +34,7 @@ ApplicationConfiguration:
Password: "morph"
RPC:
Addresses:
- ":30333"
- "127.0.0.200:30333"
Enabled: true
SessionEnabled: true
EnableCORSWorkaround: false
@ -46,9 +46,9 @@ ApplicationConfiguration:
Password: "morph"
Prometheus:
Addresses:
- ":20001"
- "127.0.0.200:20001"
Enabled: true
Pprof:
Addresses:
- ":20011"
- "127.0.0.200:20011"
Enabled: true