Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnogo committed Feb 3, 2025
1 parent a5caa29 commit 566f732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/reader/ccip.go
Original file line number Diff line number Diff line change
Expand Up @@ -1900,6 +1900,8 @@ func (r *ccipChainReader) updateFromResults(batchResult types.BatchGetLatestValu
return NogoResponse{}, fmt.Errorf("handle %s results: %w", contract.Name, err)
}

r.lggr.Infow("Result is", "result", result)

// Set the result in the appropriate field using reflection
responseValue := reflect.ValueOf(&response).Elem()
field := responseValue.FieldByName(contract.Name)
Expand All @@ -1908,6 +1910,8 @@ func (r *ccipChainReader) updateFromResults(batchResult types.BatchGetLatestValu
}
}

r.lggr.Infow("Response is", "response", response)

return response, nil
}

Expand Down

0 comments on commit 566f732

Please sign in to comment.