Skip to content

Commit

Permalink
Fix test vector syntactic correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Dec 21, 2023
1 parent 206b568 commit dff4621
Showing 1 changed file with 30 additions and 9 deletions.
39 changes: 30 additions & 9 deletions tips/TIP-0045/tip-0045.md
Original file line number Diff line number Diff line change
Expand Up @@ -1281,11 +1281,11 @@ Transaction (json-encoded):
"type": 1,
"transaction": {
"networkId": "8342982141227064571",
"creationSlot": 1048576,
"creationSlot": 11,
"contextInputs": [
{
"type": 0,
"commitmentId": "0x3a1e3b617060146e0362361a4b752833186108395f3b2b3d3e6c655e287d70767ea58d2a"
"commitmentId": "0x3a1e3b617060146e0362361a4b752833186108395f3b2b3d3e6c655e287d707601000000"
},
{
"type": 1,
Expand All @@ -1309,13 +1309,13 @@ Transaction (json-encoded):
}
],
"allotments": [
{
"accountId": "0x7e0d0a5848362b23120f55115b096774036d7610137a631413221f5573344507",
"mana": "2285"
},
{
"accountId": "0x476820096e7038107d071a4e473f1e295f346e2d0824263e5e3e7d004f6b6915",
"mana": "2189"
},
{
"accountId": "0x7e0d0a5848362b23120f55115b096774036d7610137a631413221f5573344507",
"mana": "2285"
}
],
"capabilities": "0x01",
Expand Down Expand Up @@ -1362,6 +1362,27 @@ Transaction (json-encoded):
"entries": {
"hello": "0x776f726c64"
}
},
{
"type": 6,
"expirySlot": 4294967295,
"blockIssuerKeys": [
{
"type": 0,
"publicKey": "0x9e05a32eafedefd40298e24ad4f8c334580187f7e9afbd9da13b5ba4007dd1b5"
},
{
"type": 0,
"publicKey": "0xa504844f7a0df2c5101d31696593b309040f8660d41035aba508f24c00668b21"
}
]
},
{
"type": 7,
"stakedAmount": "10000",
"fixedCost": "400",
"startEpoch": 0,
"endEpoch": 4294967295
}
]
}
Expand All @@ -1373,7 +1394,7 @@ Transaction (json-encoded):
"signature": {
"type": 0,
"publicKey": "0x2daefbcbadd044da470acd2f7fcf6fcb04b873cc801e7ee408018e1dfa0257ac",
"signature": "0x469a3426bf88a8ed1a0346892a519e5b56cd8f686b1ce9b904898a62b25a8f96124f4ad3db9b6241fee5be98d067d083e91b2c4ce96e91fb8bc0871443764f00"
"signature": "0x6d22cc707780425e3478518e9d0b66c1e9a08204d7e553cf2417a7089f5860c3ccbe2dc188a6c8a1c7bcdf8944da0ed1849ec162bbc45cc56879e32658a1360c"
}
},
{
Expand All @@ -1387,13 +1408,13 @@ Transaction (json-encoded):
Transaction (hex-encoded binary serialization):

```
0x01fb5c44ef0d3ac873000010000300003a1e3b617060146e0362361a4b752833186108395f3b2b3d3e6c655e287d70767ea58d2a0117432c5a7a672503480241125e3952414a7a320441080c624c264b004e09614a020000020000f09d3cd648a7246c7c1b2ba2f9182465ae5742b78c592392b4b455ab8ed7195200000000000000d2c5ccba12b6fad51652131289867492799c9fc5710244418aa6e955f8fa826100000000000002007e0d0a5848362b23120f55115b096774036d7610137a631413221f5573344507ed08000000000000476820096e7038107d071a4e473f1e295f346e2d0824263e5e3e7d004f6b69158d08000000000000010100000000020000a0860100000000000000000000000000010000ed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a0105086372557616532f714f104e5f44297b7a286d077956291a6d4f59081f484463712a64300c00f46312374981be1400000000000000000000000000000000000000000000000001a0860100000000008813000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000ed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a0103010568656c6c6f0500776f726c6400020000002daefbcbadd044da470acd2f7fcf6fcb04b873cc801e7ee408018e1dfa0257ac469a3426bf88a8ed1a0346892a519e5b56cd8f686b1ce9b904898a62b25a8f96124f4ad3db9b6241fee5be98d067d083e91b2c4ce96e91fb8bc0871443764f00010000
0x01fb5c44ef0d3ac8730b0000000300003a1e3b617060146e0362361a4b752833186108395f3b2b3d3e6c655e287d7076010000000117432c5a7a672503480241125e3952414a7a320441080c624c264b004e09614a020000020000f09d3cd648a7246c7c1b2ba2f9182465ae5742b78c592392b4b455ab8ed7195200000000000000d2c5ccba12b6fad51652131289867492799c9fc5710244418aa6e955f8fa82610000000000000200476820096e7038107d071a4e473f1e295f346e2d0824263e5e3e7d004f6b69158d080000000000007e0d0a5848362b23120f55115b096774036d7610137a631413221f5573344507ed08000000000000010100000000020000a0860100000000000000000000000000010000ed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a0105086372557616532f714f104e5f44297b7a286d077956291a6d4f59081f484463712a64300c00f46312374981be1400000000000000000000000000000000000000000000000001a0860100000000008813000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000ed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a0303010568656c6c6f0500776f726c6406ffffffff02009e05a32eafedefd40298e24ad4f8c334580187f7e9afbd9da13b5ba4007dd1b500a504844f7a0df2c5101d31696593b309040f8660d41035aba508f24c00668b21071027000000000000900100000000000000000000ffffffff00020000002daefbcbadd044da470acd2f7fcf6fcb04b873cc801e7ee408018e1dfa0257ac6d22cc707780425e3478518e9d0b66c1e9a08204d7e553cf2417a7089f5860c3ccbe2dc188a6c8a1c7bcdf8944da0ed1849ec162bbc45cc56879e32658a1360c010000
```

Transaction ID:

```
0x7845f92882df0f16860f1adc076a2c3b6b33416a0eee2fd225f2ac74f6def99b00001000
0x41f9a4798788e17c468b0424d295e89c0646ca92ce6fc87557d113f00bc3486d0b000000
```

## Output ID Proof
Expand Down

0 comments on commit dff4621

Please sign in to comment.