Skip to content

Conversation

@bendyarm
Copy link
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
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.

devnet-topo.sh Outdated
metrics_flag=""

if [ "$validator_index" -eq 0 ]; then
# Enable metrics only for the first validator.
Copy link
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.

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

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