Skip to content

Commit

Permalink
fix proto name
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Sep 12, 2023
1 parent 07b8295 commit cc485c4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions go/common/rpc/converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func ToExtRollupMsg(rollup *common.ExtRollup) generated.ExtRollupMsg {
return generated.ExtRollupMsg{}
}

return generated.ExtRollupMsg{Header: ToRollupHeaderMsg(rollup.Header), BatchPayloads: rollup.BatchPayloads, BatchHeaders: rollup.CalldataRollupHeader}
return generated.ExtRollupMsg{Header: ToRollupHeaderMsg(rollup.Header), BatchPayloads: rollup.BatchPayloads, CalldataRollupHeader: rollup.CalldataRollupHeader}
}

func ToRollupHeaderMsg(header *common.RollupHeader) *generated.RollupHeaderMsg {
Expand Down Expand Up @@ -238,7 +238,7 @@ func FromExtRollupMsg(msg *generated.ExtRollupMsg) *common.ExtRollup {
return &common.ExtRollup{
Header: FromRollupHeaderMsg(msg.Header),
BatchPayloads: msg.BatchPayloads,
CalldataRollupHeader: msg.BatchHeaders,
CalldataRollupHeader: msg.CalldataRollupHeader,
}
}

Expand Down
21 changes: 11 additions & 10 deletions go/common/rpc/generated/enclave.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 go/common/rpc/generated/enclave.proto
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ message BatchHeaderMsg {
message ExtRollupMsg {
RollupHeaderMsg header = 1;
bytes batchPayloads = 2;
bytes batchHeaders = 3;
bytes calldataRollupHeader = 3;
}

message RollupHeaderMsg {
Expand Down
2 changes: 1 addition & 1 deletion go/common/rpc/generated/enclave_grpc.pb.go

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

0 comments on commit cc485c4

Please sign in to comment.