Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Copy link
Contributor

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 marked this pull request as draft June 8, 2025 18:32
bendyarm requested review from kaimast and vicsn June 8, 2025 18:36
kaimast previously approved these changes Jun 11, 2025
Copy link
Contributor

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.

devnet-topo.sh Outdated
metrics_flag=""

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

kaimast Jun 11, 2025

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.

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
Contributor

kaimast Jun 11, 2025

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"?

bendyarm dismissed kaimast's stale review via cbaf036 June 22, 2025 17:31
vicsn mentioned this pull request Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

kaimast kaimast left review comments

vicsn Awaiting requested review from vicsn

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants