Skip to content

Commit

Permalink
proto: run buf format
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Jan 1, 2024
1 parent 64c170c commit e10e07d
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 42 deletions.
Binary file modified crates/proto/src/gen/proto_descriptor.bin.no_lfs
Binary file not shown.

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

58 changes: 29 additions & 29 deletions proto/go/gen/penumbra/core/transaction/v1alpha1/transaction.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 proto/penumbra/penumbra/cnidarium/v1alpha1/cnidarium.proto
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ message WatchResponse {
KeyValue kv = 5;
NvKeyValue nv_kv = 6;
}
}
}
8 changes: 3 additions & 5 deletions proto/penumbra/penumbra/core/component/sct/v1alpha1/sct.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "penumbra/crypto/tct/v1alpha1/tct.proto";
// decide whether or not to download block data.
message CommitmentSource {
// The state commitment was included in the genesis state.
message Genesis { }
message Genesis {}
// The commitment was created by a transaction.
//
// When included in a `CompactBlock` via a `StatePayload`, the transaction source is "dehydrated"
Expand All @@ -28,7 +28,7 @@ message CommitmentSource {
uint64 epoch_index = 1;
}
// The commitment was created through a `CommunityPoolOutput` in a governance-initated transaction.
message CommunityPoolOutput { }
message CommunityPoolOutput {}
// The commitment was created by an inbound ICS20 transfer.
message Ics20Transfer {
// The sequence number of the packet that triggered the transfer
Expand Down Expand Up @@ -83,6 +83,4 @@ message EventBlockRoot {
}

// Query operations for the SCT component.
service QueryService {
}

service QueryService {}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ syntax = "proto3";
package penumbra.core.component.shielded_pool.v1alpha1;

import "penumbra/core/asset/v1alpha1/asset.proto";
import "penumbra/core/component/sct/v1alpha1/sct.proto";
import "penumbra/core/keys/v1alpha1/keys.proto";
import "penumbra/core/num/v1alpha1/num.proto";
import "penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto";
import "penumbra/crypto/tct/v1alpha1/tct.proto";
import "penumbra/core/component/sct/v1alpha1/sct.proto";

message Note {
asset.v1alpha1.Value value = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ syntax = "proto3";
package penumbra.core.transaction.v1alpha1;

import "penumbra/core/asset/v1alpha1/asset.proto";
import "penumbra/core/txhash/v1alpha1/txhash.proto";
import "penumbra/core/component/dex/v1alpha1/dex.proto";
import "penumbra/core/component/fee/v1alpha1/fee.proto";
import "penumbra/core/component/governance/v1alpha1/governance.proto";
Expand All @@ -11,6 +10,7 @@ import "penumbra/core/component/sct/v1alpha1/sct.proto";
import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto";
import "penumbra/core/component/stake/v1alpha1/stake.proto";
import "penumbra/core/keys/v1alpha1/keys.proto";
import "penumbra/core/txhash/v1alpha1/txhash.proto";
import "penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto";
import "penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto";
import "penumbra/crypto/tct/v1alpha1/tct.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/penumbra/penumbra/core/txhash/v1alpha1/txhash.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ message EffectHash {
// This is the hash of the plain byte encoding, used by Tendermint.
message TransactionId {
bytes inner = 1;
}
}

0 comments on commit e10e07d

Please sign in to comment.