You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**What:** Transaction deserialization (for signing) and transaction parsing (decoding instructions) are separate operations with separate entry points. `Transaction.fromBytes()` deserializes for signing. `parseTransaction()` is a standalone function that decodes instructions into structured data.
171
171
172
172
**Why:**
173
-
- Not all use cases need full parsing (e.g., just signing)
174
-
- Parsing can be expensive (especially for complex instruction decoding)
175
-
- Separation of concerns — Transaction is for signing/serialization, parseTransaction is for decoding
173
+
- Separation of concerns: decoding is a protocol-level concept, parsing is a BitGo-level concept
176
174
- Matches wasm-utxo pattern (BitGoPsbt doesn't parse on construction)
0 commit comments