Skip to content

Fix/cardano partial sign#15

Merged
ByteZhang1024 merged 2 commits into
asmjsfrom
fix/cardano-partial-sign
Apr 14, 2026
Merged

Fix/cardano partial sign#15
ByteZhang1024 merged 2 commits into
asmjsfrom
fix/cardano-partial-sign

Conversation

@ByteZhang1024

Copy link
Copy Markdown

No description provided.

@revan-zhang

revan-zhang commented Apr 13, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@originalix

Copy link
Copy Markdown

这个是暂时不合入的吧

@ByteZhang1024
ByteZhang1024 enabled auto-merge (squash) April 14, 2026 00:25
Two runtime crashes triggered by CSL 13 API changes that went unnoticed
because the affected code paths (hardware dApp signing with Plutus
reference_inputs or mint) had no real test coverage.

- reference_inputs: CSL 13 TransactionInput.index() returns a JS number
  directly, not a BigNum, so the legacy .to_str() call crashes with
  "not a function". Wrap with String() for safe numeric parsing.

- mint: CSL 13 changed Mint.get(policy) to return MintsAssets — a list
  of MintAssets entries, one per occurrence of that policy in the
  original CBOR, to preserve byte-level round-trip (tx hash stability).
  Iterate the list, then each map, instead of the old single-map access.
@ByteZhang1024
ByteZhang1024 force-pushed the fix/cardano-partial-sign branch from 82b4ebe to 100f676 Compare April 14, 2026 05:39
@ByteZhang1024
ByteZhang1024 merged commit 2874934 into asmjs Apr 14, 2026
8 checks passed
@ByteZhang1024
ByteZhang1024 deleted the fix/cardano-partial-sign branch April 14, 2026 06:35
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.

4 participants