diff --git a/test/e2e/btc_staking_e2e_test.go b/test/e2e/btc_staking_e2e_test.go index 530aa0d0..459cb6ce 100644 --- a/test/e2e/btc_staking_e2e_test.go +++ b/test/e2e/btc_staking_e2e_test.go @@ -71,7 +71,7 @@ func (s *BTCStakingTestSuite) TearDownSuite() { s.Require().NoError(err) } -// TestCreateFinalityProviderAndDelegation is an end-to-end test for +// Test1CreateFinalityProviderAndDelegation is an end-to-end test for // user story 1: user creates finality provider and BTC delegation func (s *BTCStakingTestSuite) Test1CreateFinalityProviderAndDelegation() { chainA := s.configurer.GetChainConfig(0) @@ -258,7 +258,7 @@ func (s *BTCStakingTestSuite) Test2SubmitCovenantSignature() { s.Equal(activeFps[0].VotingPower, activeDel.VotingPower(currentBtcTip.Height, initialization.BabylonBtcFinalizationPeriod, params.CovenantQuorum)) } -// Test2CommitPublicRandomnessAndSubmitFinalitySignature is an end-to-end +// Test3CommitPublicRandomnessAndSubmitFinalitySignature is an end-to-end // test for user story 3: finality provider commits public randomness and submits // finality signature, such that blocks can be finalised. func (s *BTCStakingTestSuite) Test3CommitPublicRandomnessAndSubmitFinalitySignature() { diff --git a/x/btcstaking/types/pop.go b/x/btcstaking/types/pop.go index dd5a562a..d7ee9069 100644 --- a/x/btcstaking/types/pop.go +++ b/x/btcstaking/types/pop.go @@ -46,7 +46,7 @@ func NewPoPBTC(addr sdk.AccAddress, btcSK *btcec.PrivateKey) (*ProofOfPossession return &pop, nil } -// NewPoPWithECDSABTCSig generates a new proof of possession where Bitcoin signature is in ECDSA format +// NewPoPBTCWithECDSABTCSig generates a new proof of possession where Bitcoin signature is in ECDSA format // a proof of possession contains two signatures: // - pop.BtcSig = ecdsa_sign(sk_BTC, addr) func NewPoPBTCWithECDSABTCSig(addr sdk.AccAddress, btcSK *btcec.PrivateKey) (*ProofOfPossessionBTC, error) {