-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update KeystoneForwarder contract and IReceiver #13301
Update KeystoneForwarder contract and IReceiver #13301
Conversation
|
||
// f can never be 0, so this means the config doesn't actually exist | ||
if (s_configs[donId].f == 0) revert InvalidDonId(donId); | ||
|
||
bytes32 reportId = _reportId(receiverAddress, workflowExecutionId); |
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.
Removed some variables because of StackTooDeep error 😭
cecf02e
to
2e32753
Compare
Quality Gate passedIssues Measures |
bytes32 indexed workflowExecutionId, | ||
bytes32 indexed reportName, |
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.
I'm worried about how much extra metadata we're passing through now and any potential size issues on Solana. Could report name just be a u8
type ID/discriminator? 255
different report types per workflow ought to be enough
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.
As discussed offline, we could use address (20 bytes) for owner and only 12 bytes for report name.
replaced by #13389 |
TODO: