Skip to content

[devnet] devnet-topo.sh is an alternative to devnet.sh that sets up a…#3675

Draft
bendyarm wants to merge 2 commits intoProvableHQ:stagingfrom
bendyarm:devnet-topo
Draft

[devnet] devnet-topo.sh is an alternative to devnet.sh that sets up a…#3675
bendyarm wants to merge 2 commits intoProvableHQ:stagingfrom
bendyarm:devnet-topo

Conversation

@bendyarm
Copy link
Copy Markdown
Contributor

@bendyarm bendyarm commented Jun 8, 2025

Sets up a trusted peers topology that might better reflect mainnet.
Prevents validators from accepting external peer connections.
Otherwise mainly the same as devnet.sh.

@bendyarm bendyarm marked this pull request as draft June 8, 2025 18:32
@bendyarm bendyarm requested review from kaimast and vicsn June 8, 2025 18:36
kaimast
kaimast previously approved these changes Jun 11, 2025
Copy link
Copy Markdown
Contributor

@kaimast kaimast left a comment

Choose a reason for hiding this comment

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

Looks good! I ran the script locally and it seems to work as expected.

Comment thread devnet-topo.sh Outdated
metrics_flag=""

if [ "$validator_index" -eq 0 ]; then
# Enable metrics only for the first validator.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can enable metrics for all validators, like we do in the devnet.sh script now.

Comment thread devnet-topo.sh Outdated
done

# Create the list of peers (i.e., trusted peers) for the validator at the_validator_index
# It is the corresponding client now.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you mean "it is only the corresponding client now"?

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