unable to transfer BTC from peerplays sidechain account #71

Closed
opened 2021-04-16 13:01:18 +00:00 by prandnum · 14 comments
prandnum commented 2021-04-16 13:01:18 +00:00 (Migrated from gitlab.com)

"Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1" error is thrown on intitiating a transfer.

unlocked >>> list_account_balances account05
list_account_balances account05
10 TEST
4.99979999 BTC

unlocked >>> transfer account05 prandnum-1 3 BTC "" true
transfer account05 prandnum-1 3 BTC "" true
2134117ms th_a       wallet.cpp:2955               sign_transaction     ] Caught exception while broadcasting tx 7a9e0e8d48d6d9537ab976c38306a39a230efb23:  0 exception: unspecified
restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1
    {"error":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"id":432,"jsonrpc":"2.0","error":{"code":1,"message":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"code":3050003,"name":"transfer_restricted_transfer_asset","message":"restricted transfer asset","stack":[{"context":{"level":"error","file":"transfer_evaluator.cpp","line":64,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Asset {asset} has transfer_restricted flag enabled","data":{"asset":"1.3.81"}},{"context":{"level":"error","file":"transfer_evaluator.cpp","line":73,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Unable to transfer ${a} from ${f} to ${t}","data":{"a":"3 BTC","f":"account05","t":"prandnum-1"}},{"context":{"level":"warn","file":"transfer_evaluator.cpp","line":75,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":876,"method":"apply_operation","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}]]}}]}}}}
    th_a  state.cpp:38 handle_reply
0 exception: unspecified
restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1
    {"error":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"id":432,"jsonrpc":"2.0","error":{"code":1,"message":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"code":3050003,"name":"transfer_restricted_transfer_asset","message":"restricted transfer asset","stack":[{"context":{"level":"error","file":"transfer_evaluator.cpp","line":64,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Asset {asset} has transfer_restricted flag enabled","data":{"asset":"1.3.81"}},{"context":{"level":"error","file":"transfer_evaluator.cpp","line":73,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Unable to transfer ${a} from ${f} to ${t}","data":{"a":"3 BTC","f":"account05","t":"prandnum-1"}},{"context":{"level":"warn","file":"transfer_evaluator.cpp","line":75,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":876,"method":"apply_operation","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}]]}}]}}}}
    th_a  state.cpp:38 handle_reply

    {"from":"account05","to":"prandnum-1","amount":"3","asset_symbol":"BTC","memo":"","broadcast":true}
    th_a  wallet.cpp:3138 transfer
unlocked >>>

I have the following questions:

  1. So how do we make use of BTC which is made available in the Peerplays chain?
  2. My understanding is that the usecase would be
    Alice --> accountX --> son-account --> accountX" --> Bob
    Alice <-- accountX <-- son-account <-- accountX" <-- Bob

Where accountX is the bitcoin sidechain and accountX" is the corresponding Peerplays sidechain account.

So there needs to be a mechanism by which the primary wallet(son-account) can notify about the destination accounts (case1 Bob and case2 Alice) How is it done? by mentioning the destination address in memo text?

"Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1" error is thrown on intitiating a transfer. ``` unlocked >>> list_account_balances account05 list_account_balances account05 10 TEST 4.99979999 BTC unlocked >>> transfer account05 prandnum-1 3 BTC "" true transfer account05 prandnum-1 3 BTC "" true 2134117ms th_a wallet.cpp:2955 sign_transaction ] Caught exception while broadcasting tx 7a9e0e8d48d6d9537ab976c38306a39a230efb23: 0 exception: unspecified restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1 {"error":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"id":432,"jsonrpc":"2.0","error":{"code":1,"message":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"code":3050003,"name":"transfer_restricted_transfer_asset","message":"restricted transfer asset","stack":[{"context":{"level":"error","file":"transfer_evaluator.cpp","line":64,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Asset {asset} has transfer_restricted flag enabled","data":{"asset":"1.3.81"}},{"context":{"level":"error","file":"transfer_evaluator.cpp","line":73,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Unable to transfer ${a} from ${f} to ${t}","data":{"a":"3 BTC","f":"account05","t":"prandnum-1"}},{"context":{"level":"warn","file":"transfer_evaluator.cpp","line":75,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":876,"method":"apply_operation","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}]]}}]}}}} th_a state.cpp:38 handle_reply 0 exception: unspecified restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1 {"error":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"id":432,"jsonrpc":"2.0","error":{"code":1,"message":"restricted transfer asset: Asset {asset} has transfer_restricted flag enabled Unable to transfer 3 BTC from account05 to prandnum-1","data":{"code":3050003,"name":"transfer_restricted_transfer_asset","message":"restricted transfer asset","stack":[{"context":{"level":"error","file":"transfer_evaluator.cpp","line":64,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Asset {asset} has transfer_restricted flag enabled","data":{"asset":"1.3.81"}},{"context":{"level":"error","file":"transfer_evaluator.cpp","line":73,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"Unable to transfer ${a} from ${f} to ${t}","data":{"a":"3 BTC","f":"account05","t":"prandnum-1"}},{"context":{"level":"warn","file":"transfer_evaluator.cpp","line":75,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cpp","line":51,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":876,"method":"apply_operation","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"op":[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]}},{"context":{"level":"warn","file":"db_block.cpp","line":862,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":379,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"trx":{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2021-04-15T19:35:34"},"format":"","data":{"call.method":"call","call.params":[4,"broadcast_transaction",[{"ref_block_num":54499,"ref_block_prefix":3834002475,"expiration":"2021-04-15T19:36:03","operations":[[0,{"fee":{"amount":1000,"asset_id":"1.3.0"},"from":"1.2.2394","to":"1.2.2341","amount":{"amount":300000000,"asset_id":"1.3.81"},"extensions":[]}]],"extensions":[],"signatures":["203c40132832c389ce6420d38facc7bb9382088f9c7a5ab0c45c87c530770d3a604b9391caa06bc9783d2ce8bab648860f6534ddd56da9b2a55bd0cb2b50104070"]}]]}}]}}}} th_a state.cpp:38 handle_reply {"from":"account05","to":"prandnum-1","amount":"3","asset_symbol":"BTC","memo":"","broadcast":true} th_a wallet.cpp:3138 transfer unlocked >>> ``` I have the following questions: 1) So how do we make use of BTC which is made available in the Peerplays chain? 2) My understanding is that the usecase would be Alice --> accountX --> son-account --> accountX" --> Bob Alice <-- accountX <-- son-account <-- accountX" <-- Bob Where accountX is the bitcoin sidechain and accountX" is the corresponding Peerplays sidechain account. So there needs to be a mechanism by which the primary wallet(son-account) can notify about the destination accounts (case1 Bob and case2 Alice) How is it done? by mentioning the destination address in memo text?
prandnum commented 2021-04-16 13:02:37 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos @sierra19XX

CC: @hbelakon

@bobinson @serkixenos @sierra19XX CC: @hbelakon
bobinson commented 2021-04-16 14:06:29 +00:00 (Migrated from gitlab.com)

@prandnum - Can you mention the environment details, essentially which chain you are testing this functionality.

@prandnum - Can you mention the environment details, essentially which chain you are testing this functionality.
prandnum commented 2021-04-16 15:09:22 +00:00 (Migrated from gitlab.com)

This is the Beatrice chain (With 14 SONs operational)

This is the Beatrice chain (With 14 SONs operational)
serkixenos commented 2021-04-18 00:27:57 +00:00 (Migrated from gitlab.com)

By design, BTC assets are not transferable between users. son-account has to be one side in a transaction, either sender or receiver. This is limited by asset issuer permission flags.

Check these links for references and descriptions:
https://gitlab.com/PBSA/peerplays/-/blob/master/libraries/chain/include/graphene/chain/protocol/asset_ops.hpp#L60
https://gitlab.com/PBSA/peerplays/-/blob/master/libraries/chain/include/graphene/chain/protocol/types.hpp#L112

We can change asset options once we agree on what asset properties we want to use. It does not require source code changes, it can be done by asset update operation, signed by majority of sons.

By design, BTC assets are not transferable between users. son-account has to be one side in a transaction, either sender or receiver. This is limited by asset issuer permission flags. Check these links for references and descriptions: https://gitlab.com/PBSA/peerplays/-/blob/master/libraries/chain/include/graphene/chain/protocol/asset_ops.hpp#L60 https://gitlab.com/PBSA/peerplays/-/blob/master/libraries/chain/include/graphene/chain/protocol/types.hpp#L112 We can change asset options once we agree on what asset properties we want to use. It does not require source code changes, it can be done by asset update operation, signed by majority of sons.
bobinson commented 2021-04-19 10:12:57 +00:00 (Migrated from gitlab.com)

@serkixenos @sierra19XX @prandnum - this is addressed and the ability to move funds is available in the latest BEATRICE. Looks like its not yet deployed by witnesses.

@serkixenos @sierra19XX @prandnum - this is addressed and the ability to move funds is available in the latest BEATRICE. Looks like its not yet deployed by witnesses.
hbelakon commented 2021-05-03 16:25:11 +00:00 (Migrated from gitlab.com)

changed time estimate to 8h

changed time estimate to 8h
hbelakon commented 2021-05-14 12:48:37 +00:00 (Migrated from gitlab.com)

assigned to @sierra19XX

assigned to @sierra19XX
sierra19XX commented 2021-05-20 10:26:23 +00:00 (Migrated from gitlab.com)

@prandnum I can transfer the BTC between users without any issues on latest develop branch. Check the below output. You can verify this on my testnet and close the issue.

unlocked >>> list_account_balances account01

list_account_balances account01

49999980 TEST

1217.99900000 BTC

1000000 PBTC

1000000 PEOS

1000000 PETH

unlocked >>> list_account_balances account02

list_account_balances account02

50000000 TEST

1000000 PBTC

1000000 PEOS

1000000 PETH

unlocked >>> transfer account01 account02 1 BTC "" true

transfer account01 account02 1 BTC "" true

{

"ref_block_num": 58783,

"ref_block_prefix": 4194776623,

"expiration": "2021-05-20T10:21:03",

"operations": [[

0,{

"fee": {

"amount": 2000000,

"asset_id": "1.3.0"

},

"from": "1.2.52",

"to": "1.2.53",

"amount": {

"amount": 100000000,

"asset_id": "1.3.1"

},

"extensions": []

}

]

],

"extensions": [],

"signatures": [

"1f2577fda1723822952ebe1fb44b072416db7149d4c9004576741b633c13d1175c3caf7fcfefa4d901f88970aa7d332c5f9e43230fb7a40c0feac53e43e8394994"

]

}

unlocked >>> list_account_balances account02

list_account_balances account02

50000000 TEST

1 BTC

1000000 PBTC

1000000 PEOS

1000000 PETH

unlocked >>>

@prandnum I can transfer the BTC between users without any issues on latest develop branch. Check the below output. You can verify this on my testnet and close the issue. unlocked >>> list_account_balances account01 list_account_balances account01 49999980 TEST 1217.99900000 BTC 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> list_account_balances account02 list_account_balances account02 50000000 TEST 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> transfer account01 account02 1 BTC "" true transfer account01 account02 1 BTC "" true { "ref_block_num": 58783, "ref_block_prefix": 4194776623, "expiration": "2021-05-20T10:21:03", "operations": [[ 0,{ "fee": { "amount": 2000000, "asset_id": "1.3.0" }, "from": "1.2.52", "to": "1.2.53", "amount": { "amount": 100000000, "asset_id": "1.3.1" }, "extensions": [] } ] ], "extensions": [], "signatures": [ "1f2577fda1723822952ebe1fb44b072416db7149d4c9004576741b633c13d1175c3caf7fcfefa4d901f88970aa7d332c5f9e43230fb7a40c0feac53e43e8394994" ] } unlocked >>> list_account_balances account02 list_account_balances account02 50000000 TEST 1 BTC 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>>
sierra19XX commented 2021-05-20 10:26:35 +00:00 (Migrated from gitlab.com)

assigned to @prandnum and unassigned @sierra19XX

assigned to @prandnum and unassigned @sierra19XX
sierra19XX commented 2021-05-20 10:39:05 +00:00 (Migrated from gitlab.com)

mentioned in issue #97

mentioned in issue #97
prandnum commented 2021-05-22 16:55:30 +00:00 (Migrated from gitlab.com)
Verified. Logs available here. https://gitlab.com/PBSA/documentation/working-documents/-/blob/Peerplays-Bitcoin-SON-May2021-LocalTestnet/Peerplays-Bitcoin-SON-May2021-LocalTestnet/transfer-bitcoin_withdraw-bitcoin.log @bobinson @sierra19XX @serkixenos
prandnum (Migrated from gitlab.com) closed this issue 2021-05-22 16:55:31 +00:00
prandnum commented 2021-05-22 16:58:01 +00:00 (Migrated from gitlab.com)

mentioned in issue #115

mentioned in issue #115
prandnum commented 2021-05-22 16:58:29 +00:00 (Migrated from gitlab.com)

https://gitlab.com/PBSA/peerplays/-/issues/115 is raised to verify in beatrice

https://gitlab.com/PBSA/peerplays/-/issues/115 is raised to verify in beatrice
prandnum commented 2021-05-22 16:58:47 +00:00 (Migrated from gitlab.com)

marked this issue as related to #115

marked this issue as related to #115
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#71
No description provided.