-
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
SHIP-1754 Consolidate FinalityDepth config #13702
base: develop
Are you sure you want to change the base?
Changes from 19 commits
fbaf4ea
5f1ede3
926e1f0
5f2b8c8
dc4fb58
7ff582c
1f32b48
703c28a
d69c25b
74457d1
b967bc7
ea5dc96
5ef0011
9cc0296
e384dcd
7ee2841
39b39d6
963a389
d7a75bc
38d8b58
864bc54
cfc08ec
77ade09
31c567b
6c262e6
e569490
e6865e1
e3f41f6
49c5f16
9132246
660f3ce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#internal Added FinalityDepth config where it was missing |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ChainID = '66' | ||
FinalityDepth = 50 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
ChainID = '65' | ||
FinalityDepth = 50 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,9 @@ func TestDoc(t *testing.T) { | |
docDefaults.Transactions.AutoPurge.Threshold = nil | ||
docDefaults.Transactions.AutoPurge.MinAttempts = nil | ||
|
||
// FinalityDepth has been updated to 10 in fallback and set to 50 in Ethereum_Mainnet | ||
fallbackDefaults.FinalityDepth = docDefaults.FinalityDepth | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure I understand why this needs to be done? are the tests failing without these? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test is setup in such a way that it wants the falback value to be reflected in the docDefaults, but since we updated the fallback and added a default for Ethereum chains this test fails without the new update. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still dont think we should be doing this, dont have the full context. |
||
|
||
assertTOML(t, fallbackDefaults, docDefaults) | ||
}) | ||
|
||
|
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.
@friedemannf is this right for OKX?
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.
This value isn't defined at CCIP, can we get a check on this please?
@friedemannf