Sosthene
|
4671eea753
|
Update ProcessState implementation with new serialization
|
2025-08-27 13:57:58 +02:00 |
|
Sosthene
|
338d62b126
|
Don't force ProcessState::public_data type to Record<string, string>
|
2025-08-27 13:57:57 +02:00 |
|
|
78bdcc2e13
|
update ProcessState tests
|
2025-08-27 13:57:56 +02:00 |
|
|
5cc5eaa4a2
|
Update ProcessState
|
2025-08-27 13:57:56 +02:00 |
|
|
a433400dd4
|
Don't only look last output for commitments
|
2025-08-27 13:57:55 +02:00 |
|
|
dada38ba0e
|
[bug] actually handle demiurge case
|
2025-08-27 13:57:54 +02:00 |
|
|
8eb3baaf9f
|
Upgrade to latest sp_client
|
2025-08-27 13:57:54 +02:00 |
|
|
7403f9261a
|
Update process tests
|
2025-08-27 13:57:53 +02:00 |
|
|
f3da088698
|
ProcessState new slight refactor
|
2025-08-27 13:57:53 +02:00 |
|
|
b848b3bf78
|
Update dependencies
|
2025-08-27 13:57:53 +02:00 |
|
|
8ee6a8e80f
|
Add extract_paired_addresses
|
2025-08-27 13:57:53 +02:00 |
|
|
bbd7e2a2be
|
Refactor ProcessState validation logic
|
2025-08-27 13:57:53 +02:00 |
|
|
416d409fb9
|
Add handle_pairing
|
2025-08-27 13:57:53 +02:00 |
|
|
c59a89fecd
|
Refactor handle_obliteration
|
2025-08-27 13:57:53 +02:00 |
|
|
c89eb6ad35
|
Rm list_modified_states
|
2025-08-27 13:57:52 +02:00 |
|
|
f4bfc6dda6
|
Update tests
|
2025-08-27 13:57:51 +02:00 |
|
|
70616dfc94
|
Replace Member with Outpoint in RoleDefinition
|
2025-08-27 13:57:51 +02:00 |
|
|
feb7c36df2
|
Update tests for obliteration
|
2025-08-27 13:57:51 +02:00 |
|
|
5db6f31b57
|
Add process obliteration code
|
2025-08-27 13:57:51 +02:00 |
|
|
174d52c8a9
|
Add a special case in ProcessState::is_valid() for demiurge role
|
2025-08-27 13:57:50 +02:00 |
|
|
57182efbbc
|
Complete overhaul of the pcd/process logic, with sensible custom types and less serialization
|
2025-08-27 13:57:50 +02:00 |
|
|
58cc5081b2
|
Rename process descriptions to public_data
|
2025-08-27 13:57:49 +02:00 |
|
|
46d405f046
|
Roles is now part of ProcessState out of the pcd
|
2025-08-27 13:57:48 +02:00 |
|
|
ab1c16ff81
|
[bug] update_value also update the state_id
|
2025-08-27 13:57:48 +02:00 |
|
|
d55cba4d9f
|
[bug] remove_all_concurrent_states won't panic if there's no concurrent states
|
2025-08-27 13:57:48 +02:00 |
|
|
1d96f68e0b
|
Add check_tx_for_process_updates
|
2025-08-27 13:57:47 +02:00 |
|
|
ef4fc02598
|
Improve Process impl
|
2025-08-27 13:57:47 +02:00 |
|
|
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
|
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
|
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
|
928a3d5946
|
[bug] correct hash construction
|
2025-08-27 13:57:42 +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
|
66b6ca90c5
|
[bug] ProcessState compute_modified_fields compare hashes instead of ciphers
|
2025-08-27 13:57:41 +02:00 |
|