Conversation
…/verifast) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…Spend Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…lags Uses a local structural copy of BdkVerifierInterface since the monorepo pins published @bsv/sdk 2.1.3. Build via tsconfig.build.json; full typecheck incl tests via tsconfig.json. Drops ts-standard (TS6-beta project-resolution issue, matches sibling packages with no lint script); type safety covered by tsc. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…valence Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Docs Site Validation requires schema frontmatter on every docs/*.md. These two new files were missing it, failing the docs-validate job. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- flags.ts: replace `1 << 0` with `1` (S7767) - BdkVerifier.ts: use `??=` for lazy module load (S6606) - flags.test.ts: drop redundant `undefined` arg (S4623) - benchmark.ts: top-level await instead of promise chain (S7785) - Transaction.ts: drop unreachable merklePath height lookup in the verifier block (mined txs short-circuit earlier, so it was always the fallback) — removes the uncovered branch flagged by codecov - align verifier test with the fallback-only height Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Frozen install failed on Linux CI (ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY) while passing on macOS. A prior merge left eslint-plugin-es / eslint-utils snapshots pinned to eslint@8.57.1 instead of eslint@10.4.0, leaving the lockfile internally inconsistent for clean Linux resolution. Regenerated with pnpm@10.33.2 inside node:24; verified `pnpm install --frozen-lockfile` passes in that container. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# Conflicts: # pnpm-lock.yaml
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Changes
Core
@bsv/sdk:BdkVerifierInterface(whole-txverifyScripts).Transaction.verify(chainTracker, feeModel, memoryLimit, verifier?)— optional 4th arg. When present, the per-inputSpendloop is bypassed and the whole tx goes to the backend once.Spenduntouched; default path byte-for-byte unchanged.943816(post-Chronicle) when unobtainable.New package
@bsv/verifast:BdkVerifieradapter: marshalstx.toEF()+ per-input UTXO heights + flag bitfield into BDK's embindVerifyScript, frees vectors.flags.ts: TS string flags → BDK uint32 bitfield.Docs: design spec + implementation plan under
docs/superpowers/.Notes
@bsv/sdk2.1.3 for siblings, so verifast tests/bench map@bsv/sdk→ local source (jest/tsx) to see the new signature; build/typecheck viatsc. See spec "Monorepo linkage constraint".bdk-core.wasmbuild (emsdk+boost+openssl) — out of scope here.Test plan
src/transaction/suite green (963 pass, no regressions).🤖 Generated with Claude Code