-
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
[BCI-3573] - Remove dependence on FinalityDepth in EVM TXM code #13755
Closed
Farber98
wants to merge
24
commits into
BCI-3486-implement-finality-check-for-the-get-transaction-status-method
from
BCI-3572-utilize-finality-tags-in-evm-txm
Closed
[BCI-3573] - Remove dependence on FinalityDepth in EVM TXM code #13755
Farber98
wants to merge
24
commits into
BCI-3486-implement-finality-check-for-the-get-transaction-status-method
from
BCI-3572-utilize-finality-tags-in-evm-txm
Conversation
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
…-get-transaction-status-method
…-get-transaction-status-method
…-get-transaction-status-method
…-get-transaction-status-method
…-get-transaction-status-method
…-get-transaction-status-method
…-get-transaction-status-method
Quality Gate passedIssues Measures |
Farber98
changed the base branch from
develop
to
BCI-3486-implement-finality-check-for-the-get-transaction-status-method
July 4, 2024 15:06
Farber98
commented
Jul 4, 2024
@@ -1474,7 +1469,7 @@ FROM ( | |||
FOR UPDATE OF e1 | |||
) e0 | |||
WHERE e0.id = evm.txes.id | |||
RETURNING e0.id, e0.nonce`, ErrCouldNotGetReceipt, cutoff, chainID.String()) | |||
RETURNING e0.id, e0.nonce`, ErrCouldNotGetReceipt, latestFinalizedBlockNum, chainID.String()) |
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.
Do we want HAVING max(evm.tx_attempts.broadcast_before_block_num) < $2 (latestFinalizedBlockNum)
to be inclusive now?
amit-momin
force-pushed
the
BCI-3486-implement-finality-check-for-the-get-transaction-status-method
branch
from
July 9, 2024 02:09
5b18016
to
911d342
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Parts of the EVM TXM code still relies on
FinalityDepth
regardless if the chain is enabled to use finality tags. Through this PR we are updating the code to utilize the head tracker’s latest finalized block instead ofFinalityDepth
.Acceptance Criteria
FinalityDepth
should be removed to enable the use of finality tags.FinalityDepth
from the EVM TXM codeTickets:
Requires:
Unblocks: