Skip to content

chore: fix function name in comment #635

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

Merged
merged 1 commit into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/oracle/keeper/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (k Keeper) HasReport(ctx sdk.Context, rid types.RequestID, val sdk.ValAddre
return ctx.KVStore(k.storeKey).Has(types.ReportsOfValidatorPrefixKey(rid, val))
}

// SetDataReport saves the report to the storage without performing validation.
// SetReport saves the report to the storage without performing validation.
func (k Keeper) SetReport(ctx sdk.Context, rid types.RequestID, rep types.Report) {
val, _ := sdk.ValAddressFromBech32(rep.Validator)
key := types.ReportsOfValidatorPrefixKey(rid, val)
Expand Down
2 changes: 1 addition & 1 deletion x/oracle/keeper/signing.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/bandprotocol/chain/v3/x/oracle/types"
)

// SetSigningID sets the key-value pair of the request ID to signing ID in the store.
// SetSigningResult sets the signing result in the store.
func (k Keeper) SetSigningResult(ctx sdk.Context, rid types.RequestID, signingResult types.SigningResult) {
ctx.KVStore(k.storeKey).Set(types.SigningResultStoreKey(rid), k.cdc.MustMarshal(&signingResult))
}
Expand Down
2 changes: 1 addition & 1 deletion x/oracle/simulation/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestRandomizedGenState(t *testing.T) {
require.Equal(t, []types.OracleScript{}, oracleGenesis.OracleScripts)
}

// TestRandomizedGenState tests abnormal scenarios of applying RandomizedGenState.
// TestRandomizedGenState1 tests abnormal scenarios of applying RandomizedGenState.
func TestRandomizedGenState1(t *testing.T) {
interfaceRegistry := codectypes.NewInterfaceRegistry()
cdc := codec.NewProtoCodec(interfaceRegistry)
Expand Down
3 changes: 2 additions & 1 deletion x/tss/keeper/keeper_signing_endblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ func (k Keeper) GetSigningExpirations(ctx sdk.Context) []types.SigningExpiration
return ses.SigningExpirations
}

// AddPendingProcessSigning adds a new pending process signing to the store.
// AddSigningExpiration adds a signing expiration info into the existing
// list and stores it.
func (k Keeper) AddSigningExpiration(ctx sdk.Context, signingID tss.SigningID, attempt uint64) {
signingExpirations := k.GetSigningExpirations(ctx)

Expand Down
Loading