From 2a2c15c2cb20c89ca1c8d3562ed2592dd2acd256 Mon Sep 17 00:00:00 2001 From: Alfonso de la Rocha Date: Fri, 2 Jun 2023 12:48:55 +0200 Subject: [PATCH] enable eth-rpc in 4-node-net script --- scripts/mir/daemon.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/mir/daemon.sh b/scripts/mir/daemon.sh index c8c12812c..f30c1791d 100755 --- a/scripts/mir/daemon.sh +++ b/scripts/mir/daemon.sh @@ -37,6 +37,17 @@ mkdir $LOTUS_PATH # ./eudico mir daemon --eudico-make-genesis=./scripts/mir/devgen.car --genesis-template=./scripts/mir/localnet.json --bootstrap=false --api=123$INDEX # else +echo "[*] Populating daemon config" +echo '[Libp2p] +ListenAddresses = ["/ip4/0.0.0.0/tcp/1347"] +[Chainstore] + EnableSplitstore = true +[Chainstore.Splitstore] + ColdStoreType = "discard" +[Fevm] + EnableEthRPC = true +' > $LOTUS_PATH/config.toml + API_PORT="" if [ "$PORT" != 0 ] then