Using CLI wallet, unable to create vesting balance(SON) when owner key is imported #87

Closed
opened 2021-04-26 11:49:35 +00:00 by prandnum · 6 comments
prandnum commented 2021-04-26 11:49:35 +00:00 (Migrated from gitlab.com)

Issue Seen: create_vesting_balance rejects the command when owner key is imported.
Expected Behvaiour: Since owner key is superceeds active key, the commands should allow user to work with owner key.

Note: Since keys are mentione making it confidential.

unlocked >>> import_key vtnss "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a"  true
import_key vtnss "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a"  true
1450153ms th_a       wallet.cpp:633                copy_wallet_file     ] backing up wallet wallet.json to before-import-key-68043b32-3.wallet
1450165ms th_a       wallet.cpp:633                copy_wallet_file     ] backing up wallet wallet.json to after-import-key-68043b32-3.wallet
true
unlocked >>> create_vesting_balance vtnss 50 TEST son true
create_vesting_balance vtnss 50 TEST son true
1460421ms th_a       wallet.cpp:2955               sign_transaction     ] Caught exception while broadcasting tx c0a3c5338e079d4814d5d11619dee38c9fba69d0:  0 exception: unspecified
missing required active authority: Missing Active Authority 1.2.2367
    {"error":"missing required active authority: Missing Active Authority 1.2.2367","data":{"id":1516,"jsonrpc":"2.0","error":{"code":1,"message":"missing required active authority: Missing Active Authority 1.2.2367","data":{"code":3030001,"name":"tx_missing_active_auth","message":"missing required active authority","stack":[{"context":{"level":"error","file":"transaction.cpp","line":312,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"Missing Active Authority ${id}","data":{"id":"1.2.2367","auth":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3",1]],"address_auths":[]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",1]],"address_auths":[]}}},{"context":{"level":"warn","file":"transaction.cpp","line":327,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"ops":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"sigs":[]}},{"context":{"level":"warn","file":"transaction.cpp","line":450,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"*this":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}]]}}]}}}}
    th_a  state.cpp:38 handle_reply
0 exception: unspecified
missing required active authority: Missing Active Authority 1.2.2367
    {"error":"missing required active authority: Missing Active Authority 1.2.2367","data":{"id":1516,"jsonrpc":"2.0","error":{"code":1,"message":"missing required active authority: Missing Active Authority 1.2.2367","data":{"code":3030001,"name":"tx_missing_active_auth","message":"missing required active authority","stack":[{"context":{"level":"error","file":"transaction.cpp","line":312,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"Missing Active Authority ${id}","data":{"id":"1.2.2367","auth":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3",1]],"address_auths":[]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",1]],"address_auths":[]}}},{"context":{"level":"warn","file":"transaction.cpp","line":327,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"ops":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"sigs":[]}},{"context":{"level":"warn","file":"transaction.cpp","line":450,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"*this":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}]]}}]}}}}
    th_a  state.cpp:38 handle_reply

    {"owner_account":"vtnss","broadcast":true}
    th_a  wallet.cpp:2471 create_vesting_balance
unlocked >>> get_private_key_from_password vtnss owner witness1234567890
get_private_key_from_password vtnss owner witness1234567890
[
  "TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",
  "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a"
]
unlocked >>> get_private_key_from_password vtnss active witness1234567890
get_private_key_from_password vtnss active witness1234567890
[
  "TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3",
  "5JaPXJzyhTLQnDNoMiV2tsC78dDCchVfHEPg5wRBXpNPY3qfcgG"
]
unlocked >>> import_key vtnss "5JaPXJzyhTLQnDNoMiV2tsC78dDCchVfHEPg5wRBXpNPY3qfcgG" true
import_key vtnss "5JaPXJzyhTLQnDNoMiV2tsC78dDCchVfHEPg5wRBXpNPY3qfcgG" true
1636007ms th_a       wallet.cpp:633                copy_wallet_file     ] backing up wallet wallet.json to before-import-key-b67e23c6.wallet
1636018ms th_a       wallet.cpp:633                copy_wallet_file     ] backing up wallet wallet.json to after-import-key-b67e23c6.wallet
true
unlocked >>> create_vesting_balance vtnss 50 TEST son true
create_vesting_balance vtnss 50 TEST son true
{
  "ref_block_num": 52498,
  "ref_block_prefix": 865142408,
  "expiration": "2021-04-26T01:55:22",
  "operations": [[
      32,{
        "fee": {
          "amount": 100000,
          "asset_id": "1.3.0"
        },
        "creator": "1.2.2367",
        "owner": "1.2.2367",
        "amount": {
          "amount": 5000000,
          "asset_id": "1.3.0"
        },
        "policy": [
          2,{}
        ],
        "balance_type": "son"
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "1f06cb74fc0f32e0bc37a211f8566869cf38ac892f856177dc7ff7d232ad133d5a6a9a5492da640687c7852e66905596a2d78109eaa9548bd0e4323eb4e39f7121"
  ]
}
unlocked >>>
Issue Seen: create_vesting_balance rejects the command when owner key is imported. Expected Behvaiour: Since owner key is superceeds active key, the commands should allow user to work with owner key. Note: Since keys are mentione making it confidential. ``` unlocked >>> import_key vtnss "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a" true import_key vtnss "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a" true 1450153ms th_a wallet.cpp:633 copy_wallet_file ] backing up wallet wallet.json to before-import-key-68043b32-3.wallet 1450165ms th_a wallet.cpp:633 copy_wallet_file ] backing up wallet wallet.json to after-import-key-68043b32-3.wallet true unlocked >>> create_vesting_balance vtnss 50 TEST son true create_vesting_balance vtnss 50 TEST son true 1460421ms th_a wallet.cpp:2955 sign_transaction ] Caught exception while broadcasting tx c0a3c5338e079d4814d5d11619dee38c9fba69d0: 0 exception: unspecified missing required active authority: Missing Active Authority 1.2.2367 {"error":"missing required active authority: Missing Active Authority 1.2.2367","data":{"id":1516,"jsonrpc":"2.0","error":{"code":1,"message":"missing required active authority: Missing Active Authority 1.2.2367","data":{"code":3030001,"name":"tx_missing_active_auth","message":"missing required active authority","stack":[{"context":{"level":"error","file":"transaction.cpp","line":312,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"Missing Active Authority ${id}","data":{"id":"1.2.2367","auth":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3",1]],"address_auths":[]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",1]],"address_auths":[]}}},{"context":{"level":"warn","file":"transaction.cpp","line":327,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"ops":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"sigs":[]}},{"context":{"level":"warn","file":"transaction.cpp","line":450,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"*this":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}]]}}]}}}} th_a state.cpp:38 handle_reply 0 exception: unspecified missing required active authority: Missing Active Authority 1.2.2367 {"error":"missing required active authority: Missing Active Authority 1.2.2367","data":{"id":1516,"jsonrpc":"2.0","error":{"code":1,"message":"missing required active authority: Missing Active Authority 1.2.2367","data":{"code":3030001,"name":"tx_missing_active_auth","message":"missing required active authority","stack":[{"context":{"level":"error","file":"transaction.cpp","line":312,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"Missing Active Authority ${id}","data":{"id":"1.2.2367","auth":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3",1]],"address_auths":[]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",1]],"address_auths":[]}}},{"context":{"level":"warn","file":"transaction.cpp","line":327,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"ops":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"sigs":[]}},{"context":{"level":"warn","file":"transaction.cpp","line":450,"method":"verify_authority","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"*this":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"trx":{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-26T07:24:20"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":52498,"ref_block_prefix":865142408,"expiration":"2021-04-26T01:55:21","operations":[[32,{"fee":{"amount":100000,"asset_id":"1.3.0"},"creator":"1.2.2367","owner":"1.2.2367","amount":{"amount":5000000,"asset_id":"1.3.0"},"policy":[2,{}],"balance_type":"son"}]],"extensions":[],"signatures":[]}]]}}]}}}} th_a state.cpp:38 handle_reply {"owner_account":"vtnss","broadcast":true} th_a wallet.cpp:2471 create_vesting_balance unlocked >>> get_private_key_from_password vtnss owner witness1234567890 get_private_key_from_password vtnss owner witness1234567890 [ "TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg", "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a" ] unlocked >>> get_private_key_from_password vtnss active witness1234567890 get_private_key_from_password vtnss active witness1234567890 [ "TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3", "5JaPXJzyhTLQnDNoMiV2tsC78dDCchVfHEPg5wRBXpNPY3qfcgG" ] unlocked >>> import_key vtnss "5JaPXJzyhTLQnDNoMiV2tsC78dDCchVfHEPg5wRBXpNPY3qfcgG" true import_key vtnss "5JaPXJzyhTLQnDNoMiV2tsC78dDCchVfHEPg5wRBXpNPY3qfcgG" true 1636007ms th_a wallet.cpp:633 copy_wallet_file ] backing up wallet wallet.json to before-import-key-b67e23c6.wallet 1636018ms th_a wallet.cpp:633 copy_wallet_file ] backing up wallet wallet.json to after-import-key-b67e23c6.wallet true unlocked >>> create_vesting_balance vtnss 50 TEST son true create_vesting_balance vtnss 50 TEST son true { "ref_block_num": 52498, "ref_block_prefix": 865142408, "expiration": "2021-04-26T01:55:22", "operations": [[ 32,{ "fee": { "amount": 100000, "asset_id": "1.3.0" }, "creator": "1.2.2367", "owner": "1.2.2367", "amount": { "amount": 5000000, "asset_id": "1.3.0" }, "policy": [ 2,{} ], "balance_type": "son" } ] ], "extensions": [], "signatures": [ "1f06cb74fc0f32e0bc37a211f8566869cf38ac892f856177dc7ff7d232ad133d5a6a9a5492da640687c7852e66905596a2d78109eaa9548bd0e4323eb4e39f7121" ] } unlocked >>> ```
prandnum commented 2021-04-26 11:50:05 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos @sierra19XX

CC: @hbelakon

@bobinson @serkixenos @sierra19XX CC: @hbelakon
serkixenos commented 2021-04-27 10:18:54 +00:00 (Migrated from gitlab.com)

@prandnum please provide more info on how vtnss account is created/imported i nthe wallet, and provide account object (get_account vtnss)

@prandnum please provide more info on how `vtnss` account is created/imported i nthe wallet, and provide account object (get_account vtnss)
prandnum commented 2021-04-27 19:59:06 +00:00 (Migrated from gitlab.com)

vtnss account was created using DEX. Import of the keys into the cli wallet is already mentioned in the description.

unlocked >>> get_account vtnss
get_account vtnss
{
  "id": "1.2.2367",
  "membership_expiration_date": "2106-02-07T06:28:15",
  "registrar": "1.2.2367",
  "referrer": "1.2.2367",
  "lifetime_referrer": "1.2.2367",
  "network_fee_percentage": 10000,
  "lifetime_referrer_fee_percentage": 0,
  "referrer_rewards_percentage": 0,
  "name": "vtnss",
  "owner": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [[
        "TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",
        1
      ]
    ],
    "address_auths": []
  },
  "active": {
    "weight_threshold": 1,
    "account_auths": [],
    "key_auths": [[
        "TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3",
        1
      ]
    ],
    "address_auths": []
  },
  "options": {
    "memo_key": "TEST7Ms4RVnZrMjc2ZPJxKEodPpvcbzSPVuLa3vkvhs4fFZw3aqb3S",
    "voting_account": "1.2.5",
    "num_witness": 0,
    "num_committee": 0,
    "votes": [],
    "extensions": []
  },
  "statistics": "2.6.2367",
  "whitelisting_accounts": [],
  "blacklisting_accounts": [],
  "whitelisted_accounts": [],
  "blacklisted_accounts": [],
  "owner_special_authority": [
    0,{}
  ],
  "active_special_authority": [
    0,{}
  ],
  "top_n_control_flags": 0
}
unlocked >>> get_private_key_from_password vtnss owner witness1234567890
get_private_key_from_password vtnss owner witness1234567890
[
  "TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg",
  "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a"
]
unlocked >>>
vtnss account was created using DEX. Import of the keys into the cli wallet is already mentioned in the description. ``` unlocked >>> get_account vtnss get_account vtnss { "id": "1.2.2367", "membership_expiration_date": "2106-02-07T06:28:15", "registrar": "1.2.2367", "referrer": "1.2.2367", "lifetime_referrer": "1.2.2367", "network_fee_percentage": 10000, "lifetime_referrer_fee_percentage": 0, "referrer_rewards_percentage": 0, "name": "vtnss", "owner": { "weight_threshold": 1, "account_auths": [], "key_auths": [[ "TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg", 1 ] ], "address_auths": [] }, "active": { "weight_threshold": 1, "account_auths": [], "key_auths": [[ "TEST61PTjboXRediQJfLiE4TchUH2o5PGBivJtMZJRCgxjERBxPyV3", 1 ] ], "address_auths": [] }, "options": { "memo_key": "TEST7Ms4RVnZrMjc2ZPJxKEodPpvcbzSPVuLa3vkvhs4fFZw3aqb3S", "voting_account": "1.2.5", "num_witness": 0, "num_committee": 0, "votes": [], "extensions": [] }, "statistics": "2.6.2367", "whitelisting_accounts": [], "blacklisting_accounts": [], "whitelisted_accounts": [], "blacklisted_accounts": [], "owner_special_authority": [ 0,{} ], "active_special_authority": [ 0,{} ], "top_n_control_flags": 0 } unlocked >>> get_private_key_from_password vtnss owner witness1234567890 get_private_key_from_password vtnss owner witness1234567890 [ "TEST8Mem7yKqe2iAa3MPcAaLZPQEMYGi1r3cQYtvvvMbsJuQizNpmg", "5JLQ6hD7Szw3qku82f88NpmgivMTeShpaLZinFSzrpY1ncBRd3a" ] unlocked >>> ```
serkixenos commented 2021-05-16 23:18:43 +00:00 (Migrated from gitlab.com)

This is not specific to a SON operation. No transaction can be signed with owner key (try simple transfer), as the cli_wallet does not use owner key for any signing. Checkout the logs, they will show available and required keys and the required keys will not contain owner key.

This is not specific to a SON operation. No transaction can be signed with owner key (try simple transfer), as the cli_wallet does not use owner key for any signing. Checkout the logs, they will show available and required keys and the required keys will not contain owner key.
serkixenos commented 2021-05-19 18:20:45 +00:00 (Migrated from gitlab.com)

@prandnum Any new thoughts about this?

@prandnum Any new thoughts about this?
prandnum commented 2021-05-19 19:07:15 +00:00 (Migrated from gitlab.com)
Closing according to the comment(https://gitlab.com/PBSA/peerplays/-/issues/87#note_576371409).
prandnum (Migrated from gitlab.com) closed this issue 2021-05-19 19:07:16 +00:00
Sign in to join this conversation.
No milestone
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#87
No description provided.