Page MenuHomePhabricator

[chronik-client] Support isFinal key for Tx
ClosedPublic

Authored by bytesofman on Nov 21 2024, 04:22.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC824e210996cc: [chronik-client] Support isFinal key for Tx
Summary

Add the now-in-chronik isFinal key to the Tx object returned by chronik-client

Confirm with tests

Update ecash-lib tests and Cashtab types to match the change (otherwise this diff will break those apps).

Test Plan

npm test and CI tests for downstream libs / apps

cd apps/ecash-herald && npm test, works

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Failed tests logs:

====== ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/alp.test.ts:264:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a5021534c5032000747454e455349530000000000000264000000000000000000000001010143534c5032000453454e44e448f2b4bf386acdcd009f7a9efd7453792f1a548de9b0911190ee1e2cbefeb804000000000000e80300000000000000000000dc0500000000"
====== SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:262:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001010453454e44205a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd221340800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:623:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001020453454e44202861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef30800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1 ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:893:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001810453454e442022bf81956c77e83a1e7603660eadaf3f978a5b85cea83bf280fa20fd462af5c70800000000000000010800000000000009c3"

Each failure log is accessible here:
ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP
SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE
SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT
SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1

confine tests to script_endpoints which finalizes a block, add more tests

Failed tests logs:

====== ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/alp.test.ts:264:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a5021534c5032000747454e455349530000000000000264000000000000000000000001010143534c5032000453454e44e448f2b4bf386acdcd009f7a9efd7453792f1a548de9b0911190ee1e2cbefeb804000000000000e80300000000000000000000dc0500000000"
====== SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:262:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001010453454e44205a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd221340800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:623:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001020453454e44202861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef30800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1 ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:893:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001810453454e442022bf81956c77e83a1e7603660eadaf3f978a5b85cea83bf280fa20fd462af5c70800000000000000010800000000000009c3"

Each failure log is accessible here:
ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP
SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE
SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT
SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1

simplify test, confirm passing with rebuilt node

Failed tests logs:

====== ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/alp.test.ts:264:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a5021534c5032000747454e455349530000000000000264000000000000000000000001010143534c5032000453454e44e448f2b4bf386acdcd009f7a9efd7453792f1a548de9b0911190ee1e2cbefeb804000000000000e80300000000000000000000dc0500000000"
====== SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:262:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001010453454e44205a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd221340800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:623:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001020453454e44202861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef30800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1 ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:893:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001810453454e442022bf81956c77e83a1e7603660eadaf3f978a5b85cea83bf280fa20fd462af5c70800000000000000010800000000000009c3"

Each failure log is accessible here:
ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP
SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE
SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT
SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1

Failed tests logs:

====== ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/alp.test.ts:264:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a5021534c5032000747454e455349530000000000000264000000000000000000000001010143534c5032000453454e44e448f2b4bf386acdcd009f7a9efd7453792f1a548de9b0911190ee1e2cbefeb804000000000000e80300000000000000000000dc0500000000"
====== SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:262:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001010453454e44205a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd221340800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:623:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001020453454e44202861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef30800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1 ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:893:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001810453454e442022bf81956c77e83a1e7603660eadaf3f978a5b85cea83bf280fa20fd462af5c70800000000000000010800000000000009c3"

Each failure log is accessible here:
ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP
SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE
SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT
SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1

update ecash-lib tests for new chronik-client

Failed tests logs:

====== ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/alp.test.ts:264:38)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a5021534c5032000747454e455349530000000000000264000000000000000000000001010143534c5032000453454e44e448f2b4bf386acdcd009f7a9efd7453792f1a548de9b0911190ee1e2cbefeb804000000000000e80300000000000000000000dc0500000000"
====== SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:262:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001010453454e44205a002808245882822d785a5d83f37b1f96dc1a0dc1f3be71a3cfd7f72bd221340800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:623:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001020453454e44202861547c024c020b951b6286184730f46df686e8d7574db685cf9b434450bef30800000000000003e80800000000000005dc"
====== SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1 ======
AssertionError: expected { …(12) } to deeply equal { …(11) }
    at Context.<anonymous> (tests/slp.test.ts:893:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

             "value": 10000
           }
         ]
         "isCoinbase": false
      -  "isFinal": false
         "lockTime": 0
         "outputs": [
           {
             "outputScript": "6a04534c500001810453454e442022bf81956c77e83a1e7603660eadaf3f978a5b85cea83bf280fa20fd462af5c70800000000000000010800000000000009c3"

Each failure log is accessible here:
ALP: TxBuilder P2PKH ALP.ALP TxBuilder P2PKH ALP
SLP Integration Test: TxBuilder P2PKH SLP FUNGIBLE.SLP Integration Test TxBuilder P2PKH SLP FUNGIBLE
SLP Integration Test: TxBuilder P2PKH SLP MINT VAULT.SLP Integration Test TxBuilder P2PKH SLP MINT VAULT
SLP Integration Test: TxBuilder P2PKH SLP NFT1.SLP Integration Test TxBuilder P2PKH SLP NFT1

Tail of the build log:

        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 256 |                         txType: 'SEND',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 257 |                         isInvalid: false,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 258 |                         burnSummary: '',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 259 |                         failedColorings: [],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 260 |                         actualBurnAmount: '0',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 261 |                         intentionalBurn: '0',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 262 |                         burnsMintBatons: false,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 263 |                     },
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 264 |                 ],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 265 |                 tokenFailedParsings: [],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 266 |                 tokenStatus: 'TOKEN_STATUS_NORMAL',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 267 |                 parsed: {
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 268 |                     xecTxType: XecTxType.Received,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 269 |                     satoshisSent: 546,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 270 |                     stackArray: [
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 271 |                         '534c5000',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 272 |                         '01',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 273 |                         '53454e44',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 274 |                         '3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 275 |                         '0000000000000001',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 276 |                         '0000000000000377',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 277 |                     ],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 278 |                     recipients: [
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 279 |                         'ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 280 |                     ],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 281 |                 },
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 282 |             },
        | ^^^^^^^^^^^^^^
    283 |             {
    284 |                 txid: '218a1e058ed0fda76573eabf43ad3ded7e7192e42621893a60aaa152ba7f66fe',
    285 |                 version: 2,

Build cashtab-tests failed with exit code 1

Tail of the build log:

        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 256 |                         txType: 'SEND',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 257 |                         isInvalid: false,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 258 |                         burnSummary: '',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 259 |                         failedColorings: [],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 260 |                         actualBurnAmount: '0',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 261 |                         intentionalBurn: '0',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 262 |                         burnsMintBatons: false,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 263 |                     },
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 264 |                 ],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 265 |                 tokenFailedParsings: [],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 266 |                 tokenStatus: 'TOKEN_STATUS_NORMAL',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 267 |                 parsed: {
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 268 |                     xecTxType: XecTxType.Received,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 269 |                     satoshisSent: 546,
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 270 |                     stackArray: [
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 271 |                         '534c5000',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 272 |                         '01',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 273 |                         '53454e44',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 274 |                         '3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 275 |                         '0000000000000001',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 276 |                         '0000000000000377',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 277 |                     ],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 278 |                     recipients: [
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 279 |                         'ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6',
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 280 |                     ],
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 281 |                 },
        | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  > 282 |             },
        | ^^^^^^^^^^^^^^
    283 |             {
    284 |                 txid: '218a1e058ed0fda76573eabf43ad3ded7e7192e42621893a60aaa152ba7f66fe',
    285 |                 version: 2,

Build cashtab-tests failed with exit code 1
bytesofman edited the summary of this revision. (Show Details)
bytesofman edited the test plan for this revision. (Show Details)

also update types in ecash-herald

update types for token-server, update CI to run token-server and ecash-herald tests when chronik-client changes

This revision is now accepted and ready to land.Nov 21 2024, 23:20