Skip to content

Commit

Permalink
update mocktracer.DetailedEvalErrors to match comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed Nov 18, 2024
1 parent cc7f887 commit a7c9fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/transactions/logic/mocktracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func (d *Tracer) AfterBlock(hdr *bookkeeping.BlockHeader) {
}

// DetailedEvalErrors returns true, enabling detailed errors in tests.
func (d *Tracer) DetailedEvalErrors() bool { return false }
func (d *Tracer) DetailedEvalErrors() bool { return true }

// copyDeltas makes a deep copy of the given ledgercore.StateDelta pointer, if it's not nil.
// This is inefficient, but it should only be used for testing.
Expand Down

0 comments on commit a7c9fbb

Please sign in to comment.