chore: make trace builder ctrs public (#5672)

This commit is contained in:
Bjerg
2023-12-04 13:59:10 +01:00
committed by GitHub
parent caa7b92518
commit 6f7d6d5016
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ pub struct GethTraceBuilder {
impl GethTraceBuilder {
/// Returns a new instance of the builder
pub(crate) fn new(nodes: Vec<CallTraceNode>, _config: TracingInspectorConfig) -> Self {
pub fn new(nodes: Vec<CallTraceNode>, _config: TracingInspectorConfig) -> Self {
Self { nodes, _config }
}

View File

@ -32,7 +32,7 @@ pub struct ParityTraceBuilder {
impl ParityTraceBuilder {
/// Returns a new instance of the builder
pub(crate) fn new(
pub fn new(
nodes: Vec<CallTraceNode>,
spec_id: Option<SpecId>,
_config: TracingInspectorConfig,