mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
use hex encoding for record bytes
This commit is contained in:
parent
bd9cd503a1
commit
36ff50845e
1 changed files with 2 additions and 1 deletions
|
|
@ -2,13 +2,14 @@ package bor
|
|||
|
||||
import (
|
||||
"github.com/maticnetwork/bor/common"
|
||||
"github.com/maticnetwork/bor/common/hexutil"
|
||||
)
|
||||
|
||||
// EventRecord represents state record
|
||||
type EventRecord struct {
|
||||
ID uint64 `json:"id" yaml:"id"`
|
||||
Contract common.Address `json:"contract" yaml:"contract"`
|
||||
Data []byte `json:"data" yaml:"data"`
|
||||
Data hexutil.Bytes `json:"data" yaml:"data"`
|
||||
TxHash common.Hash `json:"tx_hash" yaml:"tx_hash"`
|
||||
LogIndex uint64 `json:"log_index" yaml:"log_index"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue