Skip to content
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

BCFR-934/remove-finality-depth-as-default-value-for-minConfirmation-and-fix-inconsistency #14509

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

huangzhen1997
Copy link
Contributor

@huangzhen1997 huangzhen1997 commented Sep 20, 2024

Description

We shouldn't use FinalityDepth as the default value for minConfirmation when it's not provided by the user.

Also, according to the official documentation, setting it to 0 should resume callback immediately, but right now the callback isn't triggered unless minConfirmation is greater than 0. To resolve this, we need to treat a user-provided value of 0 and a missing value as two distinct cases.

Tickets:

BCFR-934

@huangzhen1997 huangzhen1997 marked this pull request as ready for review September 20, 2024 16:03
@huangzhen1997 huangzhen1997 requested review from a team as code owners September 20, 2024 16:03
@huangzhen1997 huangzhen1997 requested review from jmank88 and removed request for a team September 20, 2024 16:03
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@huangzhen1997 huangzhen1997 marked this pull request as draft September 20, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant