Page MenuHomePhabricator

[chronik-client] Support isFinal key for Tx
DraftPublic

Authored by bytesofman on Thu, Nov 21, 04:22.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

TBD

Test Plan

TBD

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