Skip to content

Commit

Permalink
[nspcc-dev#82] status: Add status code for wrong sidechain magic
Browse files Browse the repository at this point in the history
After the recent update of NeoFS V2 protocol all requests must carry
correct sidechain magic.

Add `WRONG_SIDECHAIN_MAGIC` code to `CommonFail` section.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
  • Loading branch information
Leonard Lyubich committed Jan 10, 2022
1 parent 9185bd9 commit 2376cc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions status/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,7 @@ enum CommonFail {
// If the server cannot match failed outcome to the code, it should
// use this code.
INTERNAL = 0;

// [**1025**] Wrong network magic of the NeoFS sidechain. Not detailed.
WRONG_SIDECHAIN_MAGIC = 1;
}

0 comments on commit 2376cc1

Please sign in to comment.