Skip to content

Commit

Permalink
fix: change chain-id to imuachainlocalnet
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Feb 21, 2025
1 parent 2683d70 commit 22040d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ localnet-build:

# Generate multi node configuration files and initialize configurations
localnet-init: localnet-stop
imuad testnet init-files --chain-id imualocalnet_232-1 --v 4 -o $(CURDIR)/build/.testnets --starting-ip-address 192.168.0.2 --keyring-backend=test && \
imuad testnet init-files --chain-id imuachainlocalnet_232-1 --v 4 -o $(CURDIR)/build/.testnets --starting-ip-address 192.168.0.2 --keyring-backend=test && \
./networks/init-node.sh

# Start a 4-node testnet locally
Expand Down
2 changes: 1 addition & 1 deletion init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rem C:\msys64\usr\bin

set KEY="dev0"
# TODO: imua testnet chainid is still under consideration and need to be finalized later
set CHAINID="imualocalnet_232-1"
set CHAINID="imuachainlocalnet_232-1"
set MONIKER="localtestnet"
set KEYRING="test"
set ALGO="eth_secp256k1"
Expand Down
2 changes: 1 addition & 1 deletion networks/local/imuachain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apk add --no-cache libstdc++~=13.2 \
&& adduser -S -h /home/imua -D imua -u 1000 -G imua
EXPOSE 26656 26657 1317 9090 8545 8546
USER imua
CMD ["start", "--log_format", "plain", "--chain-id", "imualocalnet_232-1", "--metrics", "--json-rpc.api", "eth,txpool,personal,net,debug,web3", "--api.enable", "--json-rpc.enable", "true", "--minimum-gas-prices", "0.0001hua"]
CMD ["start", "--log_format", "plain", "--chain-id", "imuachainlocalnet_232-1", "--metrics", "--json-rpc.api", "eth,txpool,personal,net,debug,web3", "--api.enable", "--json-rpc.enable", "true", "--minimum-gas-prices", "0.0001hua"]
# by default, a SIGKILL is sent after 10 seconds. We need to override this to allow graceful shutdown.
STOPSIGNAL SIGTERM
VOLUME /imua
Expand Down
2 changes: 1 addition & 1 deletion scripts/start-docker.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

KEY="dev0"
CHAINID="imualocalnet_232-1"
CHAINID="imuachainlocalnet_232-1"
MONIKER="mymoniker"
DATA_DIR=$(mktemp -d -t imua-datadir.XXXXX)

Expand Down
2 changes: 1 addition & 1 deletion testutil/batch/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ var DefaultTestToolConfig = TestToolConfig{
OperatorImuaAmount: 10,
AVSImuaAmount: 10,
ChainValidatorNumber: 1,
ChainID: "imualocalnet_232-1",
ChainID: "imuachainlocalnet_232-1",
DefaultClientChainID: 101,
NodesRPC: []string{"http://127.0.0.1:26657"},
NodesEVMRPCHTTP: []string{"http://127.0.0.1:8545"},
Expand Down

0 comments on commit 22040d2

Please sign in to comment.