Skip to content

Commit

Permalink
Adds consensus cap config proto
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzaldysanchez committed Feb 4, 2025
1 parent aea9294 commit 9f29bca
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/capabilities/consensus/ocr3/types/generate.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
//go:generate protoc --go_out=../../../../ --go_opt=paths=source_relative --go-grpc_out=../../../../ --go-grpc_opt=paths=source_relative --proto_path=../../../../ capabilities/consensus/ocr3/types/ocr3_types.proto values/pb/values.proto
//go:generate protoc --go_out=../../../../ --go_opt=paths=source_relative --go-grpc_out=../../../../ --go-grpc_opt=paths=source_relative --proto_path=../../../../ capabilities/consensus/ocr3/types/ocr3_config_types.proto values/pb/values.proto
package types
194 changes: 194 additions & 0 deletions pkg/capabilities/consensus/ocr3/types/ocr3_config_types.pb.go

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

13 changes: 13 additions & 0 deletions pkg/capabilities/consensus/ocr3/types/ocr3_config_types.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
syntax = "proto3";

option go_package = "capabilities/consensus/ocr3/types";

package ocr3_config_types;

message ReportingPluginConfig {
uint32 maxQueryLengthBytes = 1;
uint32 maxObservationLengthBytes = 2;
uint32 maxReportLengthBytes = 3;
uint32 maxRequestBatchSize = 4;
bool uniqueReports = 6;
}

0 comments on commit 9f29bca

Please sign in to comment.