Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

enable eth-rpc in 4-node-net script #188

Merged
merged 1 commit into from
Jun 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions scripts/mir/daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down