Skip to content

Conversation

@solidsnakedev
Copy link
Collaborator

Summary

Cleanup of the builders module - removes dead code, duplicate documentation, and stale comments.

Changes

  • Remove unused `useStateMachine` build option - Defined but never read
  • Add NOTE for `maxUtxosToConsolidate` - Documents future consolidation feature in Unfrack
  • Remove commented-out code - Old PhaseContextTag/TxContext remnants
  • Remove duplicate JSDoc comments - Consolidated 6 duplicate comments to 2 (TxBuilderState, TxContext)
  • Remove stale comments in index.ts - Referenced non-existent files (BuildTypes.ts, BuildContext.ts, BuildHelpers.ts)

Copilot AI review requested due to automatic review settings January 19, 2026 16:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs cleanup and refactoring of the builders module by removing dead code, stale comments, and duplicate documentation.

Changes:

  • Removed unused useStateMachine build option that was defined but never read
  • Added implementation NOTE for maxUtxosToConsolidate feature
  • Removed commented-out code and duplicate JSDoc comments

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/evolution/src/sdk/builders/index.ts Removed stale comments referencing non-existent files
packages/evolution/src/sdk/builders/Unfrack.ts Added NOTE clarifying that maxUtxosToConsolidate is not yet implemented
packages/evolution/src/sdk/builders/TransactionBuilder.ts Removed unused useStateMachine option, commented-out code, and consolidated duplicate JSDoc comments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@solidsnakedev solidsnakedev merged commit f3211da into main Jan 19, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants