Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
  • Loading branch information
jsign committed Oct 24, 2024
1 parent 7f57fd9 commit 260d1b1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions core/types/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ func (ew *ExecutionWitness) Equal(other *ExecutionWitness) error {
if err := ew.VerkleProof.Equal(other.VerkleProof); err != nil {
return fmt.Errorf("VerkleProof mismatch: %v", err)
}
// TODO(jsign): commented until execution-spec-test includes parent state root
// in the witness.
// if ew.ParentStateRoot != other.ParentStateRoot {
// return fmt.Errorf("ParentStateRoot mismatch: %v != %v", ew.ParentStateRoot, other.ParentStateRoot)
// }
if ew.ParentStateRoot != other.ParentStateRoot {
return fmt.Errorf("ParentStateRoot mismatch: %v != %v", ew.ParentStateRoot, other.ParentStateRoot)
}
return nil
}

Expand Down

0 comments on commit 260d1b1

Please sign in to comment.