Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Filter EVM logs in unit tests read by generic relayer to just wormhole publish message logs. #82

Merged

Conversation

scnale
Copy link
Collaborator

@scnale scnale commented Feb 7, 2023

This avoids having a test fail due to the wrong type of event being read by the generic relayer simulator.

Note that this change depends on #81, otherwise the compiler errors out with an internal codegen error related to "unreachable" stack variables.

@scnale scnale force-pushed the tests/improve-relay-mock branch from 6d1ae8f to 98b54ff Compare February 7, 2023 15:32
Copy link
Contributor

@derpy-duck derpy-duck left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for improving this function!

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.

3 participants