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

backport: Fix invalid minUnbondingTime for verifying inclusion proof (#289) #290

Merged

Commits on Nov 22, 2024

  1. hotfix: Invalid minUnbondingTime for verifying inclusion proof (#289)

    The bug is caused due to setting `params.MinStakingTime` to the
    btcstaking module's keeper method `VerifyInclusionProofAndGetHeight`
    other than `params.MinUnbondingTime`. In the fix, we remove
    `minUnbondingTime` from the parameter list of
    `VerifyInclusionProofAndGetHeight` as it should retrieve the parameter
    within the method.
    
    This PR also added comprehensive tests for
    `VerifyInclusionProofAndGetHeight`
    gitferry committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    21c44af View commit details
    Browse the repository at this point in the history