Verify SON functionality in 1.5.22-alpha #519

Closed
opened 2023-03-13 08:36:19 +00:00 by bobinson · 3 comments
bobinson commented 2023-03-13 08:36:19 +00:00 (Migrated from gitlab.com)

Reference: https://gitlab.com/PBSA/tools-libs/peerplays-utils/-/releases/1.5.22-alpha

Please verify deposit/withdraw functionality corresponding Hive, Bitcoin and Ethereum networks.

This is a step to ensure that the core functionality is working as expected.

Reference: https://gitlab.com/PBSA/tools-libs/peerplays-utils/-/releases/1.5.22-alpha Please verify deposit/withdraw functionality corresponding Hive, Bitcoin and Ethereum networks. This is a step to ensure that the core functionality is working as expected.
bobinson commented 2023-03-13 08:36:19 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
bobinson commented 2023-03-13 12:22:53 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
wsalloum commented 2023-03-14 09:09:40 +00:00 (Migrated from gitlab.com)
  • Hive looks OK:
bunker@backend-qa:~/peerplays-utils/peerplays-qa-environment/e2e-tests$ pytest test_hive_son.py::test_hive_deposit test_hive_son.py::test_hive_withdrawal
======================================================================================================== test session starts ========================================================================================================
platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/bunker/peerplays-utils/peerplays-qa-environment/e2e-tests
plugins: order-1.0.1
collected 2 items                                                                                                                                                                                                                   

test_hive_son.py ..                                                                                                                                                                                                           [100%]

======================================================================================================== 2 passed in 32.26s =============
  • Bitcoin: I noticed errors in the log after deposit and transfer:
oot@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance
14639.68750000
root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" sendtoaddress "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" 7 "" "" false
190a32e0e23c11c3165b8d7b6956f6f35bdceae6059106f1b20d29f351ef6cd4
root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" generatetoaddress 1 "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY"
[
  "0c8884ca92838929249eb2d6d56c66ccbb4e0e9b28f41f3373747bd746971a9a"
]
root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" generatetoaddress 1 "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY"
[
  "11180b4d4a3f0fc57144638ffc9781365158f6bc69d5c5fbd58917dc09b4d252"
]
root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance
14635.81246700
root@9b2ab3f83d76:~/bitcoin-network# 


nlocked >>> list_account_balances account01
list_account_balances account01
49999949 TEST
6.99978000 BTC
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> transfer account01 son-account 1 BTC "" true
unlocked >>> transfer account01 son-account 0.5 BTC "" true


unlocked >>> list_account_balances son-account
list_account_balances son-account
49093939.95053 TEST
1.50000000 BTC
0 HBD
0 HIVE
peerplays-all-in-one_1             | 1314002ms th_a       witness.cpp:191               block_production_loo ] Generated block #1307 with timestamp 2023-03-13T22:21:54 at time 2023-03-13T22:21:54
peerplays-all-in-one_1             | 1314502ms th_�       peerplays_sidechain_plugin.cpp:555 son_processing       ] Scheduled SON: 1.33.1 Sidechain: bitcoin Now: 2023-03-13T22:21:51
peerplays-all-in-one_1             | 1314502ms th_�       peerplays_sidechain_plugin.cpp:555 son_processing       ] Scheduled SON: 1.33.1 Sidechain: hive Now: 2023-03-13T22:21:51
peerplays-all-in-one_1             | 1314503ms th_�       sidechain_net_handler.cpp:556 operator()           ] Sidechain transaction to send: 1.39.4
peerplays-all-in-one_1             | 1314504ms th_�       peerplays_sidechain_plugin.cpp:555 son_processing       ] Scheduled SON: 1.33.1 Sidechain: ethereum Now: 2023-03-13T22:21:51
peerplays-all-in-one_1             | 1314505ms th_�       libbitcoin_client.cpp:62      operator()           ] error on sending bitcoin transaction immature coinbase spent
peerplays-all-in-one_1             | 1314505ms th_�       sidechain_net_handler.cpp:561 operator()           ] Sidechain transaction not sent: 1.39.4
peerplays-all-in-one_1             | 1314505ms th_�       sidechain_net_handler.cpp:556 operator()           ] Sidechain transaction to send: 1.39.2
peerplays-all-in-one_1             | 1314507ms th_�       libbitcoin_client.cpp:62      operator()           ] error on sending bitcoin transaction immature coinbase spent
peerplays-all-in-one_1             | 1314507ms th_�       sidechain_net_handler.cpp:561 operator()           ] Sidechain transaction not sent: 1.39.2
peerplays-all-in-one_1             | 1314507ms th_�       sidechain_net_handler.cpp:598 operator()           ] Sidechain transaction to settle: 1.39.5
peerplays-all-in-one_1             | 1314508ms th_�       libbitcoin_client.cpp:86      operator()           ] error on fetch_trx_by_hash: ee925fa31f48e8dc316f47454d54d9f35ad0590b28ca3b77bfea605d0712d308 object does not exist
peerplays-all-in-one_1             | 1314508ms th_�       sidechain_net_handler.cpp:604 operator()           ] Sidechain transaction not settled: 1.39.5
peerplays-all-in-one_1             | 1314508ms th_�       sidechain_net_handler.cpp:598 operator()           ] Sidechain transaction to settle: 1.39.6
peerplays-all-in-one_1             | 1314508ms th_�       libbitcoin_client.cpp:86      operator()           ] error on fetch_trx_by_hash: fdcbaef5e8afc7c837278f68847e64d5990af27e8a31b3c01a1cccd33c1d9e8b object does not exist
peerplays-all-in-one_1             | 1314508ms th_�       sidechain_net_handler.cpp:604 operator()           ] Sidechain transaction not settled: 1.39.6
peerplays-all-in-one_1             | 1317000ms th_a       witness.cpp:267               maybe_produce_block  ] slot: 1 scheduled_witness: 1.6.9 scheduled_time: 2023-03-13T22:21:57 now: 2023-03-13T22:21:57 

- Hive looks OK: ``` bunker@backend-qa:~/peerplays-utils/peerplays-qa-environment/e2e-tests$ pytest test_hive_son.py::test_hive_deposit test_hive_son.py::test_hive_withdrawal ======================================================================================================== test session starts ======================================================================================================== platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0 rootdir: /home/bunker/peerplays-utils/peerplays-qa-environment/e2e-tests plugins: order-1.0.1 collected 2 items test_hive_son.py .. [100%] ======================================================================================================== 2 passed in 32.26s ============= ``` - Bitcoin: I noticed errors in the log after deposit and transfer: ``` oot@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance 14639.68750000 root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" sendtoaddress "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" 7 "" "" false 190a32e0e23c11c3165b8d7b6956f6f35bdceae6059106f1b20d29f351ef6cd4 root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" generatetoaddress 1 "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" [ "0c8884ca92838929249eb2d6d56c66ccbb4e0e9b28f41f3373747bd746971a9a" ] root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" generatetoaddress 1 "2N84SkmB5JfgGCvZ7QpSF43wWEbQ2EsLoMY" [ "11180b4d4a3f0fc57144638ffc9781365158f6bc69d5c5fbd58917dc09b4d252" ] root@9b2ab3f83d76:~/bitcoin-network# ./bitcoin-cli -rpcuser=1 -rpcpassword=1 -rpcwallet="default" getbalance 14635.81246700 root@9b2ab3f83d76:~/bitcoin-network# ``` ``` nlocked >>> list_account_balances account01 list_account_balances account01 49999949 TEST 6.99978000 BTC 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> transfer account01 son-account 1 BTC "" true unlocked >>> transfer account01 son-account 0.5 BTC "" true unlocked >>> list_account_balances son-account list_account_balances son-account 49093939.95053 TEST 1.50000000 BTC 0 HBD 0 HIVE ``` ``` peerplays-all-in-one_1 | 1314002ms th_a witness.cpp:191 block_production_loo ] Generated block #1307 with timestamp 2023-03-13T22:21:54 at time 2023-03-13T22:21:54 peerplays-all-in-one_1 | 1314502ms th_� peerplays_sidechain_plugin.cpp:555 son_processing ] Scheduled SON: 1.33.1 Sidechain: bitcoin Now: 2023-03-13T22:21:51 peerplays-all-in-one_1 | 1314502ms th_� peerplays_sidechain_plugin.cpp:555 son_processing ] Scheduled SON: 1.33.1 Sidechain: hive Now: 2023-03-13T22:21:51 peerplays-all-in-one_1 | 1314503ms th_� sidechain_net_handler.cpp:556 operator() ] Sidechain transaction to send: 1.39.4 peerplays-all-in-one_1 | 1314504ms th_� peerplays_sidechain_plugin.cpp:555 son_processing ] Scheduled SON: 1.33.1 Sidechain: ethereum Now: 2023-03-13T22:21:51 peerplays-all-in-one_1 | 1314505ms th_� libbitcoin_client.cpp:62 operator() ] error on sending bitcoin transaction immature coinbase spent peerplays-all-in-one_1 | 1314505ms th_� sidechain_net_handler.cpp:561 operator() ] Sidechain transaction not sent: 1.39.4 peerplays-all-in-one_1 | 1314505ms th_� sidechain_net_handler.cpp:556 operator() ] Sidechain transaction to send: 1.39.2 peerplays-all-in-one_1 | 1314507ms th_� libbitcoin_client.cpp:62 operator() ] error on sending bitcoin transaction immature coinbase spent peerplays-all-in-one_1 | 1314507ms th_� sidechain_net_handler.cpp:561 operator() ] Sidechain transaction not sent: 1.39.2 peerplays-all-in-one_1 | 1314507ms th_� sidechain_net_handler.cpp:598 operator() ] Sidechain transaction to settle: 1.39.5 peerplays-all-in-one_1 | 1314508ms th_� libbitcoin_client.cpp:86 operator() ] error on fetch_trx_by_hash: ee925fa31f48e8dc316f47454d54d9f35ad0590b28ca3b77bfea605d0712d308 object does not exist peerplays-all-in-one_1 | 1314508ms th_� sidechain_net_handler.cpp:604 operator() ] Sidechain transaction not settled: 1.39.5 peerplays-all-in-one_1 | 1314508ms th_� sidechain_net_handler.cpp:598 operator() ] Sidechain transaction to settle: 1.39.6 peerplays-all-in-one_1 | 1314508ms th_� libbitcoin_client.cpp:86 operator() ] error on fetch_trx_by_hash: fdcbaef5e8afc7c837278f68847e64d5990af27e8a31b3c01a1cccd33c1d9e8b object does not exist peerplays-all-in-one_1 | 1314508ms th_� sidechain_net_handler.cpp:604 operator() ] Sidechain transaction not settled: 1.39.6 peerplays-all-in-one_1 | 1317000ms th_a witness.cpp:267 maybe_produce_block ] slot: 1 scheduled_witness: 1.6.9 scheduled_time: 2023-03-13T22:21:57 now: 2023-03-13T22:21:57 ```
bobinson (Migrated from gitlab.com) closed this issue 2023-10-06 09:02:13 +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#519
No description provided.