SON process_primary_wallet happens after heartbeat #496

Closed
opened 2022-12-20 06:27:41 +00:00 by vampik · 14 comments
vampik commented 2022-12-20 06:27:41 +00:00 (Migrated from gitlab.com)

Currently, SON process_primary_wallet happens only after first heartbeat loop. Not after maintenance block.

Need to fix it

Currently, SON `process_primary_wallet` happens only after first heartbeat loop. Not after maintenance block. Need to fix it
vampik commented 2022-12-20 06:27:41 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-12-20 06:27:54 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
vampik commented 2022-12-21 18:01:34 +00:00 (Migrated from gitlab.com)

mentioned in commit f1e7d8370fc97c73642bc590aaa1d84907778e5b

mentioned in commit f1e7d8370fc97c73642bc590aaa1d84907778e5b
vampik commented 2022-12-22 06:55:23 +00:00 (Migrated from gitlab.com)

mentioned in commit e9638f7aec81f04c002665c694a311e49832a288

mentioned in commit e9638f7aec81f04c002665c694a311e49832a288
vampik commented 2022-12-22 13:13:52 +00:00 (Migrated from gitlab.com)

mentioned in merge request !195

mentioned in merge request !195
vampik commented 2022-12-22 13:14:11 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
vampik commented 2022-12-23 10:21:37 +00:00 (Migrated from gitlab.com)

Steps to test:

process_primary_wallet operations executes after maintenance block, not after SON heartbeat

Steps to test: `process_primary_wallet` operations executes after maintenance block, not after SON heartbeat
vampik commented 2022-12-28 07:44:30 +00:00 (Migrated from gitlab.com)

mentioned in commit 68fbd6f40b

mentioned in commit 68fbd6f40bb012bc2c7ceab496f92d7467caa350
serkixenos commented 2022-12-28 07:44:30 +00:00 (Migrated from gitlab.com)

mentioned in commit 2f5e12b28e

mentioned in commit 2f5e12b28e412760ba38631a774d43042110afe5
serkixenos commented 2022-12-28 07:47:29 +00:00 (Migrated from gitlab.com)

assigned to @wsalloum

assigned to @wsalloum
wsalloum commented 2022-12-29 10:47:52 +00:00 (Migrated from gitlab.com)

@vampik not clear to me how to test it, could you explain it?

@vampik not clear to me how to test it, could you explain it?
vampik commented 2022-12-30 05:10:52 +00:00 (Migrated from gitlab.com)

@wsalloum
You need to check that after first maintenance block when executing init-network.sh primary wallet create transaction creates immediately, and not after SONs heartbeat.

After this primary wallet create transaction sidechain transaction object creates. You can change its id by 1.39.X

@wsalloum You need to check that after first maintenance block when executing `init-network.sh` `primary wallet create transaction` creates immediately, and not after SONs heartbeat. After this `primary wallet create transaction` `sidechain transaction object` creates. You can change its id by `1.39.X`
wsalloum commented 2023-01-02 14:52:56 +00:00 (Migrated from gitlab.com)
  • After the first maintenance block
unlocked >>> get_active_sons
get_active_sons
[[
    "bitcoin",[{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "03456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "02d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "0228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866"
      },{
        "son_id": "1.33.4",
        "weight": 1,
        "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU",
        "public_key": "037500441cfb4484da377073459511823b344f1ef0d46bac1efd4c7c466746f666"
      }
    ]
  ],[
    "ethereum",[{
        "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"
      }
    ]
  ],[
    "hive",[{
        "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"
      }
    ]
  ]
]

unlocked >>> get_object 1.39.0
get_object 1.39.0
[{
    "id": "1.39.0",
    "timestamp": "2023-01-02T14:10:12",
    "sidechain": "ethereum",
    "object_id": "1.35.0",
    "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E300000000000000000000000000000000000000000000000000000",
    "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\": \"1b\",\n    \"r\": \"eec034a626b67e389227f2162863e45ceb24217d907e10bbbde7c5169c1d773d\",\n    \"s\": \"69c068a3bff7cefbd3e0d3532ab168e9ea9dffe42a08dfbc8852fcb1067fb096\"\n}\n"
      ],[
        "1.33.1",
        "{\n    \"v\": \"1b\",\n    \"r\": \"4dabd8901598c8a77e40587a52eb8561276145c61121ccf2da1ecffd7e711a9f\",\n    \"s\": \"6086a436d10d8ed89329b3ee65881e0ff695a23d96620efc897414cffc478b95\"\n}\n"
      ],[
        "1.33.2",
        "{\n    \"v\": \"1c\",\n    \"r\": \"80c1ab35cb7b7ea9e7b0fe6809b15df820480b552c5842ea3584e55743496530\",\n    \"s\": \"516e6b051b10d9768330a01b6f056155e534da2dd2f406110e6ba2d24aaac07b\"\n}\n"
      ],[
        "1.33.3",
        "{\n    \"v\": \"1c\",\n    \"r\": \"414271af97c4339c1131bc82e25dbce377057f756b19a8c44e517602dcdb4944\",\n    \"s\": \"66c25a54d392a9c976ef2ace4f6bc88472b72cd1add3ab878f1d0692dcfeb81b\"\n}\n"
      ],[
        "1.33.4",
        ""
      ]
    ],
    "sidechain_transaction": "{\n    \"result_array\": [\n        {\n            \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E300000000000000000000000000000000000000000000000000000\",\n            \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":38,\\\"result\\\":\\\"0x40f8c85984be3b28f1f0332dd99f4e56a711655369f660bb302140dd851ab635\\\"}\\n\",\n            \"transaction_receipt\": \"0x40f8c85984be3b28f1f0332dd99f4e56a711655369f660bb302140dd851ab635\"\n        }\n    ]\n}\n",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]
  • Voting:
  • vote_for_son account01 sonaccount06 bitcoin true true
  • vote_for_son account01 sonaccount06 ethereum true true
  • vote_for_son account01 sonaccount06 hive true true
  • Before the next maintenance block there is no changes on the active sons
  • After the next maintenance block the list has been updated
unlocked >>> get_active_sons 
get_active_sons
[[
    "bitcoin",[{
        "son_id": "1.33.5",
        "weight": 1,
        "signing_key": "TEST7mtTyM2rD18xDTtLTxWhq6W6zFgAgPFu9KHSFNsfWJXZNT8Wc8",
        "public_key": "02ef0d79bfdb99ab0be674b1d5d06c24debd74bffdc28d466633d6668cc281cccf"
      },{
        "son_id": "1.33.0",
        "weight": 1,
        "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL",
        "public_key": "03456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275"
      },{
        "son_id": "1.33.1",
        "weight": 1,
        "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs",
        "public_key": "02d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4"
      },{
        "son_id": "1.33.2",
        "weight": 1,
        "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r",
        "public_key": "025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61"
      },{
        "son_id": "1.33.3",
        "weight": 1,
        "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22",
        "public_key": "0228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866"
      }
    ]
  ],[
    "ethereum",[{
        "son_id": "1.33.5",
        "weight": 1,
        "signing_key": "TEST7mtTyM2rD18xDTtLTxWhq6W6zFgAgPFu9KHSFNsfWJXZNT8Wc8",
        "public_key": "cd5c788e84220e8b8934ea4f1dc6a12009bcc91d"
      },{
        "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"
      }
    ]
  ],[
    "hive",[{
        "son_id": "1.33.5",
        "weight": 1,
        "signing_key": "TEST7mtTyM2rD18xDTtLTxWhq6W6zFgAgPFu9KHSFNsfWJXZNT8Wc8",
        "public_key": "sonaccount06"
      },{
        "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"
      }
    ]
  ]
]

unlocked >>> get_object 1.39.1              
get_object 1.39.1
[{
    "id": "1.39.1",
    "timestamp": "2023-01-02T14:40:12",
    "sidechain": "ethereum",
    "object_id": "1.35.2",
    "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000005000000000000000000000000cd5c788e84220e8b8934ea4f1dc6a12009bcc91d00000000000000000000000000000000000000000000000000000000000000010000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E320000000000000000000000000000000000000000000000000000",
    "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\": \"8e0a2111aa6c51860faf4af5b10f87ea42e19e1aef4d5e8211f1f833e3f886cb\",\n    \"s\": \"6bbf83d34ac5291682a262a63a41a47a19476d6fe4dcfb02546e6781aca45576\"\n}\n"
      ],[
        "1.33.1",
        ""
      ],[
        "1.33.2",
        "{\n    \"v\": \"1b\",\n    \"r\": \"bde5ad3b1dc9f5586480f9b853c58d9d45bb4b69b02606c277e536357bc55277\",\n    \"s\": \"7c40cb9b612ddf5ba31619ef64a83c5c8c9866489bbec03d5066d62f647e49e8\"\n}\n"
      ],[
        "1.33.3",
        "{\n    \"v\": \"1b\",\n    \"r\": \"36c5f47eccc95263098e8039c97f0fa5f31b3994bf3554df2e5db72c0bec9777\",\n    \"s\": \"3c6b43b62c2b999a62bb9baf27bb470f4b8f0da6016cfbbe80c6714a167170d6\"\n}\n"
      ],[
        "1.33.4",
        "{\n    \"v\": \"1b\",\n    \"r\": \"0b43af63e1e91811a16ed7faade026edf901b651db4a5ccda5abab101608dcc3\",\n    \"s\": \"26f499707b02cc8664ac2a25e2e9a2ab6f8da896b87828c14eb7fd5f4f15751a\"\n}\n"
      ]
    ],
    "sidechain_transaction": "{\n    \"result_array\": [\n        {\n            \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000005000000000000000000000000cd5c788e84220e8b8934ea4f1dc6a12009bcc91d00000000000000000000000000000000000000000000000000000000000000010000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E320000000000000000000000000000000000000000000000000000\",\n            \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":856,\\\"result\\\":\\\"0xbb0ab0838e8de0104fe3ee5c810369852e7a795617a2f2238fc66e7d154aafe8\\\"}\\n\",\n            \"transaction_receipt\": \"0xbb0ab0838e8de0104fe3ee5c810369852e7a795617a2f2238fc66e7d154aafe8\"\n        }\n    ]\n}\n",
    "total_weight": 5,
    "current_weight": 4,
    "threshold": 4,
    "status": "settled"
  }
]

- After the first maintenance block ``` unlocked >>> get_active_sons get_active_sons [[ "bitcoin",[{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "03456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "02d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "0228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866" },{ "son_id": "1.33.4", "weight": 1, "signing_key": "TEST68bX5bB16GkEAig6w2WTh9NbM9nHa66CemnDRx2njRY9bbWXhU", "public_key": "037500441cfb4484da377073459511823b344f1ef0d46bac1efd4c7c466746f666" } ] ],[ "ethereum",[{ "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" } ] ],[ "hive",[{ "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" } ] ] ] ``` ``` unlocked >>> get_object 1.39.0 get_object 1.39.0 [{ "id": "1.39.0", "timestamp": "2023-01-02T14:10:12", "sidechain": "ethereum", "object_id": "1.35.0", "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E300000000000000000000000000000000000000000000000000000", "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\": \"1b\",\n \"r\": \"eec034a626b67e389227f2162863e45ceb24217d907e10bbbde7c5169c1d773d\",\n \"s\": \"69c068a3bff7cefbd3e0d3532ab168e9ea9dffe42a08dfbc8852fcb1067fb096\"\n}\n" ],[ "1.33.1", "{\n \"v\": \"1b\",\n \"r\": \"4dabd8901598c8a77e40587a52eb8561276145c61121ccf2da1ecffd7e711a9f\",\n \"s\": \"6086a436d10d8ed89329b3ee65881e0ff695a23d96620efc897414cffc478b95\"\n}\n" ],[ "1.33.2", "{\n \"v\": \"1c\",\n \"r\": \"80c1ab35cb7b7ea9e7b0fe6809b15df820480b552c5842ea3584e55743496530\",\n \"s\": \"516e6b051b10d9768330a01b6f056155e534da2dd2f406110e6ba2d24aaac07b\"\n}\n" ],[ "1.33.3", "{\n \"v\": \"1c\",\n \"r\": \"414271af97c4339c1131bc82e25dbce377057f756b19a8c44e517602dcdb4944\",\n \"s\": \"66c25a54d392a9c976ef2ace4f6bc88472b72cd1add3ab878f1d0692dcfeb81b\"\n}\n" ],[ "1.33.4", "" ] ], "sidechain_transaction": "{\n \"result_array\": [\n {\n \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000050000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d20000000000000000000000000000000000000000000000000000000000000001000000000000000000000000631e128b16f9adcf1bb6385112b1519c917d77a700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E300000000000000000000000000000000000000000000000000000\",\n \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":38,\\\"result\\\":\\\"0x40f8c85984be3b28f1f0332dd99f4e56a711655369f660bb302140dd851ab635\\\"}\\n\",\n \"transaction_receipt\": \"0x40f8c85984be3b28f1f0332dd99f4e56a711655369f660bb302140dd851ab635\"\n }\n ]\n}\n", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] ``` - Voting: - `vote_for_son account01 sonaccount06 bitcoin true true` - `vote_for_son account01 sonaccount06 ethereum true true` - `vote_for_son account01 sonaccount06 hive true true` - Before the next maintenance block there is no changes on the active sons - After the next maintenance block the list has been updated ``` unlocked >>> get_active_sons get_active_sons [[ "bitcoin",[{ "son_id": "1.33.5", "weight": 1, "signing_key": "TEST7mtTyM2rD18xDTtLTxWhq6W6zFgAgPFu9KHSFNsfWJXZNT8Wc8", "public_key": "02ef0d79bfdb99ab0be674b1d5d06c24debd74bffdc28d466633d6668cc281cccf" },{ "son_id": "1.33.0", "weight": 1, "signing_key": "TEST8TCQFzyYDp3DPgWZ24261fMPSCzXxVyoF3miWeTj6JTi2DZdrL", "public_key": "03456772301e221026269d3095ab5cb623fc239835b583ae4632f99a15107ef275" },{ "son_id": "1.33.1", "weight": 1, "signing_key": "TEST82qv1LKFvwVKD9pg5JQf6qqwLcoeqUniQjWJ3wKTodyWa7gHUs", "public_key": "02d67c26cf20153fe7625ca1454222d3b3aeb53b122d8a0f7d32a3dd4b2c2016f4" },{ "son_id": "1.33.2", "weight": 1, "signing_key": "TEST6xdp7MrEPnaNK9GuF3KTeTizgGN6JC5nPmxx81higFepSZ8N7r", "public_key": "025f7cfda933516fd590c5a34ad4a68e3143b6f4155a64b3aab2c55fb851150f61" },{ "son_id": "1.33.3", "weight": 1, "signing_key": "TEST55j32Up75gHCxJBPN18vEytL9anDgEVFtsaCii38keGQG71X22", "public_key": "0228155bb1ddcd11c7f14a2752565178023aa963f84ea6b6a052bddebad6fe9866" } ] ],[ "ethereum",[{ "son_id": "1.33.5", "weight": 1, "signing_key": "TEST7mtTyM2rD18xDTtLTxWhq6W6zFgAgPFu9KHSFNsfWJXZNT8Wc8", "public_key": "cd5c788e84220e8b8934ea4f1dc6a12009bcc91d" },{ "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" } ] ],[ "hive",[{ "son_id": "1.33.5", "weight": 1, "signing_key": "TEST7mtTyM2rD18xDTtLTxWhq6W6zFgAgPFu9KHSFNsfWJXZNT8Wc8", "public_key": "sonaccount06" },{ "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" } ] ] ] ``` ``` unlocked >>> get_object 1.39.1 get_object 1.39.1 [{ "id": "1.39.1", "timestamp": "2023-01-02T14:40:12", "sidechain": "ethereum", "object_id": "1.35.2", "transaction": "0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000005000000000000000000000000cd5c788e84220e8b8934ea4f1dc6a12009bcc91d00000000000000000000000000000000000000000000000000000000000000010000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E320000000000000000000000000000000000000000000000000000", "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\": \"8e0a2111aa6c51860faf4af5b10f87ea42e19e1aef4d5e8211f1f833e3f886cb\",\n \"s\": \"6bbf83d34ac5291682a262a63a41a47a19476d6fe4dcfb02546e6781aca45576\"\n}\n" ],[ "1.33.1", "" ],[ "1.33.2", "{\n \"v\": \"1b\",\n \"r\": \"bde5ad3b1dc9f5586480f9b853c58d9d45bb4b69b02606c277e536357bc55277\",\n \"s\": \"7c40cb9b612ddf5ba31619ef64a83c5c8c9866489bbec03d5066d62f647e49e8\"\n}\n" ],[ "1.33.3", "{\n \"v\": \"1b\",\n \"r\": \"36c5f47eccc95263098e8039c97f0fa5f31b3994bf3554df2e5db72c0bec9777\",\n \"s\": \"3c6b43b62c2b999a62bb9baf27bb470f4b8f0da6016cfbbe80c6714a167170d6\"\n}\n" ],[ "1.33.4", "{\n \"v\": \"1b\",\n \"r\": \"0b43af63e1e91811a16ed7faade026edf901b651db4a5ccda5abab101608dcc3\",\n \"s\": \"26f499707b02cc8664ac2a25e2e9a2ab6f8da896b87828c14eb7fd5f4f15751a\"\n}\n" ] ], "sidechain_transaction": "{\n \"result_array\": [\n {\n \"transaction\": \"0x23ab6adf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000005000000000000000000000000cd5c788e84220e8b8934ea4f1dc6a12009bcc91d00000000000000000000000000000000000000000000000000000000000000010000000000000000000000005fbbb31be52608d2f52247e8400b7fcaa9e0bc12000000000000000000000000000000000000000000000000000000000000000100000000000000000000000076ce31bd03f601c3fc13732def921c5bac282676000000000000000000000000000000000000000000000000000000000000000100000000000000000000000009ee460834498a4ee361beb819470061b7381b4900000000000000000000000000000000000000000000000000000000000000010000000000000000000000006aefbd09209e1ee2e0a589d31e732f69b77713d200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000006312E33352E320000000000000000000000000000000000000000000000000000\",\n \"sidechain_transaction\": \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":856,\\\"result\\\":\\\"0xbb0ab0838e8de0104fe3ee5c810369852e7a795617a2f2238fc66e7d154aafe8\\\"}\\n\",\n \"transaction_receipt\": \"0xbb0ab0838e8de0104fe3ee5c810369852e7a795617a2f2238fc66e7d154aafe8\"\n }\n ]\n}\n", "total_weight": 5, "current_weight": 4, "threshold": 4, "status": "settled" } ] ```
vampik commented 2023-01-02 17:10:43 +00:00 (Migrated from gitlab.com)

Closing the issue

Closing the issue
vampik (Migrated from gitlab.com) closed this issue 2023-01-02 17:10:46 +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#496
No description provided.