File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
bin/reth/src/commands/debug_cmd Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ pub struct Command<C: ChainSpecParser> {
48
48
#[ command( flatten) ]
49
49
env : EnvironmentArgs < C > ,
50
50
51
- /// Overrides the KZG trusted setup by reading from the supplied file.
52
- #[ arg( long, value_name = "PATH" ) ]
53
- trusted_setup_file : Option < PathBuf > ,
54
-
55
51
#[ arg( long) ]
56
52
parent_beacon_block_root : Option < B256 > ,
57
53
@@ -99,16 +95,9 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
99
95
) )
100
96
}
101
97
102
- /// Loads the trusted setup params from a given file path or falls back to
103
- /// `EnvKzgSettings::Default`.
98
+ /// Returns the default KZG settings
104
99
fn kzg_settings ( & self ) -> eyre:: Result < EnvKzgSettings > {
105
- if let Some ( ref trusted_setup_file) = self . trusted_setup_file {
106
- EnvKzgSettings :: load_from_trusted_setup_file ( trusted_setup_file) . wrap_err_with ( || {
107
- format ! ( "Failed to load trusted setup file: {:?}" , trusted_setup_file)
108
- } )
109
- } else {
110
- Ok ( EnvKzgSettings :: Default )
111
- }
100
+ Ok ( EnvKzgSettings :: Default )
112
101
}
113
102
114
103
/// Execute `debug in-memory-merkle` command
Original file line number Diff line number Diff line change @@ -78,9 +78,6 @@ Database:
78
78
--db.read-transaction-timeout <READ_TRANSACTION_TIMEOUT>
79
79
Read transaction timeout in seconds, 0 means no timeout
80
80
81
- --trusted-setup-file <PATH>
82
- Overrides the KZG trusted setup by reading from the supplied file
83
-
84
81
--parent-beacon-block-root <PARENT_BEACON_BLOCK_ROOT>
85
82
86
83
You can’t perform that action at this time.
0 commit comments