10000 node(governor): reobservations should not flow cancel by johnsaigle · Pull Request #4375 · wormhole-foundation/wormhole · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

node(governor): reobservations should not flow cancel #4375

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnsaigle
Copy link
Contributor
@johnsaigle johnsaigle commented May 14, 2025

Reobservations are complicated to reason about in a context where flow cancel is enabled. Disabling reobservations is simpler, with only a minor downside that otherwise-eligible reobservations of token transfers will not flow cancel.

@johnsaigle johnsaigle added enhancement New feature or request governor test labels May 14, 2025
@johnsaigle johnsaigle changed the title node: Change flow cancel so that reobservations do not flow-cancel node: Governor: reobservations do not flow cancel May 14, 2025
@johnsaigle johnsaigle changed the title node: Governor: reobservations do not flow cancel node: Governor: reobservations should not flow cancel May 14, 2025
@johnsaigle johnsaigle marked this pull request as ready for review May 14, 2025 19:00
@johnsaigle johnsaigle changed the title node: Governor: reobservations should not flow cancel node(governor): reobservations should not flow cancel May 14, 2025
@mdulin2
Copy link
Contributor
mdulin2 commented May 15, 2025

Should we be checking these in other spots? I've listed two below but may be missing some others.

If we don't check on the database reload if something was a reobservation or not then wouldn't this lead to more funds being flow-cancelled than it should be?

On GetNotionalAvailableByChain(), we wouldn't want to include these transfers either.

I think this would require us to modify the storage semantics of the transfer to include whether or not something was a reobservation though. Hmmm.

@johnsaigle johnsaigle marked this pull request as draft May 15, 2025 16:07
@johnsaigle
Copy link
Contributor Author

Putting this on pause for now until we have a longer discussion about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request governor test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0