Skip to content

Commit

Permalink
chore: fix some function names (#732)
Browse files Browse the repository at this point in the history
Signed-off-by: pkucode <[email protected]>
  • Loading branch information
pkucode authored Aug 7, 2024
1 parent 671193e commit 6dbcf44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/btc_staking_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion x/btcstaking/types/pop.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6dbcf44

Please sign in to comment.