mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-02 11:43:40 +02:00
ship_processor.go: Include hex data in action traces.
This commit is contained in:
parent
0c91290afb
commit
6c9350136c
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/hex"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
@ -37,6 +38,7 @@ func processTraces(traces []*ship.TransactionTraceV0) {
|
||||||
Receiver: act_trace.Receiver,
|
Receiver: act_trace.Receiver,
|
||||||
Contract: act_trace.Act.Account,
|
Contract: act_trace.Act.Account,
|
||||||
Action: act_trace.Act.Name,
|
Action: act_trace.Act.Name,
|
||||||
|
HexData: hex.EncodeToString(act_trace.Act.Data),
|
||||||
}
|
}
|
||||||
|
|
||||||
abi, err := GetAbi(act_trace.Act.Account)
|
abi, err := GetAbi(act_trace.Act.Account)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue