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
refactor: change Material.metadata from string to Uint8Array
update TypeScript and Rust layers to use Uint8Array/Vec<u8> for metadata instead of hex strings. callers now pass raw bytes directly.
changes:
- TypeScript Material interface: metadata is now Uint8Array
- Rust Material struct: metadata is now Vec<u8>
- MaterialJs WASM wrapper: accepts &[u8] instead of &str
- decode_metadata functions: work with bytes directly (no hex decoding)
- test fixtures: added hexToUint8Array helper and getWestendMetadata()
- custom serde deserializer: handles hex strings (JSON) and byte arrays (WASM)
BTC-3085
0 commit comments