-
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
Change Workflow Registry Syncer to use less block confirmations #16243
Conversation
I see you updated files related to
|
46f49bc
to
d401f78
Compare
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
3dee282
to
1c638ad
Compare
|
}, | ||
string(WorkflowUpdatedEvent): { | ||
ChainSpecificName: string(WorkflowUpdatedEvent), | ||
ReadType: evmtypes.Event, | ||
ConfidenceConfirmations: map[string]int{ | ||
"1.0": 3, |
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.
Ideally, you'd set a more realistic confidence level for the chain, like "0.9": 3 and pass that instead of Finalized
to GetLatestValue
, QueryKey
, etc. and reserve 1.0 for meaning actually finalized. But if you're sure that nothing else that shares this config will ever need a higher confidence level, this works.
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.
@EasterTheBunny would know better than I though whether there is any problem with doing it this way
Handled via node config |
Description
Speeds up the time it takes for a workflow to land on the nodes by
watching forlowering the block confirmations to 3.Unconfirmed
transactions instead ofFinalized
.