Update Hive's son-account owner authority on primary wallet update #495

Closed
opened 2022-12-16 03:33:40 +00:00 by serkixenos · 25 comments
serkixenos commented 2022-12-16 03:33:40 +00:00 (Migrated from gitlab.com)

Currently, when set of active SONs change, we update Hive's son-account active authority to a list of active SONs.
We need to extend, and also update owner authority.

Currently, when set of active SONs change, we update Hive's son-account active authority to a list of active SONs. We need to extend, and also update owner authority.
serkixenos commented 2022-12-16 03:33:40 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
serkixenos commented 2022-12-16 03:34:21 +00:00 (Migrated from gitlab.com)
Related MR https://gitlab.com/PBSA/peerplays/-/merge_requests/192
serkixenos commented 2022-12-16 03:48:40 +00:00 (Migrated from gitlab.com)

Test steps:

  • Get the latest code for QA environment, built it and start it as described in a README file

  • After Hive initialization, checkout the son-account. Verify that the output looks similar to this

unlocked >>> get_account son-account
get_account son-account
{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL",
        99
      ]
    ]
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4",
        99
      ]
    ]
  },
...

Note son owners account names in the account_auths fields, for both owner and active authority.
Note the public keys in key_auths fields, for both owner and active authority.

  • Initialize peerplays node, and wait for maintenance block. Make sure that primary wallet transaction for hive is processed. Checkout Hive's son-account again. Verify that the output looks similar to this
unlocked >>> get_account son-account
get_account son-account
{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": []
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": []
  },
...

Note son owners account names in the account_auths fields, for both owner and active authority.
Verify that public keys previously present in key_auths fields, are not present anymore. key_auth fields for both owner and active authority should be empty.

  • Do some SON voting on Peerplays node, eg
vote_for_son sonaccount01 sonaccount06 hive true true 
vote_for_son sonaccount02 sonaccount07 hive true true 
vote_for_son sonaccount03 sonaccount08 hive true true 

Wait for maintenance block. Make sure that primary wallet transaction for hive is processed. Checkout Hive's son-account again. Verify that the output looks similar to this

unlocked >>> get_account son-account
get_account son-account
{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount06",
        1
      ],[
        "sonaccount07",
        1
      ],[
        "sonaccount08",
        1
      ]
    ],
    "key_auths": []
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount06",
        1
      ],[
        "sonaccount07",
        1
      ],[
        "sonaccount08",
        1
      ]
    ],
    "key_auths": []
  },
...

Verify that the names in account_auth fields are changed. Verify that key_auth fields are empty. Verify that owner and active authority are exactly the same.

Test steps: - Get the latest code for QA environment, built it and start it as described in a README file - After Hive initialization, checkout the son-account. Verify that the output looks similar to this ``` unlocked >>> get_account son-account get_account son-account { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL", 99 ] ] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4", 99 ] ] }, ... ``` Note son owners account names in the account_auths fields, for both owner and active authority. Note the public keys in key_auths fields, for both owner and active authority. - Initialize peerplays node, and wait for maintenance block. Make sure that primary wallet transaction for hive is processed. Checkout Hive's son-account again. Verify that the output looks similar to this ``` unlocked >>> get_account son-account get_account son-account { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [] }, ... ``` Note son owners account names in the account_auths fields, for both owner and active authority. Verify that public keys previously present in key_auths fields, are not present anymore. key_auth fields for both owner and active authority should be empty. - Do some SON voting on Peerplays node, eg ``` vote_for_son sonaccount01 sonaccount06 hive true true vote_for_son sonaccount02 sonaccount07 hive true true vote_for_son sonaccount03 sonaccount08 hive true true ``` Wait for maintenance block. Make sure that primary wallet transaction for hive is processed. Checkout Hive's son-account again. Verify that the output looks similar to this ``` unlocked >>> get_account son-account get_account son-account { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount06", 1 ],[ "sonaccount07", 1 ],[ "sonaccount08", 1 ] ], "key_auths": [] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount06", 1 ],[ "sonaccount07", 1 ],[ "sonaccount08", 1 ] ], "key_auths": [] }, ... ``` Verify that the names in account_auth fields are changed. Verify that key_auth fields are empty. Verify that owner and active authority are exactly the same.
serkixenos commented 2022-12-16 03:49:08 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
wsalloum commented 2022-12-19 21:31:53 +00:00 (Migrated from gitlab.com)
  • Before peerplays initialization:
unlocked >>> get_account son-account
get_account son-account
{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL",
        99
      ]
    ]
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4",
        99
      ]
    ]
  },
  "posting": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [[
        "TST6aEkVuFwiZB8Fz3fDSH5pLuJxmMHbnVW8t6wc2oGMkjsFRTyVx",
        1
      ]
    ]
  },
  "memo_key": "TST8Awh2THVMy44jS4daKQmVSeTHjW66Zey87wyZCiTx8NrTd2KLr",
  "json_metadata": "",
  "posting_json_metadata": "",
  "proxy": "",
  "previous_owner_update": "1970-01-01T00:00:00",
  "last_owner_update": "2022-12-19T19:49:57",
  "last_account_update": "2022-12-19T19:50:00",
  "created": "2022-12-19T19:43:33",
  "mined": false,
  "recovery_account": "initminer",
  "last_account_recovery": "1970-01-01T00:00:00",
  "reset_account": "null",
  "comment_count": 0,
  "lifetime_vote_count": 0,
  "post_count": 0,
  "can_vote": true,
  "voting_manabar": {
    "current_mana": "25144197036",
    "last_update_time": 1671479310
  },
  "downvote_manabar": {
    "current_mana": "6286049259",
    "last_update_time": 1671479310
  },
  "balance": "4000000.000 TESTS",
  "savings_balance": "0.000 TESTS",
  "hbd_balance": "200000.000 TBD",
  "hbd_seconds": "0",
  "hbd_seconds_last_update": "1970-01-01T00:00:00",
  "hbd_last_interest_payment": "1970-01-01T00:00:00",
  "savings_hbd_balance": "0.000 TBD",
  "savings_hbd_seconds": "0",
  "savings_hbd_seconds_last_update": "1970-01-01T00:00:00",
  "savings_hbd_last_interest_payment": "1970-01-01T00:00:00",
  "savings_withdraw_requests": 0,
  "reward_hbd_balance": "0.000 TBD",
  "reward_hive_balance": "0.000 TESTS",
  "reward_vesting_balance": "0.000000 VESTS",
  "reward_vesting_hive": "0.000 TESTS",
  "vesting_shares": "25144.197036 VESTS",
  "delegated_vesting_shares": "0.000000 VESTS",
  "received_vesting_shares": "0.000000 VESTS",
  "vesting_withdraw_rate": "0.000000 VESTS",
  "post_voting_power": "25144.197036 VESTS",
  "next_vesting_withdrawal": "1969-12-31T23:59:59",
  "withdrawn": 0,
  "to_withdraw": 0,
  "withdraw_routes": 0,
  "pending_transfers": 0,
  "curation_rewards": 0,
  "posting_rewards": 0,
  "proxied_vsf_votes": [
    0,
    0,
    0,
    0
  ],
  "witnesses_voted_for": 0,
  "last_post": "1970-01-01T00:00:00",
  "last_root_post": "1970-01-01T00:00:00",
  "last_post_edit": "1970-01-01T00:00:00",
  "last_vote_time": "1970-01-01T00:00:00",
  "post_bandwidth": 0,
  "pending_claimed_accounts": 0,
  "open_recurrent_transfers": 0,
  "is_smt": false,
  "delayed_votes": [{
      "time": "2022-12-19T19:48:30",
      "val": "25144197036"
    }
  ],
  "governance_vote_expiration_ts": "1969-12-31T23:59:59"
}

  • After peerplay initialization and waiting for the next maintenance time :
{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL",
        99
      ]
    ]
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4",
        99
      ]
    ]
  },
  "posting": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [[
        "TST6aEkVuFwiZB8Fz3fDSH5pLuJxmMHbnVW8t6wc2oGMkjsFRTyVx",
        1
      ]
    ]
  },
  "memo_key": "TST8Awh2THVMy44jS4daKQmVSeTHjW66Zey87wyZCiTx8NrTd2KLr",
  "json_metadata": "",
  "posting_json_metadata": "",
  "proxy": "",
  "previous_owner_update": "1970-01-01T00:00:00",
  "last_owner_update": "2022-12-19T19:49:57",
  "last_account_update": "2022-12-19T19:50:00",
  "created": "2022-12-19T19:43:33",
  "mined": false,
  "recovery_account": "initminer",
  "last_account_recovery": "1970-01-01T00:00:00",
  "reset_account": "null",
  "comment_count": 0,
  "lifetime_vote_count": 0,
  "post_count": 0,
  "can_vote": true,
  "voting_manabar": {
    "current_mana": "25144197036",
    "last_update_time": 1671479310
  },
  "downvote_manabar": {
    "current_mana": "6286049259",
    "last_update_time": 1671479310
  },
  "balance": "4000000.000 TESTS",
  "savings_balance": "0.000 TESTS",
  "hbd_balance": "200000.000 TBD",
  "hbd_seconds": "0",
  "hbd_seconds_last_update": "1970-01-01T00:00:00",
  "hbd_last_interest_payment": "1970-01-01T00:00:00",
  "savings_hbd_balance": "0.000 TBD",
  "savings_hbd_seconds": "0",
  "savings_hbd_seconds_last_update": "1970-01-01T00:00:00",
  "savings_hbd_last_interest_payment": "1970-01-01T00:00:00",
  "savings_withdraw_requests": 0,
  "reward_hbd_balance": "0.000 TBD",
  "reward_hive_balance": "0.000 TESTS",
  "reward_vesting_balance": "0.000000 VESTS",
  "reward_vesting_hive": "0.000 TESTS",
  "vesting_shares": "25144.197036 VESTS",
  "delegated_vesting_shares": "0.000000 VESTS",
  "received_vesting_shares": "0.000000 VESTS",
  "vesting_withdraw_rate": "0.000000 VESTS",
  "post_voting_power": "25144.197036 VESTS",
  "next_vesting_withdrawal": "1969-12-31T23:59:59",
  "withdrawn": 0,
  "to_withdraw": 0,
  "withdraw_routes": 0,
  "pending_transfers": 0,
  "curation_rewards": 0,
  "posting_rewards": 0,
  "proxied_vsf_votes": [
    0,
    0,
    0,
    0
  ],
  "witnesses_voted_for": 0,
  "last_post": "1970-01-01T00:00:00",
  "last_root_post": "1970-01-01T00:00:00",
  "last_post_edit": "1970-01-01T00:00:00",
  "last_vote_time": "1970-01-01T00:00:00",
  "post_bandwidth": 0,
  "pending_claimed_accounts": 0,
  "open_recurrent_transfers": 0,
  "is_smt": false,
  "delayed_votes": [{
      "time": "2022-12-19T19:48:30",
      "val": "25144197036"
    }
  ],
  "governance_vote_expiration_ts": "1969-12-31T23:59:59"
}

The key_auths for active and owners is not empty

I found an exception in the log, not sure if this is related

peerplays-all-in-one_1            | 30538ms th_�       db_block.cpp:472              push_proposal        ] e: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"sidechain_transaction_evaluator.cpp","line":150,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status","data":{}},{"context":{"level":"warn","file":"sidechain_transaction_evaluator.cpp","line":153,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":928,"method":"apply_operation","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}}]} 
peerplays-all-in-one_1            | 30538ms th_�       proposal_evaluator.cpp:431    do_apply             ] Proposed transaction 1.10.9 failed to apply once approved with exception:
peerplays-all-in-one_1            | ----
peerplays-all-in-one_1            | 10 assert_exception: Assert Exception
peerplays-all-in-one_1            | sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status
peerplays-all-in-one_1            |     {}
peerplays-all-in-one_1            |     th_�  sidechain_transaction_evaluator.cpp:150 do_evaluate
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}
peerplays-all-in-one_1            |     th_�  sidechain_transaction_evaluator.cpp:153 do_evaluate
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {}
peerplays-all-in-one_1            |     th_�  evaluator.cpp:51 start_evaluate
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}
peerplays-all-in-one_1            |     th_�  db_block.cpp:928 apply_operation
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {}
peerplays-all-in-one_1            |     th_�  db_block.cpp:478 push_proposal
peerplays-all-in-one_1            | ----
peerplays-all-in-one_1            | Will try again when it expires.
peerplays-all-in-one_1            | 30539ms th_�       sidechain_net_handler_ethereum.cpp:188 process_proposal     ] Proposal to process: 1.10.9, SON id 1.33.5
peerplays-all-in-one_1            | 30540ms th_�       db_block.cpp:472              push_proposal        ] e: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"sidechain_transaction_evaluator.cpp","line":150,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status","data":{}},{"context":{"level":"warn","file":"sidechain_transaction_evaluator.cpp","line":153,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":928,"method":"apply_operation","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}}]} 
peerplays-all-in-one_1            | 30540ms th_�       proposal_evaluator.cpp:431    do_apply             ] Proposed transaction 1.10.9 failed to apply once approved with exception:
peerplays-all-in-one_1            | ----
peerplays-all-in-one_1            | 10 assert_exception: Assert Exception
peerplays-all-in-one_1            | sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status
peerplays-all-in-one_1            |     {}
peerplays-all-in-one_1            |     th_�  sidechain_transaction_evaluator.cpp:150 do_evaluate
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}
peerplays-all-in-one_1            |     th_�  sidechain_transaction_evaluator.cpp:153 do_evaluate
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {}
peerplays-all-in-one_1            |     th_�  evaluator.cpp:51 start_evaluate
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}
peerplays-all-in-one_1            |     th_�  db_block.cpp:928 apply_operation
peerplays-all-in-one_1            | 
peerplays-all-in-one_1            |     {}
peerplays-all-in-one_1            |     th_�  db_block.cpp:478 push_proposal
peerplays-all-in-one_1            | ----
peerplays-all-in-one_1            | Will try again when it expires.
peerplays-all-in-one_1            | 30541ms th_�       sidechain_net_handler_ethereum.cpp:188 process_proposal     ] Proposal to process: 1.10.9, SON id 1.33.6
peerplays-all-in-one_1            | 30542ms th_�       db_block.cpp:472              push_proposal        ] e: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"sidechain_transaction_evaluator.cpp","line":150,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status","data":{}},{"context":{"level":"warn","file":"sidechain_transaction_evaluator.cpp","line":153,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":928,"method":"apply_operation","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}}]} 
peerplays-all-in-one_1            | 30543ms th_�       proposal_evaluator.cpp:431    do_apply             ] Proposed transaction 1.10.9 failed to apply once approved with exception:
peerplays-all-in-one_1            | ----
- Before peerplays initialization: ``` unlocked >>> get_account son-account get_account son-account { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL", 99 ] ] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4", 99 ] ] }, "posting": { "weight_threshold": 1, "account_auths": [], "key_auths": [[ "TST6aEkVuFwiZB8Fz3fDSH5pLuJxmMHbnVW8t6wc2oGMkjsFRTyVx", 1 ] ] }, "memo_key": "TST8Awh2THVMy44jS4daKQmVSeTHjW66Zey87wyZCiTx8NrTd2KLr", "json_metadata": "", "posting_json_metadata": "", "proxy": "", "previous_owner_update": "1970-01-01T00:00:00", "last_owner_update": "2022-12-19T19:49:57", "last_account_update": "2022-12-19T19:50:00", "created": "2022-12-19T19:43:33", "mined": false, "recovery_account": "initminer", "last_account_recovery": "1970-01-01T00:00:00", "reset_account": "null", "comment_count": 0, "lifetime_vote_count": 0, "post_count": 0, "can_vote": true, "voting_manabar": { "current_mana": "25144197036", "last_update_time": 1671479310 }, "downvote_manabar": { "current_mana": "6286049259", "last_update_time": 1671479310 }, "balance": "4000000.000 TESTS", "savings_balance": "0.000 TESTS", "hbd_balance": "200000.000 TBD", "hbd_seconds": "0", "hbd_seconds_last_update": "1970-01-01T00:00:00", "hbd_last_interest_payment": "1970-01-01T00:00:00", "savings_hbd_balance": "0.000 TBD", "savings_hbd_seconds": "0", "savings_hbd_seconds_last_update": "1970-01-01T00:00:00", "savings_hbd_last_interest_payment": "1970-01-01T00:00:00", "savings_withdraw_requests": 0, "reward_hbd_balance": "0.000 TBD", "reward_hive_balance": "0.000 TESTS", "reward_vesting_balance": "0.000000 VESTS", "reward_vesting_hive": "0.000 TESTS", "vesting_shares": "25144.197036 VESTS", "delegated_vesting_shares": "0.000000 VESTS", "received_vesting_shares": "0.000000 VESTS", "vesting_withdraw_rate": "0.000000 VESTS", "post_voting_power": "25144.197036 VESTS", "next_vesting_withdrawal": "1969-12-31T23:59:59", "withdrawn": 0, "to_withdraw": 0, "withdraw_routes": 0, "pending_transfers": 0, "curation_rewards": 0, "posting_rewards": 0, "proxied_vsf_votes": [ 0, 0, 0, 0 ], "witnesses_voted_for": 0, "last_post": "1970-01-01T00:00:00", "last_root_post": "1970-01-01T00:00:00", "last_post_edit": "1970-01-01T00:00:00", "last_vote_time": "1970-01-01T00:00:00", "post_bandwidth": 0, "pending_claimed_accounts": 0, "open_recurrent_transfers": 0, "is_smt": false, "delayed_votes": [{ "time": "2022-12-19T19:48:30", "val": "25144197036" } ], "governance_vote_expiration_ts": "1969-12-31T23:59:59" } ``` - After peerplay initialization and waiting for the next maintenance time : ``` { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL", 99 ] ] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4", 99 ] ] }, "posting": { "weight_threshold": 1, "account_auths": [], "key_auths": [[ "TST6aEkVuFwiZB8Fz3fDSH5pLuJxmMHbnVW8t6wc2oGMkjsFRTyVx", 1 ] ] }, "memo_key": "TST8Awh2THVMy44jS4daKQmVSeTHjW66Zey87wyZCiTx8NrTd2KLr", "json_metadata": "", "posting_json_metadata": "", "proxy": "", "previous_owner_update": "1970-01-01T00:00:00", "last_owner_update": "2022-12-19T19:49:57", "last_account_update": "2022-12-19T19:50:00", "created": "2022-12-19T19:43:33", "mined": false, "recovery_account": "initminer", "last_account_recovery": "1970-01-01T00:00:00", "reset_account": "null", "comment_count": 0, "lifetime_vote_count": 0, "post_count": 0, "can_vote": true, "voting_manabar": { "current_mana": "25144197036", "last_update_time": 1671479310 }, "downvote_manabar": { "current_mana": "6286049259", "last_update_time": 1671479310 }, "balance": "4000000.000 TESTS", "savings_balance": "0.000 TESTS", "hbd_balance": "200000.000 TBD", "hbd_seconds": "0", "hbd_seconds_last_update": "1970-01-01T00:00:00", "hbd_last_interest_payment": "1970-01-01T00:00:00", "savings_hbd_balance": "0.000 TBD", "savings_hbd_seconds": "0", "savings_hbd_seconds_last_update": "1970-01-01T00:00:00", "savings_hbd_last_interest_payment": "1970-01-01T00:00:00", "savings_withdraw_requests": 0, "reward_hbd_balance": "0.000 TBD", "reward_hive_balance": "0.000 TESTS", "reward_vesting_balance": "0.000000 VESTS", "reward_vesting_hive": "0.000 TESTS", "vesting_shares": "25144.197036 VESTS", "delegated_vesting_shares": "0.000000 VESTS", "received_vesting_shares": "0.000000 VESTS", "vesting_withdraw_rate": "0.000000 VESTS", "post_voting_power": "25144.197036 VESTS", "next_vesting_withdrawal": "1969-12-31T23:59:59", "withdrawn": 0, "to_withdraw": 0, "withdraw_routes": 0, "pending_transfers": 0, "curation_rewards": 0, "posting_rewards": 0, "proxied_vsf_votes": [ 0, 0, 0, 0 ], "witnesses_voted_for": 0, "last_post": "1970-01-01T00:00:00", "last_root_post": "1970-01-01T00:00:00", "last_post_edit": "1970-01-01T00:00:00", "last_vote_time": "1970-01-01T00:00:00", "post_bandwidth": 0, "pending_claimed_accounts": 0, "open_recurrent_transfers": 0, "is_smt": false, "delayed_votes": [{ "time": "2022-12-19T19:48:30", "val": "25144197036" } ], "governance_vote_expiration_ts": "1969-12-31T23:59:59" } ``` The key_auths for active and owners is not empty I found an exception in the log, not sure if this is related ``` peerplays-all-in-one_1 | 30538ms th_� db_block.cpp:472 push_proposal ] e: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"sidechain_transaction_evaluator.cpp","line":150,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status","data":{}},{"context":{"level":"warn","file":"sidechain_transaction_evaluator.cpp","line":153,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":928,"method":"apply_operation","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}}]} peerplays-all-in-one_1 | 30538ms th_� proposal_evaluator.cpp:431 do_apply ] Proposed transaction 1.10.9 failed to apply once approved with exception: peerplays-all-in-one_1 | ---- peerplays-all-in-one_1 | 10 assert_exception: Assert Exception peerplays-all-in-one_1 | sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status peerplays-all-in-one_1 | {} peerplays-all-in-one_1 | th_� sidechain_transaction_evaluator.cpp:150 do_evaluate peerplays-all-in-one_1 | peerplays-all-in-one_1 | {"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}} peerplays-all-in-one_1 | th_� sidechain_transaction_evaluator.cpp:153 do_evaluate peerplays-all-in-one_1 | peerplays-all-in-one_1 | {} peerplays-all-in-one_1 | th_� evaluator.cpp:51 start_evaluate peerplays-all-in-one_1 | peerplays-all-in-one_1 | {"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]} peerplays-all-in-one_1 | th_� db_block.cpp:928 apply_operation peerplays-all-in-one_1 | peerplays-all-in-one_1 | {} peerplays-all-in-one_1 | th_� db_block.cpp:478 push_proposal peerplays-all-in-one_1 | ---- peerplays-all-in-one_1 | Will try again when it expires. peerplays-all-in-one_1 | 30539ms th_� sidechain_net_handler_ethereum.cpp:188 process_proposal ] Proposal to process: 1.10.9, SON id 1.33.5 peerplays-all-in-one_1 | 30540ms th_� db_block.cpp:472 push_proposal ] e: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"sidechain_transaction_evaluator.cpp","line":150,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status","data":{}},{"context":{"level":"warn","file":"sidechain_transaction_evaluator.cpp","line":153,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":928,"method":"apply_operation","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}}]} peerplays-all-in-one_1 | 30540ms th_� proposal_evaluator.cpp:431 do_apply ] Proposed transaction 1.10.9 failed to apply once approved with exception: peerplays-all-in-one_1 | ---- peerplays-all-in-one_1 | 10 assert_exception: Assert Exception peerplays-all-in-one_1 | sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status peerplays-all-in-one_1 | {} peerplays-all-in-one_1 | th_� sidechain_transaction_evaluator.cpp:150 do_evaluate peerplays-all-in-one_1 | peerplays-all-in-one_1 | {"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}} peerplays-all-in-one_1 | th_� sidechain_transaction_evaluator.cpp:153 do_evaluate peerplays-all-in-one_1 | peerplays-all-in-one_1 | {} peerplays-all-in-one_1 | th_� evaluator.cpp:51 start_evaluate peerplays-all-in-one_1 | peerplays-all-in-one_1 | {"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]} peerplays-all-in-one_1 | th_� db_block.cpp:928 apply_operation peerplays-all-in-one_1 | peerplays-all-in-one_1 | {} peerplays-all-in-one_1 | th_� db_block.cpp:478 push_proposal peerplays-all-in-one_1 | ---- peerplays-all-in-one_1 | Will try again when it expires. peerplays-all-in-one_1 | 30541ms th_� sidechain_net_handler_ethereum.cpp:188 process_proposal ] Proposal to process: 1.10.9, SON id 1.33.6 peerplays-all-in-one_1 | 30542ms th_� db_block.cpp:472 push_proposal ] e: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"sidechain_transaction_evaluator.cpp","line":150,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"sto_obj->status == sidechain_transaction_status::sent: Invalid transaction status","data":{}},{"context":{"level":"warn","file":"sidechain_transaction_evaluator.cpp","line":153,"method":"do_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":928,"method":"apply_operation","hostname":"","thread_name":"th_�","timestamp":"2022-12-19T20:00:30"},"format":"","data":{"op":[119,{"fee":{"amount":0,"asset_id":"1.3.0"},"payer":"1.2.19","sidechain_transaction_id":"1.39.0"}]}}]} peerplays-all-in-one_1 | 30543ms th_� proposal_evaluator.cpp:431 do_apply ] Proposed transaction 1.10.9 failed to apply once approved with exception: peerplays-all-in-one_1 | ---- ```
serkixenos commented 2022-12-28 07:48:22 +00:00 (Migrated from gitlab.com)

@wsalloum Please retest this ticket

@wsalloum Please retest this ticket
wsalloum commented 2022-12-29 13:09:05 +00:00 (Migrated from gitlab.com)

It is still the same,after peerplays init :

{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL",
        99
      ]
    ]
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4",
        99
      ]
    ]
  },

It is still the same,after peerplays init : ``` { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL", 99 ] ] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4", 99 ] ] }, ```
wsalloum commented 2023-01-25 15:08:07 +00:00 (Migrated from gitlab.com)

Still the same issue:

{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL",
        99
      ]
    ]
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount03",
        1
      ],[
        "sonaccount04",
        1
      ],[
        "sonaccount05",
        1
      ]
    ],
    "key_auths": [[
        "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4",
        99
      ]
    ]
  },
  "posting": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [[
        "TST6aEkVuFwiZB8Fz3fDSH5pLuJxmMHbnVW8t6wc2oGMkjsFRTyVx",
        1
      ]
    ]
  },

Still the same issue: ``` { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST8kLKo9seYaJvuQSdwFd2YAi29VRdCVeLgd3E8A7PUFaKosYRGL", 99 ] ] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount03", 1 ],[ "sonaccount04", 1 ],[ "sonaccount05", 1 ] ], "key_auths": [[ "TST6wibhLBtEz6tmYhWu3aQh9PMCfqbdqozs7fbSc7ESottim7QB4", 99 ] ] }, "posting": { "weight_threshold": 1, "account_auths": [], "key_auths": [[ "TST6aEkVuFwiZB8Fz3fDSH5pLuJxmMHbnVW8t6wc2oGMkjsFRTyVx", 1 ] ] }, ```
prandnum commented 2023-02-01 20:19:34 +00:00 (Migrated from gitlab.com)

Retested with it with local build(docker image in repository doesnt have latest code)

Issue Seen: The son accounts on peerplays network are only getting updated and the ones on hive still remains the same.
Attaching details: 495.txt

@serkixenos

Retested with it with local build(docker image in repository doesnt have latest code) Issue Seen: The son accounts on peerplays network are only getting updated and the ones on hive still remains the same. Attaching details: [495.txt](/uploads/3e85a141ceea6d6275a95b4f6dd8a229/495.txt) @serkixenos
serkixenos commented 2023-02-17 02:03:20 +00:00 (Migrated from gitlab.com)

Confirmed... Update on init-network script will execute. Update on primary wallet update, when new SONs are voted in, is not happening, the sidechain transaction object for updating hive account is not created. Primary wallet object is created (1.35.X) and populated properly, but it looks like sidechain_net_handler_hive::process_primary_wallet() fails to process it correctly, fill in the missing address and create sidechain transaction for updating hive account.

Confirmed... Update on init-network script will execute. Update on primary wallet update, when new SONs are voted in, is not happening, the sidechain transaction object for updating hive account is not created. Primary wallet object is created (1.35.X) and populated properly, but it looks like `sidechain_net_handler_hive::process_primary_wallet()` fails to process it correctly, fill in the missing address and create sidechain transaction for updating hive account.
serkixenos commented 2023-02-17 02:03:26 +00:00 (Migrated from gitlab.com)

assigned to @milo_peerplays

assigned to @milo_peerplays
serkixenos commented 2023-02-17 02:03:50 +00:00 (Migrated from gitlab.com)

unassigned @serkixenos and @wsalloum

unassigned @serkixenos and @wsalloum
serkixenos commented 2023-02-17 02:04:03 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
serkixenos commented 2023-02-17 02:21:10 +00:00 (Migrated from gitlab.com)

Also, strange updating of peerplays son-account is happening. After initializing network, waiting for maintenance block and following voting commands

vote_for_son sonaccount01 sonaccount06 hive true true
vote_for_son sonaccount01 sonaccount07 hive true true
vote_for_son sonaccount01 sonaccount08 hive true true

Peerplays son-account is updated from this

unlocked >>> get_account son-account
get_account son-account
{
  "id": "1.2.19",
  "membership_expiration_date": "2106-02-07T06:28:15",
  "registrar": "1.2.19",
  "referrer": "1.2.19",
  "lifetime_referrer": "1.2.19",
  "network_fee_percentage": 2000,
  "lifetime_referrer_fee_percentage": 8000,
  "referrer_rewards_percentage": 0,
  "name": "son-account",
  "owner": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [],
    "address_auths": []
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "1.2.36",
        1
      ],[
        "1.2.37",
        1
      ],[
        "1.2.38",
        1
      ],[
        "1.2.39",
        1
      ],[
        "1.2.40",
        1
      ]
    ],
    "key_auths": [],
    "address_auths": []
  },
  ...

to this

unlocked >>> get_account son-account                               
get_account son-account
{
  "id": "1.2.19",
  "membership_expiration_date": "2106-02-07T06:28:15",
  "registrar": "1.2.19",
  "referrer": "1.2.19",
  "lifetime_referrer": "1.2.19",
  "network_fee_percentage": 2000,
  "lifetime_referrer_fee_percentage": 8000,
  "referrer_rewards_percentage": 0,
  "name": "son-account",
  "owner": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [],
    "address_auths": []
  },
  "active": {
    "weight_threshold": 6,
    "account_auths": [[
        "1.2.36",
        1
      ],[
        "1.2.37",
        1
      ],[
        "1.2.38",
        1
      ],[
        "1.2.39",
        1
      ],[
        "1.2.40",
        1
      ],[
        "1.2.41",
        1
      ],[
        "1.2.42",
        1
      ],[
        "1.2.43",
        1
      ]
    ],
    "key_auths": [],
    "address_auths": []
  },
Also, strange updating of peerplays son-account is happening. After initializing network, waiting for maintenance block and following voting commands ``` vote_for_son sonaccount01 sonaccount06 hive true true vote_for_son sonaccount01 sonaccount07 hive true true vote_for_son sonaccount01 sonaccount08 hive true true ``` Peerplays son-account is updated from this ``` unlocked >>> get_account son-account get_account son-account { "id": "1.2.19", "membership_expiration_date": "2106-02-07T06:28:15", "registrar": "1.2.19", "referrer": "1.2.19", "lifetime_referrer": "1.2.19", "network_fee_percentage": 2000, "lifetime_referrer_fee_percentage": 8000, "referrer_rewards_percentage": 0, "name": "son-account", "owner": { "weight_threshold": 1, "account_auths": [], "key_auths": [], "address_auths": [] }, "active": { "weight_threshold": 4, "account_auths": [[ "1.2.36", 1 ],[ "1.2.37", 1 ],[ "1.2.38", 1 ],[ "1.2.39", 1 ],[ "1.2.40", 1 ] ], "key_auths": [], "address_auths": [] }, ... ``` to this ``` unlocked >>> get_account son-account get_account son-account { "id": "1.2.19", "membership_expiration_date": "2106-02-07T06:28:15", "registrar": "1.2.19", "referrer": "1.2.19", "lifetime_referrer": "1.2.19", "network_fee_percentage": 2000, "lifetime_referrer_fee_percentage": 8000, "referrer_rewards_percentage": 0, "name": "son-account", "owner": { "weight_threshold": 1, "account_auths": [], "key_auths": [], "address_auths": [] }, "active": { "weight_threshold": 6, "account_auths": [[ "1.2.36", 1 ],[ "1.2.37", 1 ],[ "1.2.38", 1 ],[ "1.2.39", 1 ],[ "1.2.40", 1 ],[ "1.2.41", 1 ],[ "1.2.42", 1 ],[ "1.2.43", 1 ] ], "key_auths": [], "address_auths": [] }, ```
serkixenos commented 2023-02-17 02:35:03 +00:00 (Migrated from gitlab.com)
      "maximum_son_count": 15,




unlocked >>> get_voters sonaccount01
get_voters sonaccount01
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:38",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:40",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:39",
        "voters": []
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount02
get_voters sonaccount02
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:41",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:43",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:42",
        "voters": []
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount03
get_voters sonaccount03
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:44",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:46",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:45",
        "voters": []
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount04
get_voters sonaccount04
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:47",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:49",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:48",
        "voters": []
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount05
get_voters sonaccount05
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:50",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:52",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:51",
        "voters": []
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount06
get_voters sonaccount06
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:53",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:55",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:54",
        "voters": [
          "1.2.36"
        ]
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount07
get_voters sonaccount07
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:56",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:58",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:57",
        "voters": [
          "1.2.36"
        ]
      }
    ]
  ]
}
unlocked >>> get_voters sonaccount08
get_voters sonaccount08
{
  "voters_for_son": [[
      "bitcoin",{
        "vote_id": "3:59",
        "voters": []
      }
    ],[
      "ethereum",{
        "vote_id": "5:61",
        "voters": []
      }
    ],[
      "hive",{
        "vote_id": "4:60",
        "voters": [
          "1.2.36"
        ]
      }
    ]
  ]
}

``` "maximum_son_count": 15, unlocked >>> get_voters sonaccount01 get_voters sonaccount01 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:38", "voters": [] } ],[ "ethereum",{ "vote_id": "5:40", "voters": [] } ],[ "hive",{ "vote_id": "4:39", "voters": [] } ] ] } unlocked >>> get_voters sonaccount02 get_voters sonaccount02 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:41", "voters": [] } ],[ "ethereum",{ "vote_id": "5:43", "voters": [] } ],[ "hive",{ "vote_id": "4:42", "voters": [] } ] ] } unlocked >>> get_voters sonaccount03 get_voters sonaccount03 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:44", "voters": [] } ],[ "ethereum",{ "vote_id": "5:46", "voters": [] } ],[ "hive",{ "vote_id": "4:45", "voters": [] } ] ] } unlocked >>> get_voters sonaccount04 get_voters sonaccount04 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:47", "voters": [] } ],[ "ethereum",{ "vote_id": "5:49", "voters": [] } ],[ "hive",{ "vote_id": "4:48", "voters": [] } ] ] } unlocked >>> get_voters sonaccount05 get_voters sonaccount05 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:50", "voters": [] } ],[ "ethereum",{ "vote_id": "5:52", "voters": [] } ],[ "hive",{ "vote_id": "4:51", "voters": [] } ] ] } unlocked >>> get_voters sonaccount06 get_voters sonaccount06 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:53", "voters": [] } ],[ "ethereum",{ "vote_id": "5:55", "voters": [] } ],[ "hive",{ "vote_id": "4:54", "voters": [ "1.2.36" ] } ] ] } unlocked >>> get_voters sonaccount07 get_voters sonaccount07 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:56", "voters": [] } ],[ "ethereum",{ "vote_id": "5:58", "voters": [] } ],[ "hive",{ "vote_id": "4:57", "voters": [ "1.2.36" ] } ] ] } unlocked >>> get_voters sonaccount08 get_voters sonaccount08 { "voters_for_son": [[ "bitcoin",{ "vote_id": "3:59", "voters": [] } ],[ "ethereum",{ "vote_id": "5:61", "voters": [] } ],[ "hive",{ "vote_id": "4:60", "voters": [ "1.2.36" ] } ] ] } ```
vampik commented 2023-02-19 14:44:38 +00:00 (Migrated from gitlab.com)

mentioned in commit 3586786383fd0fae4f44d786c37edcea95979b45

mentioned in commit 3586786383fd0fae4f44d786c37edcea95979b45
vampik commented 2023-02-20 10:03:47 +00:00 (Migrated from gitlab.com)

mentioned in commit bf915084c253b01712efaf0e9fb950a72c5116b7

mentioned in commit bf915084c253b01712efaf0e9fb950a72c5116b7
vampik commented 2023-02-20 10:03:47 +00:00 (Migrated from gitlab.com)

mentioned in commit f9c884d2adf958dfe847acfb9edba274129bb817

mentioned in commit f9c884d2adf958dfe847acfb9edba274129bb817
vampik commented 2023-02-21 05:43:12 +00:00 (Migrated from gitlab.com)

mentioned in merge request !210

mentioned in merge request !210
vampik commented 2023-02-21 05:43:35 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
vampik commented 2023-02-24 09:31:52 +00:00 (Migrated from gitlab.com)

mentioned in commit 7af3d037b5

mentioned in commit 7af3d037b520aafde294e0353c366da2e28bf68f
serkixenos commented 2023-02-24 09:31:52 +00:00 (Migrated from gitlab.com)

mentioned in commit 5e08b793c5

mentioned in commit 5e08b793c535c9efcc1936b581c919f8cf619762
serkixenos commented 2023-02-24 09:32:38 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
serkixenos commented 2023-02-24 09:32:43 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
wsalloum commented 2023-02-24 17:23:30 +00:00 (Migrated from gitlab.com)

It looks ok now, after voting:

locked >>> get_account son-account
{
  "id": 6,
  "name": "son-account",
  "owner": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount06",
        1
      ],[
        "sonaccount07",
        1
      ],[
        "sonaccount08",
        1
      ]
    ],
    "key_auths": []
  },
  "active": {
    "weight_threshold": 4,
    "account_auths": [[
        "sonaccount01",
        1
      ],[
        "sonaccount02",
        1
      ],[
        "sonaccount06",
        1
      ],[
        "sonaccount07",
        1
      ],[
        "sonaccount08",
        1
      ]
    ],
    "key_auths": []
  },
  "posting": {
    "weight_threshold": 1,
    "account_auths": [],

It looks ok now, after voting: ``` locked >>> get_account son-account { "id": 6, "name": "son-account", "owner": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount06", 1 ],[ "sonaccount07", 1 ],[ "sonaccount08", 1 ] ], "key_auths": [] }, "active": { "weight_threshold": 4, "account_auths": [[ "sonaccount01", 1 ],[ "sonaccount02", 1 ],[ "sonaccount06", 1 ],[ "sonaccount07", 1 ],[ "sonaccount08", 1 ] ], "key_auths": [] }, "posting": { "weight_threshold": 1, "account_auths": [], ```
wsalloum (Migrated from gitlab.com) closed this issue 2023-02-24 17:23:31 +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#495
No description provided.