Skip to content

Commit

Permalink
Update execute/exectypes/type_optimizer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Will Winder <[email protected]>
  • Loading branch information
asoliman92 and winder authored Dec 20, 2024
1 parent a85f1c4 commit 8e5e6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execute/exectypes/type_optimizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (op ObservationOptimizer) TruncateObservation(observation Observation) (Obs
})

messageAndTokenDataEncodedSizes := GetEncodedMsgAndTokenDataSizes(obs.Messages, obs.TokenData)
// If the encoded obs is too large, start filtering data.
// While the encoded obs is too large, continue filtering data.
for encodedObsSize > op.maxEncodedSize {
for _, chain := range chains {
commits := obs.CommitReports[chain]
Expand Down

0 comments on commit 8e5e6cb

Please sign in to comment.