fix: typos (#25029)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
parent
399cc759a9
commit
a7678f91f4
@ -977,7 +977,7 @@ const (
|
||||
)
|
||||
|
||||
// MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
|
||||
// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
|
||||
// See cosmos.tx.v1beta1.ModeInfo.Multi for how to specify which signers
|
||||
// signed and with which modes.
|
||||
type MultiSignature struct {
|
||||
state protoimpl.MessageState
|
||||
|
||||
@ -7253,7 +7253,7 @@ type Proposal struct {
|
||||
Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty"`
|
||||
// summary is a short summary of the proposal
|
||||
Summary string `protobuf:"bytes,12,opt,name=summary,proto3" json:"summary,omitempty"`
|
||||
// proposer is the address of the proposal sumbitter
|
||||
// proposer is the address of the proposal submitter
|
||||
Proposer string `protobuf:"bytes,13,opt,name=proposer,proto3" json:"proposer,omitempty"`
|
||||
// expedited defines if the proposal is expedited
|
||||
Expedited bool `protobuf:"varint,14,opt,name=expedited,proto3" json:"expedited,omitempty"`
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Slighlty modified version of https://github.com/ignite/cli/blob/develop/docs/src/css/custom.css
|
||||
Slightly modified version of https://github.com/ignite/cli/blob/develop/docs/src/css/custom.css
|
||||
*/
|
||||
|
||||
@import "tailwindcss/base";
|
||||
|
||||
@ -215,8 +215,8 @@ func (s *decimalTestSuite) TestDecsEqual() {
|
||||
}
|
||||
|
||||
for tcIndex, tc := range tests {
|
||||
s.Require().Equal(tc.eq, math.LegacyDecsEqual(tc.d1s, tc.d2s), "equality of decional arrays is incorrect, tc %d", tcIndex)
|
||||
s.Require().Equal(tc.eq, math.LegacyDecsEqual(tc.d2s, tc.d1s), "equality of decional arrays is incorrect (converse), tc %d", tcIndex)
|
||||
s.Require().Equal(tc.eq, math.LegacyDecsEqual(tc.d1s, tc.d2s), "equality of decimal arrays is incorrect, tc %d", tcIndex)
|
||||
s.Require().Equal(tc.eq, math.LegacyDecsEqual(tc.d2s, tc.d1s), "equality of decimal arrays is incorrect (converse), tc %d", tcIndex)
|
||||
}
|
||||
}
|
||||
|
||||
@ -227,7 +227,7 @@ func (s *decimalTestSuite) TestArithmetic() {
|
||||
expQuo, expQuoRoundUp, expQuoTruncate math.LegacyDec
|
||||
expAdd, expSub math.LegacyDec
|
||||
}{
|
||||
// d1 d2 MUL MulTruncate MulRoundUp QUO QUORoundUp QUOTrunctate ADD SUB
|
||||
// d1 d2 MUL MulTruncate MulRoundUp QUO QUORoundUp QUOTruncate ADD SUB
|
||||
{math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0)},
|
||||
{math.LegacyNewDec(1), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(1), math.LegacyNewDec(1)},
|
||||
{math.LegacyNewDec(0), math.LegacyNewDec(1), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(0), math.LegacyNewDec(1), math.LegacyNewDec(-1)},
|
||||
@ -1308,12 +1308,12 @@ func TestRoundIntLimits(t *testing.T) {
|
||||
func BenchmarkIsInValidRange(b *testing.B) {
|
||||
maxValid, ok := new(big.Int).SetString(maxValidDecNumber, 10)
|
||||
require.True(b, ok)
|
||||
souceMax := math.LegacyNewDecFromBigIntWithPrec(maxValid, 18)
|
||||
sourceMax := math.LegacyNewDecFromBigIntWithPrec(maxValid, 18)
|
||||
b.ResetTimer()
|
||||
specs := map[string]math.LegacyDec{
|
||||
"max": souceMax,
|
||||
"max": sourceMax,
|
||||
"greater max": math.LegacyNewDecFromBigIntWithPrec(maxValid, 16),
|
||||
"min": souceMax.Neg(),
|
||||
"min": sourceMax.Neg(),
|
||||
"lower min": math.LegacyNewDecFromBigIntWithPrec(new(big.Int).Neg(maxValid), 16),
|
||||
"zero": math.LegacyZeroDec(),
|
||||
"one": math.LegacyOneDec(),
|
||||
|
||||
@ -7,7 +7,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/authz";
|
||||
|
||||
// EventGrant is emitted on Msg/Grant
|
||||
message EventGrant {
|
||||
// Msg type URL for which an autorization is granted
|
||||
// Msg type URL for which an authorization is granted
|
||||
string msg_type_url = 2;
|
||||
// Granter account address
|
||||
string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
@ -17,7 +17,7 @@ message EventGrant {
|
||||
|
||||
// EventRevoke is emitted on Msg/Revoke
|
||||
message EventRevoke {
|
||||
// Msg type URL for which an autorization is revoked
|
||||
// Msg type URL for which an authorization is revoked
|
||||
string msg_type_url = 2;
|
||||
// Granter account address
|
||||
string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
|
||||
@ -16,7 +16,7 @@ message AppDescriptor {
|
||||
CodecDescriptor codec = 3;
|
||||
// configuration provides metadata information regarding the sdk.Config type
|
||||
ConfigurationDescriptor configuration = 4;
|
||||
// query_services provides metadata information regarding the available queriable endpoints
|
||||
// query_services provides metadata information regarding the available queryable endpoints
|
||||
QueryServicesDescriptor query_services = 5;
|
||||
// tx provides metadata information regarding how to send transactions to the given application
|
||||
TxDescriptor tx = 6;
|
||||
@ -61,7 +61,7 @@ message ChainDescriptor {
|
||||
|
||||
// CodecDescriptor describes the registered interfaces and provides metadata information on the types
|
||||
message CodecDescriptor {
|
||||
// interfaces is a list of the registerted interfaces descriptors
|
||||
// interfaces is a list of the registeed interfaces descriptors
|
||||
repeated InterfaceDescriptor interfaces = 1;
|
||||
}
|
||||
|
||||
@ -189,7 +189,7 @@ message GetTxDescriptorResponse {
|
||||
TxDescriptor tx = 1;
|
||||
}
|
||||
|
||||
// QueryServicesDescriptor contains the list of cosmos-sdk queriable services
|
||||
// QueryServicesDescriptor contains the list of cosmos-sdk queryable services
|
||||
message QueryServicesDescriptor {
|
||||
// query_services is a list of cosmos-sdk QueryServiceDescriptor
|
||||
repeated QueryServiceDescriptor query_services = 1;
|
||||
|
||||
@ -29,7 +29,7 @@ message MsgUpdateParams {
|
||||
|
||||
// params defines the x/consensus parameters to update.
|
||||
// VersionsParams is not included in this Msg because it is tracked
|
||||
// separarately in x/upgrade.
|
||||
// separately in x/upgrade.
|
||||
//
|
||||
// NOTE: All parameters must be supplied.
|
||||
cometbft.types.v2.BlockParams block = 2;
|
||||
|
||||
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
||||
option go_package = "github.com/cosmos/cosmos-sdk/crypto/types";
|
||||
|
||||
// MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
|
||||
// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
|
||||
// See cosmos.tx.v1beta1.ModeInfo.Multi for how to specify which signers
|
||||
// signed and with which modes.
|
||||
message MultiSignature {
|
||||
option (gogoproto.goproto_unrecognized) = true;
|
||||
|
||||
@ -11,7 +11,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant";
|
||||
// Query defines the gRPC querier service.
|
||||
service Query {
|
||||
|
||||
// Allowance returns granted allwance to the grantee by the granter.
|
||||
// Allowance returns granted allowance to the grantee by the granter.
|
||||
rpc Allowance(QueryAllowanceRequest) returns (QueryAllowanceResponse) {
|
||||
option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}";
|
||||
}
|
||||
|
||||
@ -89,7 +89,7 @@ message Proposal {
|
||||
// summary is a short summary of the proposal
|
||||
string summary = 12 [(cosmos_proto.field_added_in) = "cosmos-sdk 0.47"];
|
||||
|
||||
// proposer is the address of the proposal sumbitter
|
||||
// proposer is the address of the proposal submitter
|
||||
string proposer = 13
|
||||
[(cosmos_proto.scalar) = "cosmos.AddressString", (cosmos_proto.field_added_in) = "cosmos-sdk 0.47"];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user