From d9d71ccd662dd9681f0fab51e647ea4864510225 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 10 Jan 2022 15:42:41 +0300 Subject: [PATCH] [#82] status: Add status code for wrong network magic After the recent update of NeoFS V2 protocol all requests must carry correct network magic. Add `WRONG_MAGIC_NUMBER` code to `CommonFail` section. Signed-off-by: Leonard Lyubich --- status/types.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/status/types.proto b/status/types.proto index dbf7e19..d2c7f45 100644 --- a/status/types.proto +++ b/status/types.proto @@ -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 magic of the NeoFS network. Not detailed. + WRONG_MAGIC_NUMBER = 1; }