remove LIMIT 100; method to check continuity of headers returned but doesn't require
the set to start at a specific block number; config for account_transformer; review fixes; update schema
This commit is contained in:
+4
-12
@@ -18,20 +18,12 @@ package core
|
||||
|
||||
type Receipt struct {
|
||||
Bloom string
|
||||
ContractAddress string
|
||||
CumulativeGasUsed uint64
|
||||
GasUsed uint64
|
||||
Logs []Log
|
||||
StateRoot string
|
||||
Status int
|
||||
TxHash string
|
||||
}
|
||||
|
||||
type ReceiptModel struct {
|
||||
ContractAddress string `db:"contract_address"`
|
||||
CumulativeGasUsed string `db:"cumulative_gas_used"`
|
||||
GasUsed string `db:"gas_used"`
|
||||
CumulativeGasUsed uint64 `db:"cumulative_gas_used"`
|
||||
GasUsed uint64 `db:"gas_used"`
|
||||
Logs []Log
|
||||
StateRoot string `db:"state_root"`
|
||||
Status int
|
||||
TxHash string `db:"tx_hash"`
|
||||
Rlp []byte `db:"rlp"`
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ type TransactionModel struct {
|
||||
GasPrice int64 `db:"gas_price"`
|
||||
Hash string
|
||||
Nonce uint64
|
||||
Raw []byte
|
||||
Raw []byte `db:"raw"`
|
||||
Receipt
|
||||
To string `db:"tx_to"`
|
||||
TxIndex int64 `db:"tx_index"`
|
||||
|
||||
Reference in New Issue
Block a user