-
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 TXM confirmation logic to use the mined transaction count #14405
Merged
dimriou
merged 86 commits into
develop
from
BCI-4097-Update-the-TXM-confirmation-logic-to-use-the-mined-nonce
Nov 19, 2024
Merged
Changes from 83 commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
d2a6193
Updated confirmation logic to use the mined transaction count
amit-momin 39616c3
Added changeset
amit-momin 914876f
Fixed linting
amit-momin 78509ea
Addressed feedback and fixed linting
amit-momin d77cc28
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 568bee3
Fixed linting
amit-momin 7d61e80
Addressed feedback
amit-momin 444c9c7
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin b1a8883
Fixed VRF v2 integration tests
amit-momin 83b8a17
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin d3dc084
Fixed linting
amit-momin 3c1023b
Removed misleading log and fixed vrf v2 integration tests
amit-momin 2adc3d6
Updated receipt check for vrf v2 integration tests
amit-momin 9906082
Fixed CCIP integration tests
amit-momin dc2015e
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 59d419a
Updated tests for new head type
amit-momin 1277145
Fixed linting
amit-momin 9d048f2
Fixed VRF v2 integration tests
amit-momin bfd7483
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 5f24154
Fixed pipeline integration tests and added logs to nonce tracker
amit-momin 4ecaead
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 45305ed
Fixed VRF e2e tests
amit-momin 88ecf7c
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin aa5e837
Fixed VRF e2e test
amit-momin 42e4318
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 3dbd397
Updated find attempts for receipt fetch query
amit-momin 1bbf695
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 6edda8f
Addressed feedback
amit-momin 3c21241
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 0dcbaf5
Cleaned config interfaces and added back methods to txstore interface
amit-momin 7bc2a40
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin f1926b2
Updated confirmer description and txstore method name
amit-momin 34d5bdb
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 814ab0b
Changed logic to mark old transactions without receipts as fatal
amit-momin 5880e6a
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 65781d8
Removed chain ID from the SaveFetchedReceipts method
amit-momin e1f31f3
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin a3fed95
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 06c5af7
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 3e74540
Fixed tests and interfaces after merge conflict
amit-momin dd8aab8
Updated finalizer logs
amit-momin ca2bac5
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin deec40c
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin f326514
Fixed linting
amit-momin 006e9db
Fixed linting
amit-momin 33295fb
Fixed linting
amit-momin cf6cb94
Pre-allocate slices for linting
amit-momin 399ae79
Cleaned up some eventually's in vrf v2 tests
amit-momin 37b3f4c
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 9b89974
Added finalized transaction count prom metric
amit-momin f4bfbaf
Fixed vrf v2 integration test
amit-momin 53d7e02
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 52b973e
Fixed vrf integration test
amit-momin dd321e7
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin bba6f9a
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 1f056ac
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 23afc29
Updated evm store mocks
amit-momin f003dd7
Generated new mock and clean linting
amit-momin 4333aa0
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 308b47d
Added no lint comments
amit-momin 262e192
Fixed ifElseChain linting
amit-momin b229119
Changed filter timer in vrf smoke test
amit-momin f50a1ba
Undid timer change and switched to hardcoded 10s filter timeout
amit-momin afb6e3f
Extended randomness event timeout
amit-momin 61890a7
Reverted hardcoded timeouts
amit-momin 818a840
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin c565fc8
Removed allowed logs
amit-momin 4fb063d
Increased integration test finality depth
amit-momin aeeb179
Updated vrf integration test tomls and reverted the default toml
amit-momin cff9dba
Updated finality depth for simulated chain config defaults in integra…
amit-momin c15e5a8
Replaced gomega with require for two VRF test helper methods
amit-momin 72dca42
Added simualted chain node configs and reverted default toml changes
amit-momin 74e0afb
Reduced vrf simulated test configs to fallback to defaults
amit-momin e27b285
Updated VRF simulated test config to match smoke defaults
amit-momin 4a828f2
Added HistoryDepth config to vrf smoke test configs
amit-momin 175dbe0
Removed VRF test simulates chain configs
amit-momin 4bda9b7
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 9744327
Reverted vrf test changes
amit-momin b1ec4e8
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 024d696
Fixed flakey vrf bhs integration tests
amit-momin e2252d8
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 35b4631
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin 95e800c
Updated finalization logic to delete stale receipts if detected
amit-momin 002d6a5
Addressed feedback
amit-momin ca38fc9
Updated log
amit-momin fe22dc4
Merge branch 'develop' into BCI-4097-Update-the-TXM-confirmation-logi…
amit-momin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
#internal Updated the TXM confirmation logic to use the mined transaction count to identify re-org'd or confirmed transactions. | ||
|
||
- Confirmer uses the mined transaction count to determine if transactions have been re-org'd or confirmed. | ||
- Confirmer no longer sets transaction states to `confirmed_missing_receipt`. This state is maintained in queries for backwards compatibility. | ||
- Finalizer now responsible for fetching and storing receipts for confirmed transactions. | ||
- Finalizer now responsible for resuming pending task runs. | ||
- Finalizer now responsible for marking old transactions without receipts broadcasted before the finalized head as fatal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 wouldn't classify this as a
minor
update, as this is a significant change. We need wider visibility from RelEng.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 think marking this as
major
change might be too extreme since this is backwards compatible. I agree we probably want better visibility on this though but think we should do that separately from the semantic versioning.