hive primary wallet sidechain transaction is getting over written with ethereum primary wallet sidechain transaction i #500

Closed
opened 2023-01-06 15:37:54 +00:00 by prandnum · 10 comments
prandnum commented 2023-01-06 15:37:54 +00:00 (Migrated from gitlab.com)

Steps Executed:

  1. Bring up the latest peerplays docker QA environment(with bitcoin, ethereum and hive sidechain)

Issue Seen:

  1. After peerplays maintenance block, there is only one sidechain transaction object created i.e. 1.39.0 for ethereum primary wallet transaction. Hive primary wallet transaction object is overwritten.

Expected behaviour:
1.39.0 and 1.39.1 sidechain transaction objects for hive and ethereum primary wallet creation should be present.

Steps Executed: 1) Bring up the latest peerplays docker QA environment(with bitcoin, ethereum and hive sidechain) Issue Seen: 1) After peerplays maintenance block, there is only one sidechain transaction object created i.e. 1.39.0 for ethereum primary wallet transaction. Hive primary wallet transaction object is overwritten. Expected behaviour: 1.39.0 and 1.39.1 sidechain transaction objects for hive and ethereum primary wallet creation should be present.
prandnum commented 2023-01-06 15:38:24 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos

CC: @tai.sama

@bobinson @serkixenos CC: @tai.sama
vampik commented 2023-01-13 12:31:06 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2023-01-13 12:32:09 +00:00 (Migrated from gitlab.com)

If disable ETH, sidechain transaction still overwrites.

If disable ETH, sidechain transaction still overwrites.
prandnum commented 2023-01-13 18:37:12 +00:00 (Migrated from gitlab.com)

If i disable ethereum i was able to see hive sidechain transaction object 1.39.0

If i disable ethereum i was able to see hive sidechain transaction object 1.39.0
vampik commented 2023-01-30 17:27:37 +00:00 (Migrated from gitlab.com)

mentioned in commit d89e5e1f23

mentioned in commit d89e5e1f2341888a24a03de0833a819904368db5
vampik commented 2023-01-31 05:53:53 +00:00 (Migrated from gitlab.com)

mentioned in merge request !201

mentioned in merge request !201
vampik commented 2023-01-31 12:28:16 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
serkixenos commented 2023-02-01 12:35:59 +00:00 (Migrated from gitlab.com)

mentioned in commit 1883f97be2

mentioned in commit 1883f97be20dec201a31f86d2327e9b93b12ed73
serkixenos commented 2023-02-01 12:36:21 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
prandnum commented 2023-02-01 16:53:33 +00:00 (Migrated from gitlab.com)

The latest docker didn't have the new changes, so had to build it locally to test this.

unlocked >>> get_object 1.39.0 
get_object 1.39.0
[{
    "id": "1.39.0",
    "timestamp": "2023-02-01T16:50:00",
    "sidechain": "ethereum",
    "object_id": "1.35.1",
    "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000",
    "signers": [{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "5fbbb31be52608d2f52247e8400b7fcaa9e0bc12"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "76ce31bd03f601c3fc13732def921c5bac282676"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "09ee460834498a4ee361beb819470061b7381b49"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "6aefbd09209e1ee2e0a589d31e732f69b77713d2"
      },{
        "son_id": "1.33.4",
        "weight": 1,
        "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU",
        "public_key": "631e128b16f9adcf1bb6385112b1519c917d77a7"
      }
    ],
    "signatures": [[
        "1.33.0",
        "{\n    \"v\": \"1c\",\n    \"r\": \"9bfb369f531bf6829aaaa5ac84ebc55e39a8a98dd43babe0e1c6ecd834eadde7\",\n    \"s\": \"23ead825921c888b175e201666b85a31b0546435bd5ff9448f8b425995ffb343\"\n}\n"
      ],[
        "1.33.1",
        "{\n    \"v\": \"1b\",\n    \"r\": \"cf069db0eb206511481e8efda96e22a7bb9d008f50046f94f1ce5347bd8fec8a\",\n    \"s\": \"786d2eea61a9dcf6f9459b9a97ed0b9746057d58eebb45e9664ca5e1ecb5331e\"\n}\n"
      ],[
        "1.33.2",
        "{\n    \"v\": \"1c\",\n    \"r\": \"fbfcee4f7ebb91a650e6eaa37781171ed71fd96b010b6cb233e1d006dd80530f\",\n    \"s\": \"7b1e97a882eefb6fb6ed229f98feb509b5587ab70f45133916fbbe6048d81bc6\"\n}\n"
      ],[
        "1.33.3",
        "{\n    \"v\": \"1b\",\n    \"r\": \"80360e333775c5e219d234e6f9797da539e994a453c934af0b7f967d7ac53053\",\n    \"s\": \"4a60d23e9e0715d42f8149335149ff3ef982beb43f9626c5d53d04ab4972a6fe\"\n}\n"
      ],[
        "1.33.4",
        ""
      ]
    ],
    "sidechain_transaction": "{\n    \"result_array\": [\n        {\n            \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000\",\n            \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":1968,\\\"result\\\":\\\"0x0cd0f106745c2b2a2f9da611be4786bd76d9dcc45b49c84d15a48343a68a0978\\\"}\\n\",\n            \"transaction_receipt\": \"0x0cd0f106745c2b2a2f9da611be4786bd76d9dcc45b49c84d15a48343a68a0978\"\n        }\n    ]\n}\n",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]
unlocked >>> get_object 1.39.1
get_object 1.39.1
[{
    "id": "1.39.1",
    "timestamp": "2023-02-01T16:50:00",
    "sidechain": "hive",
    "object_id": "1.35.2",
    "transaction": "FE06F8CB923AEC98DA63010A0B736F6E2D6163636F756E740104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000003B073061A9B0B28E1BD49492ACD984D3EBF2F8CFD66AABF7AC2159BAE7B57D366000000",
    "signers": [{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "sonaccount01"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "sonaccount02"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "sonaccount03"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "sonaccount04"
      },{
        "son_id": "1.33.4",
        "weight": 1,
        "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU",
        "public_key": "sonaccount05"
      }
    ],
    "signatures": [[
        "1.33.0",
        ""
      ],[
        "1.33.1",
        "2050CFBACCDBAB81957D998EC36CFFDF8545A489DAA1056556C7E827F6FC1742D1670491603697C4AFDFD5086AA51DDA8076DC52AB8D8A1992EA0126D6F7C40053"
      ],[
        "1.33.2",
        "1F31517F6E652C321CBF4DB8C2FC1AC35B936CBF74C875A97685F962A755C4C71154E3FB59DC9ACFAD4C8FFE0B06C77706CBE6943E339F59BF4FE91FE5BC18C7F6"
      ],[
        "1.33.3",
        "1F38A5F8038A7A4C2391C931AE65514C2EF723EDE7DB4DD749583B72338BD9CD915AC6AA94702092D856D6606DF83288413852DAD4EDE42BF2CF7B502A8074F1FB"
      ],[
        "1.33.4",
        "2002B3689314FF586D2E24F6FD67E35CE6449985009E8CA5BA93518EFE7B7E2C4A36DC1398E819BC33ED2A32F85D89E3A44D410429C00BDEA292689E9D04BBF94C"
      ]
    ],
    "sidechain_transaction": "d6733eeafde719f63a919f8fe9853e3545f2342a",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]
unlocked >>> get_object 1.39.2
get_object 1.39.2
[
  null
]
unlocked >>> 
The latest docker didn't have the new changes, so had to build it locally to test this. ``` unlocked >>> get_object 1.39.0 get_object 1.39.0 [{ "id": "1.39.0", "timestamp": "2023-02-01T16:50:00", "sidechain": "ethereum", "object_id": "1.35.1", "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000", "signers": [{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "5fbbb31be52608d2f52247e8400b7fcaa9e0bc12" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "76ce31bd03f601c3fc13732def921c5bac282676" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "09ee460834498a4ee361beb819470061b7381b49" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "6aefbd09209e1ee2e0a589d31e732f69b77713d2" },{ "son_id": "1.33.4", "weight": 1, "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU", "public_key": "631e128b16f9adcf1bb6385112b1519c917d77a7" } ], "signatures": [[ "1.33.0", "{\n \"v\": \"1c\",\n \"r\": \"9bfb369f531bf6829aaaa5ac84ebc55e39a8a98dd43babe0e1c6ecd834eadde7\",\n \"s\": \"23ead825921c888b175e201666b85a31b0546435bd5ff9448f8b425995ffb343\"\n}\n" ],[ "1.33.1", "{\n \"v\": \"1b\",\n \"r\": \"cf069db0eb206511481e8efda96e22a7bb9d008f50046f94f1ce5347bd8fec8a\",\n \"s\": \"786d2eea61a9dcf6f9459b9a97ed0b9746057d58eebb45e9664ca5e1ecb5331e\"\n}\n" ],[ "1.33.2", "{\n \"v\": \"1c\",\n \"r\": \"fbfcee4f7ebb91a650e6eaa37781171ed71fd96b010b6cb233e1d006dd80530f\",\n \"s\": \"7b1e97a882eefb6fb6ed229f98feb509b5587ab70f45133916fbbe6048d81bc6\"\n}\n" ],[ "1.33.3", "{\n \"v\": \"1b\",\n \"r\": \"80360e333775c5e219d234e6f9797da539e994a453c934af0b7f967d7ac53053\",\n \"s\": \"4a60d23e9e0715d42f8149335149ff3ef982beb43f9626c5d53d04ab4972a6fe\"\n}\n" ],[ "1.33.4", "" ] ], "sidechain_transaction": "{\n \"result_array\": [\n {\n \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E310000000000000000000000000000000000000000000000000000\",\n \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":1968,\\\"result\\\":\\\"0x0cd0f106745c2b2a2f9da611be4786bd76d9dcc45b49c84d15a48343a68a0978\\\"}\\n\",\n \"transaction_receipt\": \"0x0cd0f106745c2b2a2f9da611be4786bd76d9dcc45b49c84d15a48343a68a0978\"\n }\n ]\n}\n", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] unlocked >>> get_object 1.39.1 get_object 1.39.1 [{ "id": "1.39.1", "timestamp": "2023-02-01T16:50:00", "sidechain": "hive", "object_id": "1.35.2", "transaction": "FE06F8CB923AEC98DA63010A0B736F6E2D6163636F756E740104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000104000000050C736F6E6163636F756E74303101000C736F6E6163636F756E74303201000C736F6E6163636F756E74303301000C736F6E6163636F756E74303401000C736F6E6163636F756E7430350100000003B073061A9B0B28E1BD49492ACD984D3EBF2F8CFD66AABF7AC2159BAE7B57D366000000", "signers": [{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "sonaccount01" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "sonaccount02" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "sonaccount03" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "sonaccount04" },{ "son_id": "1.33.4", "weight": 1, "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU", "public_key": "sonaccount05" } ], "signatures": [[ "1.33.0", "" ],[ "1.33.1", "2050CFBACCDBAB81957D998EC36CFFDF8545A489DAA1056556C7E827F6FC1742D1670491603697C4AFDFD5086AA51DDA8076DC52AB8D8A1992EA0126D6F7C40053" ],[ "1.33.2", "1F31517F6E652C321CBF4DB8C2FC1AC35B936CBF74C875A97685F962A755C4C71154E3FB59DC9ACFAD4C8FFE0B06C77706CBE6943E339F59BF4FE91FE5BC18C7F6" ],[ "1.33.3", "1F38A5F8038A7A4C2391C931AE65514C2EF723EDE7DB4DD749583B72338BD9CD915AC6AA94702092D856D6606DF83288413852DAD4EDE42BF2CF7B502A8074F1FB" ],[ "1.33.4", "2002B3689314FF586D2E24F6FD67E35CE6449985009E8CA5BA93518EFE7B7E2C4A36DC1398E819BC33ED2A32F85D89E3A44D410429C00BDEA292689E9D04BBF94C" ] ], "sidechain_transaction": "d6733eeafde719f63a919f8fe9853e3545f2342a", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] unlocked >>> get_object 1.39.2 get_object 1.39.2 [ null ] unlocked >>> ```
prandnum (Migrated from gitlab.com) closed this issue 2023-02-01 16:53:42 +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#500
No description provided.