Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add devnet support to forest-tool api serve and document the functionality #4628

Closed
lemmih opened this issue Aug 7, 2024 · 2 comments · Fixed by #4638
Closed

Add devnet support to forest-tool api serve and document the functionality #4628

lemmih opened this issue Aug 7, 2024 · 2 comments · Fixed by #4638
Assignees
Labels
Priority: 3 - Medium Nice-to-have, does not impede core functionality Type: Feature

Comments

@lemmih
Copy link
Contributor

lemmih commented Aug 7, 2024

Issue summary

TDB

Other information and links

@LesnyRumcajs
Copy link
Member

These need to be ported to forest-tool api serve

set -euxo pipefail
if [ ! -f ${FOREST_DATA_DIR}/forest_config.toml ]; then
export NETWORK_NAME=$$(grep -o \"localnet.*\" ${LOTUS_DATA_DIR}/localnet.json)
cp /forest/forest_config.toml.tpl ${FOREST_DATA_DIR}/forest_config.toml
echo name = $$NETWORK_NAME >> ${FOREST_DATA_DIR}/forest_config.toml
fi
forest --genesis ${LOTUS_DATA_DIR}/devgen.car --config ${FOREST_DATA_DIR}/forest_config.toml --save-token ${FOREST_DATA_DIR}/token.jwt --rpc-address 0.0.0.0:${FOREST_RPC_PORT}

@LesnyRumcajs LesnyRumcajs self-assigned this Aug 7, 2024
@LesnyRumcajs
Copy link
Member

Linked to #4598, given one is hardly useful without the other.

@lemmih lemmih added Priority: 3 - Medium Nice-to-have, does not impede core functionality Type: Feature labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 3 - Medium Nice-to-have, does not impede core functionality Type: Feature
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants