Skip to content

Add nft-devnet-0 config - #58

Merged
philknows merged 3 commits into
mainfrom
philknows/nft-devnet-0
Nov 26, 2024
Merged

Add nft-devnet-0 config#58
philknows merged 3 commits into
mainfrom
philknows/nft-devnet-0

Conversation

@philknows

@philknows philknows commented Nov 25, 2024

Copy link
Copy Markdown
Member

This config allows you to run Lodestar with current nft-devnet-0 configs. Remember to adjust --max-old-space-size=16384 in the setup.sh script to ensure you don't crash from heap memory limits:

clCmd="$dockerCmd --env NODE_OPTIONS='--max_old_space_size=8192' --name $clName $clDockerNetwork -v $dataDir:/data"

Enable with the setup.sh script and these parameters:
./setup.sh --dataDir nft-devnet-0-data --elClient geth --network nft-devnet-0 --dockerWithSudo --detached

@nflaig

nflaig commented Nov 25, 2024

Copy link
Copy Markdown
Member

Remember to adjust --max-old-space-size=16384 in the setup.sh script to ensure you don't crash from heap memory limits:

What about using a variable like LODESTAR_HEAP (or similar) for this? that way could already set a default of 16384 in .vars file for non-finality devnets. And if var is not set just default to 8192

@philknows

Copy link
Copy Markdown
Member Author

What about using a variable like LODESTAR_HEAP (or similar) for this? that way could already set a default of 16384 in .vars file for non-finality devnets. And if var is not set just default to 8192

Good idea, makes sense to do this in a new PR IMO as it'll change the setup.sh script and other network.vars files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants