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

fix: set fg url in rollup.json #38

Merged
merged 3 commits into from
Nov 14, 2024
Merged

fix: set fg url in rollup.json #38

merged 3 commits into from
Nov 14, 2024

Conversation

lesterli
Copy link
Member

Summary

This PR adds a step to set the babylonFinalityGadgetRpc in rollup.json with the env var when restarting op-node

Test Plan

TODO: it will be tested on new deployment

@lesterli lesterli requested a review from a team as a code owner November 13, 2024 15:16
@@ -15,6 +15,24 @@ docker compose -f docker/docker-compose-l2.yml stop op-node
# set L2OO or DGF env vars
post_deployment_setup_env_vars $(pwd)/.deploy/op-devnet-deployments-${L2_CHAIN_ID}.json $DEVNET_L2OO

ROLLUP_CONFIG=$(pwd)/.deploy/rollup.json
# set babylonFinalityGadgetRpc in rollup.json
if [ "$BBN_FINALITY_GADGET_RPC" != "" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

seems we can do ^

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually we don't need this check at all

l2-op-node-restart.sh should support case where we want to disable FG

i.e. setting it from non-empty to empty

we just override whatever it has in the .env to rollup.json

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it is updated.

@lesterli lesterli merged commit 9122cbb into main Nov 14, 2024
1 check passed
@lesterli lesterli deleted the fix/set-fg-url branch November 14, 2024 01:32
@lesterli lesterli mentioned this pull request Nov 20, 2024
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