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
The bug is caused due to setting
params.MinStakingTime
to the btcstaking module's keeper methodVerifyInclusionProofAndGetHeight
other thanparams.MinUnbondingTime
. In the fix, we removeminUnbondingTime
from the parameter list ofVerifyInclusionProofAndGetHeight
as it should retrieve the parameter within the method.This PR also added comprehensive tests for
VerifyInclusionProofAndGetHeight