Merge pull request #226 from AleoHQ/fix/state-file

update state template
This commit is contained in:
Howard Wu 2020-08-14 21:01:07 -07:00 committed by GitHub
commit 5d743f8d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,18 +56,19 @@ root: u8[32] = [0u8; 32];
[[private]] [[private]]
[record] [record]
serial_number: u8[32] = [0u8; 32]; serial_number: u8[64] = [0u8; 64];
commitment: u8[32] = [0u8; 32]; commitment: u8[32] = [0u8; 32];
owner: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8; owner: address = aleo1daxej63vwrmn2zhl4dymygagh89k5d2vaw6rjauueme7le6k2q8sjn0ng9;
is_dummy: bool = false;
value: u64 = 5; value: u64 = 5;
payload: u8[32] = [0u8; 32]; // TBD payload: u8[32] = [0u8; 32];
birth_program_id: u8[32] = [0u8; 32]; birth_program_id: u8[48] = [0u8; 48];
death_program_id: u8[32] = [0u8; 32]; death_program_id: u8[48] = [0u8; 48];
serial_number_nonce: u8[32] = [0u8; 32]; serial_number_nonce: u8[32] = [0u8; 32];
commitment_randomness: u8[32] = [0u8; 32]; commitment_randomness: u8[32] = [0u8; 32];
[state_leaf] [state_leaf]
path: u8[32][2] = [ [0u8; 32], [0u8; 32] ]; path: u8[128] = [0u8; 128];
memo: u8[32] = [0u8; 32]; memo: u8[32] = [0u8; 32];
network_id: u8 = 0; network_id: u8 = 0;
leaf_randomness: u8[32] = [0u8; 32]; leaf_randomness: u8[32] = [0u8; 32];