-
Notifications
You must be signed in to change notification settings - Fork 296
Conversation
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
:( |
@@ -286,9 +286,9 @@ TEST_F(SimulatorTest, RightNumberOfFailedTxs) { | |||
.transactions(std::vector<shared_model::proto::Transaction>{tx}) | |||
.build()); | |||
auto tx_errors = iroha::validation::TransactionsErrors{ | |||
std::make_pair(validation::CommandError{"SomeCommand", "SomeError", true}, | |||
std::make_pair(validation::CommandError{"SomeCommand", 1, true}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add some number variable to avoid magic number here and upwards in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's covered in IR-1816 as well
"Transaction %s failed signatures validation with db error: %s", | ||
transaction.toString(), | ||
e.what()); | ||
// TODO [IR-1816] Akvinikym 29.10.18: substitute error code magic number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a suitable thing to do in that pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, it still needs to be a distinct PR with this task, and definitely not this one, as it's going to touch also PosgtresExecutor and QueryExecutor
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
Signed-off-by: Akvinikym <[email protected]>
… feature/stf-vld-err-codes
Description of the Change
Step II of introducing stateful validation error codes: now they are brought into StatefulValidator and TemporaryWSV.
Benefits
One more step to error codes.
Possible Drawbacks
None.