Skip to content

Add peer check to the executeMsg (evm)#918

Open
mdulin2 wants to merge 4 commits into
wormhole-foundation:mainfrom
mdulin2:execute-msg-peer-check
Open

Add peer check to the executeMsg (evm)#918
mdulin2 wants to merge 4 commits into
wormhole-foundation:mainfrom
mdulin2:execute-msg-peer-check

Conversation

@mdulin2

@mdulin2 mdulin2 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Performs the peer check on the executeMsg() flow for EVM. I added an internal function with the logic in order to not duplicate the _verifyPeer() check in two spots.

@mdulin2
mdulin2 requested a review from djb15 June 29, 2026 21:09
@mdulin2 mdulin2 changed the title Add peer check to the executeMsg Add peer check to the executeMsg (evm) Jun 29, 2026
@djb15

djb15 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Resolves #890

djb15
djb15 previously approved these changes Jun 30, 2026

@djb15 djb15 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks good to me. Critically executeMsgInner has the correct visibility, attestationReceived still has the whenNotPaused modifier, and functionality is otherwise untouched

@bemic bemic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The change does not affect functionality. New test cases added. Visibility and modifiers are matching the original implementation. Looks good to me.

@johnsaigle johnsaigle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this needs a manual rebase before it'll pass CI. I'm unable to do it in the front-end

@johnsaigle johnsaigle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changes look good -- the PR just needs help to get through CI

@djb15
djb15 force-pushed the execute-msg-peer-check branch from b162287 to 2505e0a Compare July 17, 2026 19:59
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.

evm: sourceNttManagerAddress is not validated when a partially attested message is released during a transceiver threshold decrease

4 participants