402 Commits

Author SHA1 Message Date
Sosthene
e0bc9e9036 Use PcdSerializable in TryFrom impl for Pcd 2025-07-15 11:26:56 +02:00
Sosthene
14603debb2 Define and implement PcdSerializable trait 2025-07-15 11:26:56 +02:00
Sosthene
d55855710d Add const PCD_VERSION and ZSTD_COMPRESSION_LEVEL 2025-07-15 11:26:56 +02:00
Sosthene
8ab1a7db71 Replace ciborium with zstd 2025-07-15 11:26:56 +02:00
Sosthene
1c159806d9 Don't force ProcessState::public_data type to Record<string, string> 2025-07-15 11:22:05 +02:00
Sosthene
e5802d2855 Add verify_merkle_proof() 2025-06-30 19:41:43 +02:00
Sosthene
3c89b0fb7f Various minor fixes 2025-06-23 17:39:24 +02:00
Sosthene
dd6d93cd34 Make FileBlob pub and reexport js_sys 2025-06-17 15:17:18 +02:00
41b288eed6 Make ciborium serialize generic 2025-06-06 22:45:34 +02:00
58730c48f4 Move hashing into hash mod and refactor hash code 2025-06-06 22:45:17 +02:00
a3cf2517b3 Add const ROLESLABEL 2025-06-06 22:44:24 +02:00
f4baef4145 Add hash mod 2025-06-06 22:44:12 +02:00
d256ac7074 Add is_empty method to Roles 2025-06-06 12:47:55 +02:00
7264e64a4a Separate handling of the files data when encoding pcd 2025-06-06 12:47:34 +02:00
204211f3a3 reexport dependencies 2025-06-03 18:14:49 +02:00
304b1d0cc9 update ProcessState tests 2025-06-03 18:13:16 +02:00
e05929ace1 Update ProcessState 2025-06-03 18:13:06 +02:00
e7df62f9cd Update pcd tests 2025-06-03 18:12:13 +02:00
208449eb72 Add ciborium_serialize helper functions 2025-06-03 18:05:04 +02:00
cded679f4f Pcd is BTreeMap<String, Vec<u8>> 2025-06-03 18:04:27 +02:00
774d675d9c Add ciborium 2025-06-03 18:02:01 +02:00
985e6dcdc9 SpWallet in Device 2025-04-08 16:01:16 +02:00
d69d179439 Add SpWallet 2025-04-08 16:00:39 +02:00
ed78b370fc create_transaction deep refactoring 2025-04-08 16:00:25 +02:00
daff63113a Don't only look last output for commitments 2025-04-08 15:59:49 +02:00
0eaa4497d1 Rm obsolete tests 2025-04-08 15:59:17 +02:00
339b88c785 [bug] actually handle demiurge case 2025-04-05 18:34:55 +02:00
9293a3f5d1 Add TsUnsignedTransaction (wrapper type) 2025-04-04 12:47:42 +02:00
d008101ea9 Add get_balance to Device 2025-04-04 12:47:14 +02:00
f89b79ab5e Add outputs to Device 2025-04-03 15:56:37 +02:00
c3b24b754c Upgrade to latest sp_client 2025-04-03 14:52:18 +02:00
3985896d91 OutPointProcessMap PcdCommitments serialization 2025-04-03 14:52:18 +02:00
a686870e08 Update process tests 2025-03-26 12:38:30 +01:00
0175c793bb ProcessState new slight refactor 2025-03-26 12:38:17 +01:00
78dfebd71a Update dependencies 2025-03-26 12:38:03 +01:00
2d226392dc Add extract_paired_addresses 2025-03-26 12:37:37 +01:00
afc40b4395 Refactor ProcessState validation logic 2025-03-26 12:37:12 +01:00
491f260374 Add handle_pairing 2025-03-26 12:36:26 +01:00
d2a3147120 Refactor handle_obliteration 2025-03-26 12:36:06 +01:00
614849db78 Rm list_modified_states 2025-03-26 12:35:24 +01:00
0ecf627bf8 Update tests 2025-03-26 12:34:52 +01:00
e421b5d7d9 Implement get_mut for Roles 2025-03-26 12:31:22 +01:00
6c65a6d184 More check on quorum for ValidationRule 2025-03-26 12:31:05 +01:00
ee2fddbd4f Implement contains_key for PcdCommitments + change keys() return value 2025-03-26 12:30:44 +01:00
a85551773b derive from_wasm_abi for Pcd 2025-03-26 12:29:22 +01:00
f69fc1587e PcdCommitments new refactor 2025-03-26 12:29:05 +01:00
77618c4061 Add pairing special role + some refactor 2025-03-26 12:27:47 +01:00
f762fb903c Define constants for special roles 2025-03-26 12:27:18 +01:00
f246b5f039 Derive from_wasm_abi for OutPointMemberMap 2025-03-19 15:06:17 +01:00
dd13423c2b Update tests 2025-03-19 11:47:19 +01:00