diff --git a/cluster/testdata/cluster_definition_v1_0_0.json b/cluster/testdata/cluster_definition_v1_0_0.json index ff6160dd1..b4983d4aa 100644 --- a/cluster/testdata/cluster_definition_v1_0_0.json +++ b/cluster/testdata/cluster_definition_v1_0_0.json @@ -5,15 +5,15 @@ "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", "nonce": 0, - "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgwA=", + "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgxw=", "enr_signature": "+ExxdMt0djZMw9vZaLD3Fy7YV5S7NYsMO1JdoXhvn/8JQnnbGUTr16GdD3u6y+AlWqW31EvsQPhMiSub/9Q2KQA=" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", "nonce": 0, - "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSwA=", - "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwA=" + "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSxw=", + "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwE=" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -26,5 +26,5 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "Q/hyB/eK48gDIMOB39w5dPO6YXPyBXdYUBdUMogRQk4=", - "definition_hash": "DeUA3dlQKEm/JVoX06i1pCzlfVNX0tXYwTnedj4c4kw=" + "definition_hash": "JFLpyGqWz2I+nvf/DGjFCdmVfxDhhD5cgM/GfghyLOA=" } \ No newline at end of file diff --git a/cluster/testdata/cluster_definition_v1_1_0.json b/cluster/testdata/cluster_definition_v1_1_0.json index cef9cc605..f474eed76 100644 --- a/cluster/testdata/cluster_definition_v1_1_0.json +++ b/cluster/testdata/cluster_definition_v1_1_0.json @@ -5,15 +5,15 @@ "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", "nonce": 0, - "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgwA=", + "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgxw=", "enr_signature": "+ExxdMt0djZMw9vZaLD3Fy7YV5S7NYsMO1JdoXhvn/8JQnnbGUTr16GdD3u6y+AlWqW31EvsQPhMiSub/9Q2KQA=" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", "nonce": 0, - "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSwA=", - "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwA=" + "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSxw=", + "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwE=" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -26,5 +26,5 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "SPfGW+v0jczxDLydSSFD8epFYdUkPDxT7ryypIgShzk=", - "definition_hash": "twIIq8wf3Q4KQTA3ND/fx3kiZV5kLrWleMYJKnyJAv8=" + "definition_hash": "NgVnAcVRRmJ8CNi5L3XtB8vGEQvP1ke0L9zDZtKiM50=" } \ No newline at end of file diff --git a/cluster/testdata/cluster_definition_v1_2_0.json b/cluster/testdata/cluster_definition_v1_2_0.json index 2f2d1449c..0fb78cadc 100644 --- a/cluster/testdata/cluster_definition_v1_2_0.json +++ b/cluster/testdata/cluster_definition_v1_2_0.json @@ -4,14 +4,14 @@ { "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", - "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d08300", + "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d0831c", "enr_signature": "0xf84c7174cb7476364cc3dbd968b0f7172ed85794bb358b0c3b525da1786f9fff094279db1944ebd7a19d0f7bbacbe0255aa5b7d44bec40f84c892b9bffd4362900" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", - "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b00", - "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488300" + "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b1c", + "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488301" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -24,5 +24,5 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "0xc7c1c3ed57c51a116b90c3255097559da8fa4b6d24c873ab6b4aa7069aab6d1f", - "definition_hash": "0xa58bf7bc4449bd633d609c66721c6b7803eb700f9ef98b9b69234678901d4ea8" + "definition_hash": "0x3c9a559a7140557f81697ac94d0c7aff52dab44643b0b99df0c09cac35494bf6" } \ No newline at end of file diff --git a/cluster/testdata/cluster_definition_v1_3_0.json b/cluster/testdata/cluster_definition_v1_3_0.json index d866d25fe..28cf06961 100644 --- a/cluster/testdata/cluster_definition_v1_3_0.json +++ b/cluster/testdata/cluster_definition_v1_3_0.json @@ -4,14 +4,14 @@ { "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", - "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d08300", + "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d0831c", "enr_signature": "0xf84c7174cb7476364cc3dbd968b0f7172ed85794bb358b0c3b525da1786f9fff094279db1944ebd7a19d0f7bbacbe0255aa5b7d44bec40f84c892b9bffd4362900" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", - "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b00", - "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488300" + "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b1c", + "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488301" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -24,5 +24,5 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "0xd7b83a8f204e66eb254f1c1bef1a1d79d7e36ef22e27c68af24eb9ab80b69e71", - "definition_hash": "0xa565b76184d4283ed2a80ad62eb3bb0063e09c60dccf79c2409523843ed6393a" + "definition_hash": "0xa5e2496fc1b205b91faf4d593fad534d8041807d3c704edb48b0948a5c04accc" } \ No newline at end of file diff --git a/cluster/testdata/cluster_lock_v1_0_0.json b/cluster/testdata/cluster_lock_v1_0_0.json index 781ff478c..5103a74ac 100644 --- a/cluster/testdata/cluster_lock_v1_0_0.json +++ b/cluster/testdata/cluster_lock_v1_0_0.json @@ -6,15 +6,15 @@ "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", "nonce": 0, - "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgwA=", + "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgxw=", "enr_signature": "+ExxdMt0djZMw9vZaLD3Fy7YV5S7NYsMO1JdoXhvn/8JQnnbGUTr16GdD3u6y+AlWqW31EvsQPhMiSub/9Q2KQA=" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", "nonce": 0, - "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSwA=", - "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwA=" + "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSxw=", + "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwE=" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -27,7 +27,7 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "Q/hyB/eK48gDIMOB39w5dPO6YXPyBXdYUBdUMogRQk4=", - "definition_hash": "DeUA3dlQKEm/JVoX06i1pCzlfVNX0tXYwTnedj4c4kw=" + "definition_hash": "JFLpyGqWz2I+nvf/DGjFCdmVfxDhhD5cgM/GfghyLOA=" }, "distributed_validators": [ { @@ -46,5 +46,5 @@ } ], "signature_aggregate": "ahVqjeVjr6Rn1J3sakDpodAH8DPCgjBhvdDqpZ+OTaY=", - "lock_hash": "Qz73nq86K5gEKG+HYvyg1+azBm2fu/lNiUg4jSts2VY=" + "lock_hash": "ukNKyv+K2W5tSD0r1E3kOwUcssYlZLmJGG2cZ8UAyoY=" } \ No newline at end of file diff --git a/cluster/testdata/cluster_lock_v1_1_0.json b/cluster/testdata/cluster_lock_v1_1_0.json index db603f633..62b5b14e8 100644 --- a/cluster/testdata/cluster_lock_v1_1_0.json +++ b/cluster/testdata/cluster_lock_v1_1_0.json @@ -6,15 +6,15 @@ "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", "nonce": 0, - "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgwA=", + "config_signature": "YyUlP+xzjdep4ov5IRGcFg8HAkSGFbvaCDE/ao62aNIL9QWYdZIeZopb3yx/xIRFktJXK80GaNLWxS9QVOLQgxw=", "enr_signature": "+ExxdMt0djZMw9vZaLD3Fy7YV5S7NYsMO1JdoXhvn/8JQnnbGUTr16GdD3u6y+AlWqW31EvsQPhMiSub/9Q2KQA=" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", "nonce": 0, - "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSwA=", - "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwA=" + "config_signature": "b1s69t4DdDZsRxnkOhsGfYm8fwHx9XOYFlmkT/F6THIVo7U56x5YScYHfbtXIvVxeiiaJm+XZHmBmY6+qJwLSxw=", + "enr_signature": "OXARXoLtb0ElyPpzEeTX3vqSLarneGZn9+k2zU8kq/ffhmuqVgODZ61hRd4e6PSosJk+vfiIOgrYvpw5eLBIgwE=" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -27,7 +27,7 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "SPfGW+v0jczxDLydSSFD8epFYdUkPDxT7ryypIgShzk=", - "definition_hash": "twIIq8wf3Q4KQTA3ND/fx3kiZV5kLrWleMYJKnyJAv8=" + "definition_hash": "NgVnAcVRRmJ8CNi5L3XtB8vGEQvP1ke0L9zDZtKiM50=" }, "distributed_validators": [ { @@ -46,5 +46,5 @@ } ], "signature_aggregate": "ahVqjeVjr6Rn1J3sakDpodAH8DPCgjBhvdDqpZ+OTaY=", - "lock_hash": "mO504TLk0T4N73ABf0TcxbeWlCzQ7G60Oo8SCKLS5z8=" + "lock_hash": "JT+6wiLMjkYfqvl2u0HESCriSuHawHSkIxhvoZ9BrYU=" } \ No newline at end of file diff --git a/cluster/testdata/cluster_lock_v1_2_0.json b/cluster/testdata/cluster_lock_v1_2_0.json index 1a8bf1826..945e544c9 100644 --- a/cluster/testdata/cluster_lock_v1_2_0.json +++ b/cluster/testdata/cluster_lock_v1_2_0.json @@ -5,14 +5,14 @@ { "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", - "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d08300", + "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d0831c", "enr_signature": "0xf84c7174cb7476364cc3dbd968b0f7172ed85794bb358b0c3b525da1786f9fff094279db1944ebd7a19d0f7bbacbe0255aa5b7d44bec40f84c892b9bffd4362900" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", - "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b00", - "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488300" + "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b1c", + "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488301" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -25,7 +25,7 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "0xc7c1c3ed57c51a116b90c3255097559da8fa4b6d24c873ab6b4aa7069aab6d1f", - "definition_hash": "0xa58bf7bc4449bd633d609c66721c6b7803eb700f9ef98b9b69234678901d4ea8" + "definition_hash": "0x3c9a559a7140557f81697ac94d0c7aff52dab44643b0b99df0c09cac35494bf6" }, "distributed_validators": [ { @@ -44,5 +44,5 @@ } ], "signature_aggregate": "0x6a156a8de563afa467d49dec6a40e9a1d007f033c2823061bdd0eaa59f8e4da6", - "lock_hash": "0x8742009a9f6dcf8c6c641d2b88b18dcd35abc5c9cade71762f9761ca6094e60c" + "lock_hash": "0xa6c4c7c3deea1bc0c2926fb2a02e54971eafc400f9811222717f1ceba571e49d" } \ No newline at end of file diff --git a/cluster/testdata/cluster_lock_v1_3_0.json b/cluster/testdata/cluster_lock_v1_3_0.json index 70c416304..a9af36c55 100644 --- a/cluster/testdata/cluster_lock_v1_3_0.json +++ b/cluster/testdata/cluster_lock_v1_3_0.json @@ -5,14 +5,14 @@ { "address": "0xeb9d18a44784045d87f3c67cf22746e995af5a25", "enr": "enr://5fb90badb37c5821b6d95526a41a9504680b4e7c8b763a1b1d49d4955c848621", - "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d08300", + "config_signature": "0x6325253fec738dd7a9e28bf921119c160f0702448615bbda08313f6a8eb668d20bf5059875921e668a5bdf2c7fc4844592d2572bcd0668d2d6c52f5054e2d0831c", "enr_signature": "0xf84c7174cb7476364cc3dbd968b0f7172ed85794bb358b0c3b525da1786f9fff094279db1944ebd7a19d0f7bbacbe0255aa5b7d44bec40f84c892b9bffd4362900" }, { "address": "0x223beea5f4f74391f445d15afd4294040374f692", "enr": "enr://9192c24224e2cafccae3a61fb586b14323a6bc8f9e7df1d929333ff993933bea", - "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b00", - "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488300" + "config_signature": "0x6f5b3af6de0374366c4719e43a1b067d89bc7f01f1f573981659a44ff17a4c7215a3b539eb1e5849c6077dbb5722f5717a289a266f97647981998ebea89c0b4b1c", + "enr_signature": "0x3970115e82ed6f4125c8fa7311e4d7defa922daae7786667f7e936cd4f24abf7df866baa56038367ad6145de1ee8f4a8b0993ebdf8883a0ad8be9c3978b0488301" } ], "uuid": "0194FDC2-FA2F-FCC0-41D3-FF12045B73C8", @@ -25,7 +25,7 @@ "dkg_algorithm": "default", "fork_version": "0x00000002", "config_hash": "0xd7b83a8f204e66eb254f1c1bef1a1d79d7e36ef22e27c68af24eb9ab80b69e71", - "definition_hash": "0xa565b76184d4283ed2a80ad62eb3bb0063e09c60dccf79c2409523843ed6393a" + "definition_hash": "0xa5e2496fc1b205b91faf4d593fad534d8041807d3c704edb48b0948a5c04accc" }, "distributed_validators": [ { @@ -44,5 +44,5 @@ } ], "signature_aggregate": "0x6a156a8de563afa467d49dec6a40e9a1d007f033c2823061bdd0eaa59f8e4da6", - "lock_hash": "0xd70a98eaf55a9d11e91fd001a09d856a240f9eaecd397ff59f6d5fd2a201719d" + "lock_hash": "0x464913c40bb2019bf12ec2020fc976158579c4091c0324126a34e499bb4380ca" } \ No newline at end of file diff --git a/testutil/random.go b/testutil/random.go index 8bf24aea3..d1cfea548 100644 --- a/testutil/random.go +++ b/testutil/random.go @@ -522,12 +522,15 @@ func RandomBitList() bitfield.Bitlist { return resp } -// RandomSecp256k1Signature returns a random secp256k1 ECDSA signature with the last byte set to 0. +// RandomSecp256k1Signature returns a random secp256k1 ECDSA signature with the last byte set to 0, 1, 27 or 28. func RandomSecp256k1Signature() []byte { var resp [65]byte _, _ = rand.Read(resp[:]) - resp[64] = byte(0) + r1 := resp[0] % 2 // 0 or 1 + r2 := 27 * (resp[1] % 2) // 0 or 27 + lastByte := r1 + r2 // 0, 1, 27 or 28 + resp[64] = lastByte return resp[:] }