Skip to content

Commit

Permalink
Update aggregator/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Rohit Narurkar <[email protected]>
  • Loading branch information
dongliangCai and roynalnaruto authored Jun 13, 2024
1 parent 6b4e60a commit d47abc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ and `batch_pi_hash` matches public input.

```
for i in 1 ... n
chunk_pi_hash := keccak(chain_id || prev_state_root || post_state_root || withdraw_root || chunk_data_hash || chunk txdata hash)
chunk_pi_hash := keccak(chain_id || prev_state_root || post_state_root || withdraw_root || chunk_data_hash || chunk_txdata_hash)
```

This is done by computing the RLCs of chunk[i]'s data_hash for `i=0..k`, and then check the RLC matches the one from the keccak table.
Expand Down

0 comments on commit d47abc4

Please sign in to comment.