mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 18:42:26 +03:00
Merge pull request #226 from AleoHQ/fix/state-file
update state template
This commit is contained in:
commit
5d743f8d2c
@ -56,18 +56,19 @@ root: u8[32] = [0u8; 32];
|
||||
[[private]]
|
||||
|
||||
[record]
|
||||
serial_number: u8[32] = [0u8; 32];
|
||||
serial_number: u8[64] = [0u8; 64];
|
||||
commitment: u8[32] = [0u8; 32];
|
||||
owner: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
|
||||
owner: address = aleo1daxej63vwrmn2zhl4dymygagh89k5d2vaw6rjauueme7le6k2q8sjn0ng9;
|
||||
is_dummy: bool = false;
|
||||
value: u64 = 5;
|
||||
payload: u8[32] = [0u8; 32]; // TBD
|
||||
birth_program_id: u8[32] = [0u8; 32];
|
||||
death_program_id: u8[32] = [0u8; 32];
|
||||
payload: u8[32] = [0u8; 32];
|
||||
birth_program_id: u8[48] = [0u8; 48];
|
||||
death_program_id: u8[48] = [0u8; 48];
|
||||
serial_number_nonce: u8[32] = [0u8; 32];
|
||||
commitment_randomness: u8[32] = [0u8; 32];
|
||||
|
||||
[state_leaf]
|
||||
path: u8[32][2] = [ [0u8; 32], [0u8; 32] ];
|
||||
path: u8[128] = [0u8; 128];
|
||||
memo: u8[32] = [0u8; 32];
|
||||
network_id: u8 = 0;
|
||||
leaf_randomness: u8[32] = [0u8; 32];
|
||||
|
Loading…
Reference in New Issue
Block a user