From 4257afeb88ba789504d466b7483c44a89f4ac679 Mon Sep 17 00:00:00 2001 From: Vitaliy Potyarkin Date: Tue, 17 Sep 2024 07:21:45 +0000 Subject: [PATCH] Use non-default IP in localhost subnet --- morph/Makefile | 3 ++- morph/protocol.privnet.yml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/morph/Makefile b/morph/Makefile index 4d7d5be..a51c4b3 100644 --- a/morph/Makefile +++ b/morph/Makefile @@ -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 diff --git a/morph/protocol.privnet.yml b/morph/protocol.privnet.yml index 5995004..7c7e835 100644 --- a/morph/protocol.privnet.yml +++ b/morph/protocol.privnet.yml @@ -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