Evm_node_lib_dev_encoding.Transaction_info
type receipt_fields = {
cumulative_gas_used : Ethereum_types.quantity;
effective_gas_price : Ethereum_types.quantity;
gas_used : Ethereum_types.quantity;
logs : Ethereum_types.transaction_log list;
logs_bloom : Ethereum_types.hex;
type_ : Ethereum_types.quantity;
status : Ethereum_types.quantity;
contract_address : Ethereum_types.address option;
}
type object_fields = {
gas : Ethereum_types.quantity;
gas_price : Ethereum_types.quantity;
input : Ethereum_types.hex;
nonce : Ethereum_types.quantity;
value : Ethereum_types.quantity;
v : Ethereum_types.quantity;
r : Ethereum_types.quantity;
s : Ethereum_types.quantity;
}
type t = {
block_hash : Ethereum_types.block_hash;
block_number : Ethereum_types.quantity;
index : Ethereum_types.quantity;
hash : Ethereum_types.hash;
from : Ethereum_types.address;
to_ : Ethereum_types.address option;
receipt_fields : receipt_fields;
object_fields : object_fields;
}
This is the merge of a Transaction_receipt.t
and Ethereum_types.transaction_object
, the goal is to minimize the size on disk to store these information.
val of_receipt_and_object :
Transaction_receipt.t ->
Ethereum_types.legacy_transaction_object ->
t
of_receipt_and_object receipt object_
merges receipt
and object_
into a t
.
val receipt_fields_encoding :
receipt_fields Tezos_base.TzPervasives.Data_encoding.t
val object_fields_encoding :
object_fields Tezos_base.TzPervasives.Data_encoding.t