Don't force ProcessState::public_data type to Record<string, string>

This commit is contained in:
Sosthene 2025-07-15 11:20:40 +02:00 committed by Nicolas Cantu
parent b656531dd1
commit 338d62b126

View File

@ -24,7 +24,6 @@ pub struct ProcessState {
#[tsify(type = "Record<string, string>")]
pub keys: BTreeMap<String, [u8; 32]>, // We may not always have all the keys
pub validation_tokens: Vec<Proof>, // Signature of the hash of pcd_commitment tagged with some decision like "yes" or "no"
#[tsify(type = "Record<string, string>")]
pub public_data: Pcd,
#[tsify(type = "Record<string, RoleDefinition>")]
pub roles: Roles,