diff options
author | Tsachi Herman <tsachi.herman@algorand.com> | 2022-02-23 15:40:51 -0500 |
---|---|---|
committer | Tsachi Herman <tsachi.herman@algorand.com> | 2022-02-23 15:40:51 -0500 |
commit | cefb9f7aef135d766335253c3f0d08acaf303403 (patch) | |
tree | d5aa82c44733599c3b5e5b5910130b38862a61fe | |
parent | b9ce62dde36b7eadd9ad7bd6528d1e19fd9189f1 (diff) |
update error string per CR
-rw-r--r-- | ledger/internal/eval.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ledger/internal/eval.go b/ledger/internal/eval.go index e8fb7b85c..595a12069 100644 --- a/ledger/internal/eval.go +++ b/ledger/internal/eval.go @@ -49,8 +49,10 @@ type LedgerForCowBase interface { // ErrRoundZero is self-explanatory var ErrRoundZero = errors.New("cannot start evaluator for round 0") -// ErrNotInCowCache is returned when a lookup method requests a cached value, but it can't be found -var ErrNotInCowCache = errors.New("can't find object in roundCowBase") +// ErrNotInCowCache is returned when a lookup method requests a cached value, but it can't be found. +// the error is always being invoked by the roundCowBase object, but it would typically propage upstream +// through the roundCowState as a generic "missing object in cache". +var ErrNotInCowCache = errors.New("can't find object in cow cache") // averageEncodedTxnSizeHint is an estimation for the encoded transaction size // which is used for preallocating memory upfront in the payset. Preallocating |