ETHER withdrawn from peerplays is listed in son-account even after settlement. #482

Closed
opened 2022-11-12 19:49:53 +00:00 by prandnum · 10 comments
prandnum commented 2022-11-12 19:49:53 +00:00 (Migrated from gitlab.com)
unlocked >>> list_account_balances account01
list_account_balances account01
49999950 TEST
2 ETH
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>>
> personal.unlockAccount("0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae", "", 1200)
true
> web3.fromWei(eth.getBalance("0xca57F3b40B42FCce3c37B8D18aDBca5260ca72EC"), "ether")
0
> web3.fromWei(eth.getBalance("0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae"), "ether")
499997.999969883999789188

unlocked >>> transfer account01 son-account 1 ETH null true
transfer account01 son-account 1 ETH null true
{
  "ref_block_num": 730,
  "ref_block_prefix": 4081369996,
  "expiration": "2022-11-12T10:11:06",
  "operations": [[
      0,{
        "fee": {
          "amount": 0,
          "asset_id": "1.3.0"
        },
        "from": "1.2.52",
        "to": "1.2.19",
        "amount": {
          "amount": 100000000,
          "asset_id": "1.3.2"
        },
        "extensions": []
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "2009e89f212b931db93382937dc6e76ad6b238522bc83c121e7a42cc7188594846744c8803340d6354e269e982834cccd67124a55a52a150f09b57302956bcfa4e"
  ]
}
unlocked >>> 
unlocked >>> list_account_balances account01                
list_account_balances account01
49999950 TEST
1 ETH
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> list_account_balances son-account              
list_account_balances son-account
50000000 TEST
1 ETH
> web3.fromWei(eth.getBalance("0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae"), "ether")
499998.999969883999789188
> 
unlocked >>> get_object 1.37.0 
get_object 1.37.0
[{
    "id": "1.37.0",
    "timestamp": "2022-11-12T10:10:39",
    "block_num": 731,
    "sidechain": "ethereum",
    "peerplays_uid": "peerplays-2145c931529a1919a04d07033582a47430ad3f53-0",
    "peerplays_transaction_id": "2145c931529a1919a04d07033582a47430ad3f53",
    "peerplays_from": "1.2.52",
    "peerplays_asset": {
      "amount": "4000000000",
      "asset_id": "1.3.0"
    },
    "withdraw_sidechain": "ethereum",
    "withdraw_address": "0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae",
    "withdraw_currency": "ETH",
    "withdraw_amount": 100000000,
    "expected_reports": [[
        "1.33.0",
        1
      ],[
        "1.33.1",
        1
      ],[
        "1.33.2",
        1
      ],[
        "1.33.3",
        1
      ],[
        "1.33.4",
        1
      ]
    ],
    "received_reports": [
      "1.33.0",
      "1.33.1",
      "1.33.2",
      "1.33.3",
      "1.33.4"
    ],
    "confirmed": true,
    "processed": true
  }
]
unlocked >>>
``` unlocked >>> list_account_balances account01 list_account_balances account01 49999950 TEST 2 ETH 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> ``` ``` > personal.unlockAccount("0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae", "", 1200) true > web3.fromWei(eth.getBalance("0xca57F3b40B42FCce3c37B8D18aDBca5260ca72EC"), "ether") 0 > web3.fromWei(eth.getBalance("0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae"), "ether") 499997.999969883999789188 ``` ``` unlocked >>> transfer account01 son-account 1 ETH null true transfer account01 son-account 1 ETH null true { "ref_block_num": 730, "ref_block_prefix": 4081369996, "expiration": "2022-11-12T10:11:06", "operations": [[ 0,{ "fee": { "amount": 0, "asset_id": "1.3.0" }, "from": "1.2.52", "to": "1.2.19", "amount": { "amount": 100000000, "asset_id": "1.3.2" }, "extensions": [] } ] ], "extensions": [], "signatures": [ "2009e89f212b931db93382937dc6e76ad6b238522bc83c121e7a42cc7188594846744c8803340d6354e269e982834cccd67124a55a52a150f09b57302956bcfa4e" ] } unlocked >>> ``` ``` unlocked >>> list_account_balances account01 list_account_balances account01 49999950 TEST 1 ETH 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> list_account_balances son-account list_account_balances son-account 50000000 TEST 1 ETH ``` ``` > web3.fromWei(eth.getBalance("0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae"), "ether") 499998.999969883999789188 > ``` ``` unlocked >>> get_object 1.37.0 get_object 1.37.0 [{ "id": "1.37.0", "timestamp": "2022-11-12T10:10:39", "block_num": 731, "sidechain": "ethereum", "peerplays_uid": "peerplays-2145c931529a1919a04d07033582a47430ad3f53-0", "peerplays_transaction_id": "2145c931529a1919a04d07033582a47430ad3f53", "peerplays_from": "1.2.52", "peerplays_asset": { "amount": "4000000000", "asset_id": "1.3.0" }, "withdraw_sidechain": "ethereum", "withdraw_address": "0x5c79a9f5767e3c1b926f963fa24e21d8a04289ae", "withdraw_currency": "ETH", "withdraw_amount": 100000000, "expected_reports": [[ "1.33.0", 1 ],[ "1.33.1", 1 ],[ "1.33.2", 1 ],[ "1.33.3", 1 ],[ "1.33.4", 1 ] ], "received_reports": [ "1.33.0", "1.33.1", "1.33.2", "1.33.3", "1.33.4" ], "confirmed": true, "processed": true } ] unlocked >>> ```
prandnum commented 2022-11-12 19:50:34 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos @vampik

CC: @tai.sama

@bobinson @serkixenos @vampik CC: @tai.sama
prandnum commented 2022-11-12 19:50:56 +00:00 (Migrated from gitlab.com)

changed title from ETHER withdrawn from peerplays is listed in son-account even after {-it is -}settle{-d-}. to ETHER withdrawn from peerplays is listed in son-account even after settle{+ment+}.

changed title from **ETHER withdrawn from peerplays is listed in son-account even after {-it is -}settle{-d-}.** to **ETHER withdrawn from peerplays is listed in son-account even after settle{+ment+}.**
vampik commented 2022-11-14 11:22:09 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-12-02 05:47:21 +00:00 (Migrated from gitlab.com)

mentioned in commit a944401c251ac1a6525f4d9ab5967e06fba8b307

mentioned in commit a944401c251ac1a6525f4d9ab5967e06fba8b307
vampik commented 2022-12-02 05:49:38 +00:00 (Migrated from gitlab.com)

mentioned in merge request !186

mentioned in merge request !186
vampik commented 2022-12-02 05:49:51 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
vampik commented 2022-12-06 12:17:09 +00:00 (Migrated from gitlab.com)

mentioned in commit 42b3890a7c

mentioned in commit 42b3890a7c3e9abfa79dd24baef68d50466e2068
serkixenos commented 2022-12-06 12:17:09 +00:00 (Migrated from gitlab.com)

mentioned in commit 440e4fbb43

mentioned in commit 440e4fbb434e1a1ba9c02bfd6985f8fb0ed9455f
serkixenos commented 2022-12-06 12:17:36 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
prandnum commented 2022-12-07 22:09:31 +00:00 (Migrated from gitlab.com)
unlocked >>> list_account_balances account01
list_account_balances account01
49999950 TEST
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> 

unlocked >>> 

unlocked >>> list_account_balances son-account
list_account_balances son-account

unlocked >>> transfer account01 son-account 1 ETH null true
transfer account01 son-account 1 ETH null true
{
  "ref_block_num": 481,
  "ref_block_prefix": 3381897181,
  "expiration": "2022-12-07T22:03:39",
  "operations": [[
      0,{
        "fee": {
          "amount": 0,
          "asset_id": "1.3.0"
        },
        "from": "1.2.52",
        "to": "1.2.19",
        "amount": {
          "amount": 100000000,
          "asset_id": "1.3.2"
        },
        "extensions": []
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "1f38eed73f0eca69bd1cecd00774a1aa45f9610917874eb1df7d29612624878f4471310c0c4d1127b177bbeacecb5a9610ecdd7f96714249ee049c03e574a022ab"
  ]
}
unlocked >>> list_account_balances son-account              
list_account_balances son-account
1 ETH

unlocked >>> list_account_balances account01                
list_account_balances account01
49999950 TEST
1 ETH
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> 

unlocked >>> 

unlocked >>> list_account_balances account01   
list_account_balances account01
49999950 TEST
1 ETH
1000000 PBTC
1000000 PEOS
1000000 PETH

unlocked >>> list_account_balances son-account
list_account_balances son-account
0 ETH

unlocked >>> 
root@5e28f87691be:~/src/peerplays# git log -3
commit 440e4fbb434e1a1ba9c02bfd6985f8fb0ed9455f (HEAD -> develop, origin/develop)
Merge: 5dff0830 42b3890a
Author: serkixenos <serki.xenos@gmail.com>
Date:   Tue Dec 6 12:17:09 2022 +0000

    Merge branch 'bug/482-burn-eth-from-son-account' into 'develop'
    
    #482 burn eth from son account
    
    See merge request PBSA/peerplays!186

commit 42b3890a7c3e9abfa79dd24baef68d50466e2068
Author: Vlad Dobromyslov <vdobrik@peerplays.com>
Date:   Tue Dec 6 12:17:09 2022 +0000

    #482 burn eth from son account

commit 5dff0830fbc61c7d2e98e3b6ef6999bfd0debe07
Merge: 12c0c66f c3eab0a8
Author: serkixenos <serki.xenos@gmail.com>
Date:   Thu Dec 1 01:53:39 2022 +0000

    Merge branch 'feature/479-one-bunch-transaction' into 'develop'
    
    #479 - Send one transaction for all owners
    
    See merge request PBSA/peerplays!183
root@5e28f87691be:~/src/peerplays# 
``` unlocked >>> list_account_balances account01 list_account_balances account01 49999950 TEST 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> unlocked >>> unlocked >>> list_account_balances son-account list_account_balances son-account unlocked >>> transfer account01 son-account 1 ETH null true transfer account01 son-account 1 ETH null true { "ref_block_num": 481, "ref_block_prefix": 3381897181, "expiration": "2022-12-07T22:03:39", "operations": [[ 0,{ "fee": { "amount": 0, "asset_id": "1.3.0" }, "from": "1.2.52", "to": "1.2.19", "amount": { "amount": 100000000, "asset_id": "1.3.2" }, "extensions": [] } ] ], "extensions": [], "signatures": [ "1f38eed73f0eca69bd1cecd00774a1aa45f9610917874eb1df7d29612624878f4471310c0c4d1127b177bbeacecb5a9610ecdd7f96714249ee049c03e574a022ab" ] } unlocked >>> list_account_balances son-account list_account_balances son-account 1 ETH unlocked >>> list_account_balances account01 list_account_balances account01 49999950 TEST 1 ETH 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> unlocked >>> unlocked >>> list_account_balances account01 list_account_balances account01 49999950 TEST 1 ETH 1000000 PBTC 1000000 PEOS 1000000 PETH unlocked >>> list_account_balances son-account list_account_balances son-account 0 ETH unlocked >>> ``` ``` root@5e28f87691be:~/src/peerplays# git log -3 commit 440e4fbb434e1a1ba9c02bfd6985f8fb0ed9455f (HEAD -> develop, origin/develop) Merge: 5dff0830 42b3890a Author: serkixenos <serki.xenos@gmail.com> Date: Tue Dec 6 12:17:09 2022 +0000 Merge branch 'bug/482-burn-eth-from-son-account' into 'develop' #482 burn eth from son account See merge request PBSA/peerplays!186 commit 42b3890a7c3e9abfa79dd24baef68d50466e2068 Author: Vlad Dobromyslov <vdobrik@peerplays.com> Date: Tue Dec 6 12:17:09 2022 +0000 #482 burn eth from son account commit 5dff0830fbc61c7d2e98e3b6ef6999bfd0debe07 Merge: 12c0c66f c3eab0a8 Author: serkixenos <serki.xenos@gmail.com> Date: Thu Dec 1 01:53:39 2022 +0000 Merge branch 'feature/479-one-bunch-transaction' into 'develop' #479 - Send one transaction for all owners See merge request PBSA/peerplays!183 root@5e28f87691be:~/src/peerplays# ```
prandnum (Migrated from gitlab.com) closed this issue 2022-12-07 22:09:32 +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#482
No description provided.