388 Commits

Author SHA1 Message Date
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
818e4d2152 Remove dead code 2025-03-19 11:47:00 +01:00
df5d40ce96 Replace Member with Outpoint in RoleDefinition 2025-03-19 11:46:47 +01:00
b71e3f7525 Remove empty member condition 2025-03-19 11:44:59 +01:00
b5bd076f1e Update tests for obliteration 2025-03-13 14:39:33 +01:00
4429564974 Add process obliteration code 2025-03-13 14:39:13 +01:00
786ea94623 Add PcdCommitments::is_empty() 2025-03-13 14:38:20 +01:00
d8f6915a4a Lift restriction on new CommitMessage that couldn't take validation tokens 2025-03-13 14:38:02 +01:00
7babbc2a74 Rename PcdCommitments::emtpy() to new_empty() 2025-03-13 14:28:51 +01:00
4d9b03ff18 Add Apophis special role 2025-03-13 14:28:08 +01:00
6f786c5cc9 Add a special case in ProcessState::is_valid() for demiurge role 2025-03-12 13:03:50 +01:00
e5024ff019 Add SpecialRoles with Demiurge 2025-03-12 13:03:15 +01:00
bd8ae9183a Complete overhaul of the pcd/process logic, with sensible custom types and less serialization 2025-03-12 10:24:20 +01:00
8c5b2701fa Add crypto generate_key function 2025-03-12 10:20:30 +01:00
506d62d1d3 Add serialization hex_array_btree 2025-03-12 10:20:10 +01:00