Skip to content

Commit

Permalink
Rename AppRequestFailed to AppError (#2321)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
  • Loading branch information
joshua-kim committed Nov 16, 2023
1 parent 3d0611c commit 6484de4
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 248 deletions.
8 changes: 4 additions & 4 deletions proto/p2p/p2p.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ message Message {
AppGossip app_gossip = 32;

PeerListAck peer_list_ack = 33;
AppRequestFailed app_request_failed = 34;
AppError app_error = 34;
}
}

Expand Down Expand Up @@ -387,7 +387,7 @@ message Chits {
// AppRequest is a VM-defined request.
//
// Remote peers must respond to AppRequest with a corresponding AppResponse or
// AppRequestFailed
// AppError
message AppRequest {
// Chain being requested from
bytes chain_id = 1;
Expand All @@ -409,8 +409,8 @@ message AppResponse {
bytes app_bytes = 3;
}

// AppRequestFailed is a VM-defined error sent in response to AppRequest
message AppRequestFailed {
// AppError is a VM-defined error sent in response to AppRequest
message AppError {
// Chain the message is for
bytes chain_id = 1;
// Request id of the original AppRequest
Expand Down

0 comments on commit 6484de4

Please sign in to comment.