diff --git a/Makefile b/Makefile index 9f791cf..4caa292 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ clean: .PHONY: env env: @$(foreach envvar,$(GREP_DOTENV),echo $(envvar);) - @echo MORPH_BLOCK_TIME=$(shell grep 'SecondsPerBlock' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}')s + @echo MORPH_BLOCK_TIME=$(shell grep 'TimePerBlock' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}')s @echo MORPH_MAGIC=$(shell grep 'Magic' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}') # Restart storage nodes with clean volumes diff --git a/services/morph_chain/protocol.privnet.yml b/services/morph_chain/protocol.privnet.yml index 39155c8..13e03b5 100644 --- a/services/morph_chain/protocol.privnet.yml +++ b/services/morph_chain/protocol.privnet.yml @@ -1,50 +1,54 @@ ProtocolConfiguration: Magic: 15405 MaxTraceableBlocks: 200000 - SecondsPerBlock: 1 + TimePerBlock: 1s MemPoolSize: 50000 StandbyCommittee: - 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 ValidatorsCount: 1 SeedList: - 172.200.0.1:20333 - VerifyBlocks: true VerifyTransactions: true StateRootInHeader: true P2PSigExtensions: true ApplicationConfiguration: + SkipBlockVerification: false DBConfiguration: Type: "boltdb" BoltDBOptions: FilePath: "./db/morph.bolt" - NodePort: 20333 + P2P: + Addresses: + - ":20333" + DialTimeout: 3s + ProtoTickInterval: 2s + PingInterval: 30s + PingTimeout: 90s + MaxPeers: 10 + AttemptConnPeers: 5 + MinPeers: 0 Relay: true - DialTimeout: 3 - ProtoTickInterval: 2 - PingInterval: 30 - PingTimeout: 90 - MaxPeers: 10 - AttemptConnPeers: 5 - MinPeers: 0 RPC: - Address: 192.168.130.90 + Addresses: + - "192.168.130.90:30333" Enabled: true SessionEnabled: true EnableCORSWorkaround: false MaxGasInvoke: 100 - Port: 30333 P2PNotary: Enabled: true UnlockWallet: Path: "./wallets/node-wallet.json" Password: "one" Prometheus: + Addresses: + - ":20001" Enabled: true - Port: 20001 Pprof: + Addresses: + - ":20011" Enabled: true - Port: 20011 UnlockWallet: Path: "./wallets/node-wallet.json" Password: "one"