Tests - operation in Hive - witness update operation
Operation: witness_update_operation, // 11
1. Test case - A user wants to become a witness.
-
1.1 A user creates an operation witness_update_operation and fills in all required fields.
Expected results:
- The witness is created.
- The RC is paid.
2. Test case - A user doesn't want to be a witness.
Preconditions:
- A user is a witness.
-
2.1 A user creates an operation witness_update_operation and leaves the field block_signing_key
empty.
Expected results:
- A user is not witness any more.
- The RC is paid.
3. Test case - A user wants to update properties.
Preconditions:
- A user is a witness.
-
3.1 A user creates an operation witness_update_operation and changes maximum_block_size
. -
3.2 A user creates an operation witness_update_operation and changes hbd_interest_rate
. -
3.3 A user creates an operation witness_update_operation and changes block_signing_key
. -
3.4 A user creates an operation witness_update_operation and changes url
. -
3.5 A user creates an operation witness_update_operation and changes everything.
Expected results:
- The property (properties) is updated.
- The RC is paid.
Edited by Aleksandra Grabowska