Skip to content

Commit

Permalink
updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Hentschel committed Mar 4, 2024
1 parent d36a791 commit a0fff1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model/flow/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ func (ch *Chunk) Checksum() Identifier {
//
// Note that we have to include merkle paths as storage proof for all registers touched (read or written) for
// the _starting_ state of the chunk (i.e. before the chunk computation updates the registers).
// For instance, if an execution state contains three registers: { A: 1, B: 2, C: 3}, and a certain
// chunk has a tx to execute A = A + B, then its chunk data pack should include the merkle
// paths for { A: 1, B: 2 } as storage proof.
// For instance, if an execution state contains three registers: { A: 1, B: 2, C: 3}, and a certain
// chunk has a tx that assigns A = A + B, then its chunk data pack should include the merkle
// paths for { A: 1, B: 2 } as storage proof.
// C is not included because it's neither read or written by the chunk.
// B is included because it's read by the chunk.
// A is included because it's updated by the chunk, and its value 1 is included because it's
Expand Down

0 comments on commit a0fff1a

Please sign in to comment.