Skip to content

Commit

Permalink
e.g of less human-readable string
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Nov 16, 2022
1 parent c861389 commit 64db167
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 153 deletions.
150 changes: 75 additions & 75 deletions api/cosmos/bank/v1beta1/bank.pulsar.go

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

10 changes: 4 additions & 6 deletions proto/cosmos/bank/v1beta1/bank.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";

// Params defines the parameters for the bank module.
message Params {
option (amino.name) = "cosmos-sdk/x/bank/Params";
option (gogoproto.goproto_stringer) = false;
option (amino.name) = "cosmos-sdk/x/bank/Params";
// Deprecated: Use of SendEnabled in params is deprecated.
// For genesis, use the newly added send_enabled field in the genesis object.
// Storage, lookup, and manipulation of this information is now in the keeper.
Expand All @@ -25,10 +24,9 @@ message Params {
// SendEnabled maps coin denom to a send_enabled status (whether a denom is
// sendable).
message SendEnabled {
option (gogoproto.equal) = true;
option (gogoproto.goproto_stringer) = false;
string denom = 1;
bool enabled = 2;
option (gogoproto.equal) = true;
string denom = 1;
bool enabled = 2;
}

// Input models transaction input.
Expand Down
2 changes: 0 additions & 2 deletions tests/e2e/authz/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ func (s *IntegrationTestSuite) TestQueryGranterGrantsGRPC() {
var authorizations authz.QueryGranterGrantsResponse
err := val.ClientCtx.Codec.UnmarshalJSON(resp, &authorizations)
require.NoError(err)
// FIXME: https://github.com/cosmos/cosmos-sdk/issues/10965
require.Len(authorizations.Grants, tc.numItems)
}
})
Expand Down Expand Up @@ -263,7 +262,6 @@ func (s *IntegrationTestSuite) TestQueryGranteeGrantsGRPC() {
var authorizations authz.QueryGranteeGrantsResponse
err := val.ClientCtx.Codec.UnmarshalJSON(resp, &authorizations)
require.NoError(err)
// FIXME: https://github.com/cosmos/cosmos-sdk/issues/10965
require.Len(authorizations.Grants, tc.numItems)
}
})
Expand Down
Loading

0 comments on commit 64db167

Please sign in to comment.