Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Todo list refactors debugging tooling #204

Open
8 tasks
mr-zwets opened this issue Sep 5, 2024 · 0 comments
Open
8 tasks

Todo list refactors debugging tooling #204

mr-zwets opened this issue Sep 5, 2024 · 0 comments
Labels
javascript-sdk Relates to the CashScript JavaScript SDK
Milestone

Comments

@mr-zwets
Copy link
Member

mr-zwets commented Sep 5, 2024

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
@mr-zwets mr-zwets added the javascript-sdk Relates to the CashScript JavaScript SDK label Oct 14, 2024
@mr-zwets mr-zwets added this to the v0.11 milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript-sdk Relates to the CashScript JavaScript SDK
Projects
None yet
Development

No branches or pull requests

1 participant