Commit d45d3dc
committed
feat: add compact call_data length prefix to unsigned signing payload
Without the prefix, wasm-dot signing payloads can't be decoded by
polkadot-js/txwrapper, which expects compact(call_data_len) before
the call data. This makes wasm-dot a drop-in replacement for the
legacy builder in any code path that uses TransactionBuilderFactory.from().
signablePayload() (used for signature generation) is unchanged.
BTC-31981 parent d135d0c commit d45d3dc
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| |||
0 commit comments