Tests - operation in Hive - witness_block_approve_operation
Operation: witness_block_approve_operation, // 16
Test cases (negative)
Preconditions:
- There are users A and B.
- User A is not a witness, user B is a witness.
- Users have enough RC.
Test cases
-
1.1 User A (who is not a witness) tries to sign the operation. -
1.2 User B (witness) tries to sign the operation using active (not witness) authority.
Expected results:
- An error occurs - the operation is not added to the blockchain.
- The RC cost is not paid.