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

feat: add adapters & threshold to onMessage (AMB) #3

Merged
merged 5 commits into from
Jun 18, 2024

Conversation

allemanfredi
Copy link

This PR modifies the onMessage function, which is called by Yaru when a message is executed. A new function, _validateHashiMessage, has been introduced to check the correctness of the hashi message.

…e, reduces _maybeRelayDataWithHashi gasCost, adds expectedAdaptersHash & expectedThreshold and rm IAdapter and IReporter
@allemanfredi allemanfredi self-assigned this Jun 13, 2024
@allemanfredi allemanfredi changed the title feat: add adapters & threshold to onMessage feat: add adapters & threshold to onMessage (AMB) Jun 14, 2024
Copy link
Collaborator

@zengzengzenghuy zengzengzenghuy 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 overall.

Copy link
Collaborator

@zengzengzenghuy zengzengzenghuy 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 overall.

@allemanfredi allemanfredi merged commit 24be92c into feat/hashi-integration-amb Jun 18, 2024
4 of 5 checks passed
@allemanfredi allemanfredi deleted the feat/amb-update-on-message branch June 18, 2024 14:09
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.

2 participants