lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

pool_correction.v1.json (7353B)


      1 {
      2   "provenance": "Synthetic complete correction cases. Independent Python sorted ASCII schema keys, compact UTF-8 strings and string-only exact numbers implement this RFC8785 subset, not general JCS. Exact command/approval domain prefixes include NUL. No Rust serializer or hashing helper is called.",
      3   "oracle_python": "3.14.7 (main, Sep 29 2026, 14:50:11) [Clang 22.1.3 ]",
      4   "cases": [
      5     {
      6       "wire": {
      7         "type": "stock.adjust",
      8         "context": {
      9           "actor": {
     10             "grant_id": "0303030303030303030303030303030303030303030303030303030303030303",
     11             "organization": null,
     12             "participant": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     13             "role": "seller"
     14           },
     15           "approval": null,
     16           "authority": {
     17             "executor_id": "0202020202020202020202020202020202020202020202020202020202020202",
     18             "generation": "1"
     19           },
     20           "correlation_id": null,
     21           "expected": null,
     22           "not_after": "200",
     23           "operation_id": "0707070707070707070707070707070707070707070707070707070707070707",
     24           "route_digest": "0606060606060606060606060606060606060606060606060606060606060606",
     25           "workspace_id": "0101010101010101010101010101010101010101010101010101010101010101"
     26         },
     27         "input": {
     28           "amount": "0.125",
     29           "expected_version": "1",
     30           "pool_id": "0808080808080808080808080808080808080808080808080808080808080808",
     31           "reason": "counted 🥕\nexactly",
     32           "direction": "add"
     33         }
     34       },
     35       "semantic_canonical_utf8": "{\"context\":{\"actor\":{\"grant_id\":\"0303030303030303030303030303030303030303030303030303030303030303\",\"organization\":null,\"participant\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"role\":\"seller\"},\"approval\":null,\"authority\":{\"executor_id\":\"0202020202020202020202020202020202020202020202020202020202020202\",\"generation\":\"1\"},\"expected\":null,\"not_after\":\"200\",\"operation_id\":\"0707070707070707070707070707070707070707070707070707070707070707\",\"route_digest\":\"0606060606060606060606060606060606060606060606060606060606060606\",\"workspace_id\":\"0101010101010101010101010101010101010101010101010101010101010101\"},\"input\":{\"amount\":\"0.125\",\"direction\":\"add\",\"expected_version\":\"1\",\"pool_id\":\"0808080808080808080808080808080808080808080808080808080808080808\",\"reason\":\"counted 🥕\\nexactly\"},\"type\":\"stock.adjust\"}",
     36       "command_digest": "5ed1baa9b3d079d98af6bc920cd177706cb7f59387f8cecf84d26f4a02bb048f",
     37       "approval_intent_digest": "2077afe3aa23f87ab4d80c4008c2558bd0f9437f1a29bc8ca2744bf327fb889d"
     38     },
     39     {
     40       "wire": {
     41         "type": "stock.adjust",
     42         "context": {
     43           "actor": {
     44             "grant_id": "0303030303030303030303030303030303030303030303030303030303030303",
     45             "organization": null,
     46             "participant": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     47             "role": "seller"
     48           },
     49           "approval": null,
     50           "authority": {
     51             "executor_id": "0202020202020202020202020202020202020202020202020202020202020202",
     52             "generation": "1"
     53           },
     54           "correlation_id": null,
     55           "expected": null,
     56           "not_after": "200",
     57           "operation_id": "0707070707070707070707070707070707070707070707070707070707070707",
     58           "route_digest": "0606060606060606060606060606060606060606060606060606060606060606",
     59           "workspace_id": "0101010101010101010101010101010101010101010101010101010101010101"
     60         },
     61         "input": {
     62           "amount": "0.125",
     63           "expected_version": "1",
     64           "pool_id": "0808080808080808080808080808080808080808080808080808080808080808",
     65           "reason": "counted 🥕\nexactly",
     66           "direction": "remove"
     67         }
     68       },
     69       "semantic_canonical_utf8": "{\"context\":{\"actor\":{\"grant_id\":\"0303030303030303030303030303030303030303030303030303030303030303\",\"organization\":null,\"participant\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"role\":\"seller\"},\"approval\":null,\"authority\":{\"executor_id\":\"0202020202020202020202020202020202020202020202020202020202020202\",\"generation\":\"1\"},\"expected\":null,\"not_after\":\"200\",\"operation_id\":\"0707070707070707070707070707070707070707070707070707070707070707\",\"route_digest\":\"0606060606060606060606060606060606060606060606060606060606060606\",\"workspace_id\":\"0101010101010101010101010101010101010101010101010101010101010101\"},\"input\":{\"amount\":\"0.125\",\"direction\":\"remove\",\"expected_version\":\"1\",\"pool_id\":\"0808080808080808080808080808080808080808080808080808080808080808\",\"reason\":\"counted 🥕\\nexactly\"},\"type\":\"stock.adjust\"}",
     70       "command_digest": "b881441b181d078638642d53cfec15933d0e21febab551951e50fb4773954761",
     71       "approval_intent_digest": "fe748a41fd6b3230013b2d125866007c6cbc0388ec1f4917ebdcd29403c2ffec"
     72     },
     73     {
     74       "wire": {
     75         "type": "stock.spoil",
     76         "context": {
     77           "actor": {
     78             "grant_id": "0303030303030303030303030303030303030303030303030303030303030303",
     79             "organization": null,
     80             "participant": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     81             "role": "seller"
     82           },
     83           "approval": null,
     84           "authority": {
     85             "executor_id": "0202020202020202020202020202020202020202020202020202020202020202",
     86             "generation": "1"
     87           },
     88           "correlation_id": null,
     89           "expected": null,
     90           "not_after": "200",
     91           "operation_id": "0707070707070707070707070707070707070707070707070707070707070707",
     92           "route_digest": "0606060606060606060606060606060606060606060606060606060606060606",
     93           "workspace_id": "0101010101010101010101010101010101010101010101010101010101010101"
     94         },
     95         "input": {
     96           "amount": "0.125",
     97           "expected_version": "1",
     98           "pool_id": "0808080808080808080808080808080808080808080808080808080808080808",
     99           "reason": "counted 🥕\nexactly"
    100         }
    101       },
    102       "semantic_canonical_utf8": "{\"context\":{\"actor\":{\"grant_id\":\"0303030303030303030303030303030303030303030303030303030303030303\",\"organization\":null,\"participant\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"role\":\"seller\"},\"approval\":null,\"authority\":{\"executor_id\":\"0202020202020202020202020202020202020202020202020202020202020202\",\"generation\":\"1\"},\"expected\":null,\"not_after\":\"200\",\"operation_id\":\"0707070707070707070707070707070707070707070707070707070707070707\",\"route_digest\":\"0606060606060606060606060606060606060606060606060606060606060606\",\"workspace_id\":\"0101010101010101010101010101010101010101010101010101010101010101\"},\"input\":{\"amount\":\"0.125\",\"expected_version\":\"1\",\"pool_id\":\"0808080808080808080808080808080808080808080808080808080808080808\",\"reason\":\"counted 🥕\\nexactly\"},\"type\":\"stock.spoil\"}",
    103       "command_digest": "43a6ab75f03e70446c88765da779d9a761df5f32513c5107f372dda70d1594e8",
    104       "approval_intent_digest": "3745ab07f5927c7033d67ffa21469cfb97bf778b35babb95da173820cb9c9b75"
    105     }
    106   ]
    107 }