|
355be1e434
|
Rename merkle_root to state_id
|
2025-08-27 13:57:46 +02:00 |
|
|
5716dabbd9
|
Check if we don't have the roles already in clear when validating a state
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
401cc35fe7
|
Various minor fixes
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
029bd6be32
|
[bug] Fix get_state_for_commitments_root
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
d135b8a66f
|
Modify ts type for ProcessState fields
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
f1ba34eddd
|
Remove impending_requests from Process
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
eda4b18770
|
Fix pcd to_sorted_key_values to sort recursively
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
433326f3f6
|
Modify prd update to take the roles map as payload
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
6ec31edc55
|
Add Init Flag
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
09ec91c243
|
Add descriptions field in ProcessState
|
2025-08-27 13:57:45 +02:00 |
|
Sosthene
|
18dd726cce
|
Add Process::get_process_id()
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
66536eaa00
|
Update process tests
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
746821bb98
|
get_state_for_commitments_root mut and immut version
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
ce0e5f7b73
|
Update decrypt_pcd to return Map
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
d24abe967e
|
Add merkle_root to ProcessState and update new()
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
60ff6c1aba
|
Add Pcd::to_sorted_key_values, and hash values with a counter
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
f03b1594af
|
AnkPcdHash from_value_with_outpoint takes &[u8]
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
21ab8723e0
|
Fix process tests
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
37f27c1382
|
Update some calls
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
0d8aaefd12
|
Add new and update_value to ProcessState
|
2025-08-27 13:57:44 +02:00 |
|
Sosthene
|
de93b1e568
|
Fix pcd tests
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
da2cd5d62a
|
Refactor is_hex_string
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
eef48ce834
|
decrypt_all check is the value is clear or a commitment
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
6fbc3f6f4a
|
Encrypt_fields check for existing keys and don't overwrite values
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
e9261c0d62
|
Use commited_in instead of root_commitment as salt
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
46dc67839d
|
Remove dead code
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
f44751f7d7
|
Add storages to RoleDefinition
|
2025-08-27 13:57:43 +02:00 |
|
Sosthene
|
defc715275
|
fix pcd tests
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
928a3d5946
|
[bug] correct hash construction
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
9ec05d2745
|
[bug] implement a from_merkle_root method for ValidationHash instead of from_byte_array
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
13e8b827ec
|
Add is_hexstring to Pcd trait
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
44320fdcf7
|
Remove is_linked() and is_linking() from device
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
47eda1d26c
|
create_merkle_tree() sorts leaves
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
6310ad158e
|
Add RoleDefinition is_member_validation_needed()
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
2c92c9340c
|
Update ValidationRule is_satisfied()
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
e60ef13133
|
Add ValidationRule::allows_modification()
|
2025-08-27 13:57:42 +02:00 |
|
Sosthene
|
ec447ca409
|
Make Pcd::decrypt_fields() replace encrypted by commitments
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
7a8f3c056a
|
Update dependendies in process.rs
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
820e6c7a88
|
Tsify Process
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
76eb1ffc3f
|
Add get_fields_to_validate_for_member()
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
efa0b8fe69
|
Refactor ProcessState is_valid()
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
5834646af6
|
Refactor decrypt_pcd()
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
b205e7ecda
|
Rename compute->list_modified_fields, and slight refactor
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
390b8d176f
|
Update create_merkle_tree
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
66b6ca90c5
|
[bug] ProcessState compute_modified_fields compare hashes instead of ciphers
|
2025-08-27 13:57:41 +02:00 |
|
Sosthene
|
9c52241e90
|
Add get_state_for_commitment_root
|
2025-08-27 13:57:40 +02:00 |
|
Sosthene
|
6cf9752b4c
|
Process::new() creates Process with empty state
|
2025-08-27 13:57:40 +02:00 |
|
Sosthene
|
faf2636680
|
Add SecretsStore methods
|
2025-08-27 13:57:40 +02:00 |
|
Sosthene
|
933c579366
|
confirm_secret_for_address returns the previous secret
|
2025-08-27 13:57:40 +02:00 |
|
Sosthene
|
4412cc00b2
|
Change Proof message to byte array
|
2025-08-27 13:57:40 +02:00 |
|