Skip to content

Commit

Permalink
Update error_code to be int32 instead of uint32. (#2322)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
  • Loading branch information
joshua-kim and StephenButtolph authored Nov 16, 2023
1 parent 348f842 commit f1ec30c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions proto/p2p/p2p.proto
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ message AppError {
bytes chain_id = 1;
// Request id of the original AppRequest
uint32 request_id = 2;
// VM defined error code
uint32 error_code = 3;
// VM defined error code. VMs may define error codes > 0.
sint32 error_code = 3;
// VM defined error message
string error_message = 4;
}
Expand Down
8 changes: 4 additions & 4 deletions proto/pb/p2p/p2p.pb.go

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

0 comments on commit f1ec30c

Please sign in to comment.