Skip to content

Commit

Permalink
Add State deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Sep 27, 2024
1 parent 223e9d8 commit 7750524
Show file tree
Hide file tree
Showing 8 changed files with 1,713 additions and 1,589 deletions.
3 changes: 2 additions & 1 deletion cairo/programs/os.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ from src.model import model
func main{pedersen_ptr: HashBuiltin*, output_ptr: felt*}() {
%{ dict_manager %}
tempvar block: model.Block*;
tempvar initial_state: model.State*;
tempvar state: model.State*;
%{ block %}
%{ state %}
// TODO: Compute initial state root hash and compare with block.parent_hash
// TODO: Loop through transactions and apply them to the initial state
// TODO: Compute the state root hash after applying all transactions
Expand Down
Loading

0 comments on commit 7750524

Please sign in to comment.