Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhiran committed Jan 7, 2025
1 parent 2aee05e commit 7bd6d09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions task/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ func (r *processor) process(taskID common.Hash) error {
proof,
)
slog.Error("router call data", "projectID", t.ProjectID.String(), "taskID", t.ID.String(), "prover", r.account.String(), "deviceId", crypto.PubkeyToAddress(*pubkey).String(), "data", hexutil.Encode(proof))
slog.Error("proof valuses", "param1", hexutil.Encode(proof[0:32*8]),
"param2", hexutil.Encode(proof[32*8:32*10]),
"param3", hexutil.Encode(proof[32*10:32*12]),
"param4", hexutil.Encode(proof[32*12:32*78]),
)
if err != nil {
if jsonErr, ok := err.(rpc.DataError); ok {
errData := jsonErr.ErrorData()
Expand Down

0 comments on commit 7bd6d09

Please sign in to comment.