Skip to content

Commit

Permalink
Update TX ID test vector w/ consistent values
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Dec 13, 2023
1 parent c4c66ec commit efd3adf
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tips/TIP-0045/tip-0045.md
Original file line number Diff line number Diff line change
Expand Up @@ -1280,16 +1280,16 @@ Transaction (json-encoded):
{
"type": 1,
"transaction": {
"networkId": "14147312347886322761",
"networkId": "8342982141227064571",
"creationSlot": 1048576,
"contextInputs": [
{
"type": 1,
"commitmentId": "0x3c3709521a0b0c6d5928645a635159516d1c7933082074024c5f05111c7d4f1a55000000"
"commitmentId": "0x3a1e3b617060146e0362361a4b752833186108395f3b2b3d3e6c655e287d70767ea58d2a"
},
{
"type": 2,
"accountId": "0x387957486f4d5e623a15266655282836167b6b35432f0f112b03465860670127"
"accountId": "0x17432c5a7a672503480241125e3952414a7a320441080c624c264b004e09614a"
},
{
"type": 3,
Expand All @@ -1299,23 +1299,23 @@ Transaction (json-encoded):
"inputs": [
{
"type": 0,
"transactionId": "0x87d8ae3c94e403cb75c3b755fdd521cf389cf5edb3d7d425e7f2da1cdf7fe8dd00000000",
"transactionId": "0xf09d3cd648a7246c7c1b2ba2f9182465ae5742b78c592392b4b455ab8ed7195200000000",
"transactionOutputIndex": 0
},
{
"type": 0,
"transactionId": "0xc65092dd8d4b9740b6af10e9f7735c37f9c36065b8a00286f96226a55718a73c00000000",
"transactionId": "0xd2c5ccba12b6fad51652131289867492799c9fc5710244418aa6e955f8fa826100000000",
"transactionOutputIndex": 0
}
],
"allotments": [
{
"accountId": "0x4c7b105d1032286f594c45622a6d724e751a407154625a574f524b001c09707d",
"mana": "6131"
"accountId": "0x7e0d0a5848362b23120f55115b096774036d7610137a631413221f5573344507",
"mana": "2285"
},
{
"accountId": "0x735b594c2303623d625e3949125a7966796d1e13591d01491d52693c1b717069",
"mana": "5366"
"accountId": "0x476820096e7038107d071a4e473f1e295f346e2d0824263e5e3e7d004f6b6915",
"mana": "2189"
}
],
"capabilities": "0x01",
Expand All @@ -1329,15 +1329,15 @@ Transaction (json-encoded):
"type": 0,
"address": {
"type": 0,
"pubKeyHash": "0x39962151ac0109c4f5f62f59a72cbec19ec9d7e0f00b5b8bd67caf497b913653"
"pubKeyHash": "0xed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a"
}
}
],
"features": [
{
"type": 5,
"id": "0x08065b07165742126157243d111f692a504d325c00224e443f79724b630a1641793f01010c00",
"amount": "0x50745d2c83723e2b"
"id": "0x086372557616532f714f104e5f44297b7a286d077956291a6d4f59081f484463712a64300c00",
"amount": "0x14be8149371263f4"
}
]
},
Expand All @@ -1352,7 +1352,7 @@ Transaction (json-encoded):
"type": 0,
"address": {
"type": 0,
"pubKeyHash": "0x39962151ac0109c4f5f62f59a72cbec19ec9d7e0f00b5b8bd67caf497b913653"
"pubKeyHash": "0xed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a"
}
}
],
Expand All @@ -1372,8 +1372,8 @@ Transaction (json-encoded):
"type": 0,
"signature": {
"type": 0,
"publicKey": "0x62c30511c661dff48f85da4ef3b277986dfd0370165bb25c65e835c6fcdffa78",
"signature": "0x820f8aa63dc815515b888d64ac57d749484a30af8cf723d80bfb977d4d6f9c031568f22fdf6cb295853043088935bb61c3160ea5afeedab75418a94e396f3501"
"publicKey": "0x2daefbcbadd044da470acd2f7fcf6fcb04b873cc801e7ee408018e1dfa0257ac",
"signature": "0x328034c1701ae304fcf69b542ceeacf7aa2e94df6e2191b0e1e345c62c49d4afa5f4f58ccc8fa3d400e8c01a19719cf26820337d5c35d5cb5fcafe6d97eab402"
}
},
{
Expand All @@ -1387,13 +1387,13 @@ Transaction (json-encoded):
Transaction (hex-encoded binary serialization):

```
0x01490443ee9f5955c4000010000300013c3709521a0b0c6d5928645a635159516d1c7933082074024c5f05111c7d4f1a5500000002387957486f4d5e623a15266655282836167b6b35432f0f112b0346586067012703000002000087d8ae3c94e403cb75c3b755fdd521cf389cf5edb3d7d425e7f2da1cdf7fe8dd00000000000000c65092dd8d4b9740b6af10e9f7735c37f9c36065b8a00286f96226a55718a73c00000000000002004c7b105d1032286f594c45622a6d724e751a407154625a574f524b001c09707df317000000000000735b594c2303623d625e3949125a7966796d1e13591d01491d52693c1b717069f614000000000000010100000000020000a086010000000000000000000000000001000039962151ac0109c4f5f62f59a72cbec19ec9d7e0f00b5b8bd67caf497b913653010508065b07165742126157243d111f692a504d325c00224e443f79724b630a1641793f01010c002b3e72832c5d745000000000000000000000000000000000000000000000000001a086010000000000881300000000000000000000000000000000000000000000000000000000000000000000000000000000000001000039962151ac0109c4f5f62f59a72cbec19ec9d7e0f00b5b8bd67caf497b9136530103010568656c6c6f0500776f726c64000200000062c30511c661dff48f85da4ef3b277986dfd0370165bb25c65e835c6fcdffa78820f8aa63dc815515b888d64ac57d749484a30af8cf723d80bfb977d4d6f9c031568f22fdf6cb295853043088935bb61c3160ea5afeedab75418a94e396f3501010000
0x01fb5c44ef0d3ac873000010000300013a1e3b617060146e0362361a4b752833186108395f3b2b3d3e6c655e287d70767ea58d2a0217432c5a7a672503480241125e3952414a7a320441080c624c264b004e09614a030000020000f09d3cd648a7246c7c1b2ba2f9182465ae5742b78c592392b4b455ab8ed7195200000000000000d2c5ccba12b6fad51652131289867492799c9fc5710244418aa6e955f8fa826100000000000002007e0d0a5848362b23120f55115b096774036d7610137a631413221f5573344507ed08000000000000476820096e7038107d071a4e473f1e295f346e2d0824263e5e3e7d004f6b69158d08000000000000010100000000020000a0860100000000000000000000000000010000ed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a0105086372557616532f714f104e5f44297b7a286d077956291a6d4f59081f484463712a64300c00f46312374981be1400000000000000000000000000000000000000000000000001a0860100000000008813000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000ed1484f4d1f7d8c037087fed661dd92faccae1eed3c01182d6fdd6828cea144a0103010568656c6c6f0500776f726c6400020000002daefbcbadd044da470acd2f7fcf6fcb04b873cc801e7ee408018e1dfa0257ac328034c1701ae304fcf69b542ceeacf7aa2e94df6e2191b0e1e345c62c49d4afa5f4f58ccc8fa3d400e8c01a19719cf26820337d5c35d5cb5fcafe6d97eab402010000
```

Transaction ID:

```
0x45efc26ddcbbadb0e58f8f1d220fe50f72cc52c8720a60e7d5aceb826a77f1ce00001000
0x62f7a1a63f3bfd5f0872b9d2689efaa83af530680d849e3383c07c35101dfa6900001000
```

## Output ID Proof
Expand Down

0 comments on commit efd3adf

Please sign in to comment.