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

Node: p2p.Run not always subscribing to heartbeat channel when it should #4152

Conversation

bruce-riley
Copy link
Contributor

@bruce-riley bruce-riley commented Nov 4, 2024

The p2p.Run method is not subscribing to the channel topic if a client (such as the historical uptime monitor) subscribes to heartbeats via the guardian set state but not any other of the other events that use the control topic. This results in never seeing heartbeats.

I tested this by hacking the spy to subscribe to heartbeats using the guardian set state.

@bruce-riley bruce-riley force-pushed the node_p2p_run_not_always_subscribing_to_hb_when_it_should branch from 09ac0c1 to daf8d3a Compare November 4, 2024 21:16
@bruce-riley bruce-riley marked this pull request as ready for review November 4, 2024 21:19
@bruce-riley bruce-riley requested a review from bingyuyap November 4, 2024 21:20
Copy link
Contributor

@bingyuyap bingyuyap left a comment

Choose a reason for hiding this comment

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

lgtm!

@bruce-riley bruce-riley merged commit 7247a0f into wormhole-foundation:main Nov 5, 2024
23 of 24 checks passed
@bruce-riley bruce-riley deleted the node_p2p_run_not_always_subscribing_to_hb_when_it_should branch November 5, 2024 14:21
kakucodes added a commit to kakucodes/wormhole that referenced this pull request Dec 10, 2024
author Obie Kaku <[email protected]> 1718989425 -0500
committer Obie Kaku <[email protected]> 1733863492 -0600

chore: refreshed icts

core contract upgrade working

wip

wip

Update wormchain_test.go

fix: creating wormhole ibc channel correctly

debugging ibc handshake

chore: refactoring tests

tests updated

wip

Add interchaintest tests to wormchain

chore: refreshed icts

core contract upgrade working

wip

wip

Update wormchain_test.go

fix: creating wormhole ibc channel correctly

debugging ibc handshake

chore: refactoring tests

tests updated

wip

removed unneeded schema files

revert contract changes

removed unused wasm binaries

reverted unneeded formatting changes

removed unused wasm binaries

Node: p2p.Run not always subscribing to heartbeat channel when it should (wormhole-foundation#4152)

Node: CCQ logging changes (wormhole-foundation#4153)

wormchain: disable ignite

Node: Deploy Worldchain mainnet (wormhole-foundation#4156)

* Node: Deploy Worldchain mainnet

* Code review rework

* node: Governor setup for Worldchain

---------

Co-authored-by: Dirk Brink <[email protected]>

make: fix VERSION unset if commit has no associated tag

eth: env file for Worldchain Mainnet (wormhole-foundation#4158)

Deploy Ink testnet

Node: Update golang (wormhole-foundation#4161)

* Node: Update golang

* node: Upgrade golangci-lint

Temporarily increasing governor limits for a few chains (wormhole-foundation#4164)

refactoring and clean up

put back the ibc translator update channel chain

remove unused contract upgrade fn

removed wormchaind build

reorganized some test utils
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.

4 participants