Skip to content

Todo list refactors debugging tooling #204

Open
@mr-zwets

Description

@mr-zwets

after finishing #172 there are still refactors of the code that we want to do

  • Make bitauthUri required in FailedTransactionError once the advanced transaction builder supports debugging
  • In generateTemplateScenarios, make currentBlockHeight and currentBlockTime configurable
  • In generateTemplateScenarioTransaction, use zip() to merge libauth input and cashscript input, instead of using [index]
  • In LibauthTemplate.ts, see if we can merge formatBytecodeForDebugging with the code from @cashscript/utils -> script.ts
  • Investigate refactoring / moving serialiseTokenDetails in LibauthTemplate.ts
  • Investigate if we change the buildTemplate signature so we don't need to pass in both transaction and transactionHex?

other:

  • audit changes to syntax highlighting plugin
  • reach out to have syntax highlighting plugin updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    javascript-sdkRelates to the CashScript JavaScript SDKrefactorInternal refactoring

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions