Skip to content

Commit

Permalink
update results to report comp usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtinms committed Jan 25, 2024
1 parent 68e6d07 commit b38f5b7
Show file tree
Hide file tree
Showing 7 changed files with 327 additions and 219 deletions.
2 changes: 2 additions & 0 deletions protobuf/flow/execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ message ExecuteScriptAtBlockIDRequest {

message ExecuteScriptAtBlockIDResponse {
bytes value = 1;
uint64 computation_usage = 2;
}

// Events
Expand Down Expand Up @@ -143,6 +144,7 @@ message GetTransactionResultResponse {
string error_message = 2;
repeated entities.Event events = 3;
entities.EventEncodingVersion event_encoding_version = 4;
uint64 computation_usage = 5;
}

message GetTransactionsByBlockIDRequest {
Expand Down
160 changes: 97 additions & 63 deletions protobuf/go/flow/access/access_grpc.pb.go

Large diffs are not rendered by default.

158 changes: 88 additions & 70 deletions protobuf/go/flow/execution/execution.pb.go

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

Loading

0 comments on commit b38f5b7

Please sign in to comment.