-
Notifications
You must be signed in to change notification settings - Fork 172
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: get write tx for single message #6003
Conversation
packages/agents/lighthouse/src/tasks/processFromRoot/helpers/xlayer.ts
Outdated
Show resolved
Hide resolved
processorFunctionName: string; | ||
contractAddress?: string; | ||
contractAbi?: string[]; | ||
getWriteTransaction: (params: GetProcessArgsParams) => Promise<WriteTransaction | undefined>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like this pattern.
Concerned that this might cause regression on other (non- XLayer) changes, since this touches processFromRoot on all chains.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possible, but that's why I grouped the write tx generation in a single function and kept the original getArgs
utils
This reverts commit 07a0d6d.
coverage issues will be resolved in base branch, merging |
Description
Fixes review comments left in #5926 by:
WriteTransaction
for a single messageWriteTransaction
Before merging, we need to ensure that lighthouse will pick up the spoke messages as well.
Type of change
High-level change(s) description - from the user's perspective
Related Issue(s)
Fixes
Related pull request(s)