Skip to content

Commit

Permalink
Fixed typos and improved clarity in documentation (#23077)
Browse files Browse the repository at this point in the history
(cherry picked from commit ef7dbc9)

# Conflicts:
#	core/server/doc.go
  • Loading branch information
bouchmann authored and mergify[bot] committed Dec 28, 2024
1 parent 4d1dd3d commit d2fb964
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions client/grpc/reflection/reflection.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/v2/internal/testpb/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ service Msg {
}

message MsgRequest {
// u32 is an uint32
// u32 is a uint32
uint32 u32 = 1;
uint64 u64 = 2;
string str = 3;
Expand Down
4 changes: 2 additions & 2 deletions client/v2/tx/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,15 @@ func txParamsFromFlagSet(flags *pflag.FlagSet, keybase keyring2.Keyring, ac addr

fees, _ := flags.GetString(FlagFees)
feePayer, _ := flags.GetString(FlagFeePayer)
feeGrater, _ := flags.GetString(FlagFeeGranter)
feeGranter, _ := flags.GetString(FlagFeeGranter)

unordered, _ := flags.GetBool(FlagUnordered)

gasConfig, err := NewGasConfig(gasValue, gasAdjustment, gasPrices)
if err != nil {
return params, err
}
feeConfig, err := NewFeeConfig(fees, feePayer, feeGrater)
feeConfig, err := NewFeeConfig(fees, feePayer, feeGranter)
if err != nil {
return params, err
}
Expand Down
4 changes: 4 additions & 0 deletions core/server/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Server Defines types and interfaces which are shared between Consensus, App Manager and Stf
// This package is not meant to be used directly by modules instead if an advanced user would like
// to create a custom server or replace a component in the server they will need to use the app package.
package server
2 changes: 1 addition & 1 deletion crypto/keyring/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

// Language is a language to create the BIP 39 mnemonic in.
// Currently, only english is supported though.
// Currently, only English is supported though.
// Find a list of all supported languages in the BIP 39 spec (word lists).
type Language int

Expand Down

0 comments on commit d2fb964

Please sign in to comment.