Skip to content

Commit

Permalink
Add TODO in main for visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Sep 26, 2024
1 parent 5a1988e commit ec57ba6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cairo/programs/os.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ from src.model import model

func main{output_ptr: felt*}() {
tempvar block: model.Block*;
tempvar initial_state: model.State*;
%{ block %}

// 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
// TODO: Compare the final state root hash with block.state_root
return ();
}

0 comments on commit ec57ba6

Please sign in to comment.