Commit 37c8882
committed
fix: add toJsonFromWasm adapter and metadata-aware parsing fixes
- update wasm-dot tarball with parse-refactor changes:
- Material.metadata is string (hex) matching Substrate RPC wire format
- parseTransaction accepts DotTransaction only (not raw bytes/hex)
- DotTransaction.fromHex/fromBytes accept material for metadata-aware
signed extension parsing
- explainTransaction removed from wasm-dot (now in BitGoJS)
- simplify wasmParser.ts: pass material directly (no type conversion needed)
- remove unused ParsedTransaction import
BTC-0
TICKET: BTC-01 parent 590252c commit 37c8882
3 files changed
Lines changed: 343 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
165 | 179 | | |
166 | 180 | | |
167 | 181 | | |
| |||
0 commit comments