Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Conversation

@darioush
Copy link

Avoids a panic if the node is not configured correctly.

Copy link
Contributor

@qdm12 qdm12 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

@darioush darioush marked this pull request as ready for review January 27, 2025 17:08
@darioush darioush requested review from a team and ceyonur as code owners January 27, 2025 17:08
@darioush darioush enabled auto-merge (squash) January 27, 2025 17:08
@darioush darioush merged commit 3148809 into master Jan 27, 2025
8 checks passed
@darioush darioush deleted the fix-gossip-frequency-config branch January 27, 2025 17:17
Copy link
Contributor

@StephenButtolph StephenButtolph left a comment

Choose a reason for hiding this comment

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

lgtm

@StephenButtolph
Copy link
Contributor

missed it by that much :(

vm.builder = vm.NewBlockBuilder(vm.toEngine)
vm.builder.awaitSubmittedTxs()

var p2pValidators p2p.ValidatorSet = &validatorSet{}
Copy link
Contributor

Choose a reason for hiding this comment

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

This will work but might leave confusing logs in DEBUG as we log when we drop messages because it's not a validator. An alternative would be to use p2p.NoOpHandler

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants