Skip to content

Commit

Permalink
chore: proto lint and error msg typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Aug 7, 2024
1 parent f784efe commit fb31389
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 59 deletions.
2 changes: 1 addition & 1 deletion proto/sedachain/pkr/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package sedachain.pkr.v1;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto";
import "cosmos/msg/v1/msg.proto";

option go_package = "github.com/sedaprotocol/seda-chain/x/pkr/types";

Expand All @@ -20,6 +19,7 @@ message ValidatorPubKeys {
repeated IndexPubKeyPair pub_keys = 2 [(gogoproto.nullable) = false];
}

// IndexPubKeyPair defines an index - public key pair.
message IndexPubKeyPair {
uint32 index = 1;
google.protobuf.Any pub_key = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"];
Expand Down
1 change: 0 additions & 1 deletion proto/sedachain/pkr/v1/query.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
syntax = "proto3";
package sedachain.pkr.v1;

import "google/protobuf/any.proto";
import "google/api/annotations.proto";
import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";
Expand Down
53 changes: 26 additions & 27 deletions x/pkr/types/genesis.pb.go

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

51 changes: 25 additions & 26 deletions x/pkr/types/query.pb.go

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

4 changes: 2 additions & 2 deletions x/tally/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ func (k Keeper) EndBlock(ctx sdk.Context) (err error) {
defer func() {
// Handle a panic.
if r := recover(); r != nil {
k.Logger(ctx).Error("recovered from panic in wasm-storage EndBlock", "err", r)
k.Logger(ctx).Error("recovered from panic in tally end block", "err", r)
}
// Handle an error.
if err != nil {
k.Logger(ctx).Error("error in wasm-storage EndBlock", "err", err)
k.Logger(ctx).Error("error in tally end block", "err", err)
}
err = nil
}()
Expand Down
6 changes: 4 additions & 2 deletions x/wasm-storage/types/tx.pb.go

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

0 comments on commit fb31389

Please sign in to comment.