-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Implement SubmitSignedTransaction in ChainWriter #13325
Conversation
|
||
req := evmtxmgr.TxRequest{ | ||
FromAddress: w.config.FromAddress().Address(), | ||
ToAddress: w.config.ForwarderAddress().Address(), |
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.
FromAddress/ToAddress should be a parameter that's passed in -- both of these values are being sourced from keystone/workflow specific config (that's incorrectly labeled as ChainWriter right now)
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.
Ah yeah this should be the toAddress
passed into the method. The value that's now being treated as toAddress
(the receiver address) will simply be a part of the input args:
inputs := []any{receiverAddress, report, signatures}
CreateTransaction(ctx, inputs, workflowConfig.ForwarderAddress().Address(), ...)
|
Requires smartcontractkit/chainlink-common#541