automation: Verify SON deregistration and SON vesting balance claim #249

Closed
opened 2022-01-17 10:40:01 +00:00 by pavel.baykov · 2 comments
pavel.baykov commented 2022-01-17 10:40:01 +00:00 (Migrated from gitlab.com)

Consider an existing active SON or create a new SON and vote it to make into active son list
Put the SON into in_maintenance mode. This can be done in following ways

  1. stopping the node running the SON
  2. If the newly created SON is among active sons list and is not configured on any node, it will be moved to in_maintenance mode automatically after 2 heartbeats
    Verify SON is moved to in_maintenance state

command: get_son <<son_account>>
Wait for 1 hour(son_deregister_time) from the time of SON moved to in_maintenance mode and then check son is deregisterd

get_son <<son_account>>
Check the vesting balances of the SON

get_vesting_balances <<son_account_name>>
Try withdrawing SON vesting balance using below command:

withdraw_vesting <<vesting_balance_id>> <> <>

Ex: >> withdraw_vesting 1.13.20 50 TEST true
Wait for 15 mins(son_vesting_period) from the time of deregistering the SON and then note down SON owner account's current balance and withdraw SON vesting balance
Verify
SON Owner's account balance
#NAME?

Consider an existing active SON or create a new SON and vote it to make into active son list Put the SON into in_maintenance mode. This can be done in following ways 1. stopping the node running the SON 2. If the newly created SON is among active sons list and is not configured on any node, it will be moved to in_maintenance mode automatically after 2 heartbeats Verify SON is moved to in_maintenance state command: get_son <<son_account>> Wait for 1 hour(son_deregister_time) from the time of SON moved to in_maintenance mode and then check son is deregisterd get_son <<son_account>> Check the vesting balances of the SON get_vesting_balances <<son_account_name>> Try withdrawing SON vesting balance using below command: withdraw_vesting <<vesting_balance_id>> <<amount>> <<asset>> Ex: >> withdraw_vesting 1.13.20 50 TEST true Wait for 15 mins(son_vesting_period) from the time of deregistering the SON and then note down SON owner account's current balance and withdraw SON vesting balance Verify SON Owner's account balance #NAME?
pavel.baykov commented 2022-01-17 10:40:01 +00:00 (Migrated from gitlab.com)

assigned to @pavel.baykov

assigned to @pavel.baykov
pavel.baykov commented 2022-01-21 09:19:07 +00:00 (Migrated from gitlab.com)

to test:
pytest -s -v test.py::test_Deregister

to test: pytest -s -v test.py::test_Deregister
serkixenos (Migrated from gitlab.com) closed this issue 2022-01-31 02:49:44 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#249
No description provided.