Skip to content

Commit c2f5eba

Browse files
author
Andrus Salumets
committed
Fix visibility issues for dist query
1 parent 9138e0a commit c2f5eba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/eth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::sync::Arc;
1515
use crate::utils::keccak256;
1616
/// A wrapper around a transaction and its receipt. The receipt is used to filter
1717
/// bad transactions, so we only compute over valid transactions.
18-
pub(crate) struct TxAndReceipt(Transaction, TransactionReceipt);
18+
pub struct TxAndReceipt(Transaction, TransactionReceipt);
1919

2020
impl TxAndReceipt {
2121
pub fn tx(&self) -> &Transaction {

src/transaction/mpt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const HASH_LENGTH: usize = 32;
4343

4444
/// There are different ways to extract values from a transaction. This enum
4545
/// list some.
46-
pub(crate) enum ExtractionMethod {
46+
pub enum ExtractionMethod {
4747
/// RLPBased decodes each header consecutively and extract the gas value
4848
/// TODO: Currently hardcode that the gas value is 3rd item in the tx list
4949
/// because we use const generics and can't pass the index as a parameter.

0 commit comments

Comments
 (0)