11use crate :: builder:: payload:: SCROLL_DEFAULT_PAYLOAD_SIZE_LIMIT ;
22
3+ use reth_scroll_rpc:: eth:: DEFAULT_MIN_SUGGESTED_PRIORITY_FEE ;
4+
35/// Rollup arguments for the Scroll node.
46#[ derive( Debug , Clone , clap:: Args ) ]
57pub struct ScrollRollupArgs {
68 /// Endpoint for the sequencer mempool (can be both HTTP and WS)
79 #[ arg( long = "scroll.sequencer" ) ]
810 pub sequencer : Option < String > ,
911
10- /// Minimum suggested priority fee (tip) in wei, default `1_000_000`
11- #[ arg( long = "scroll.min-suggested-priority-fee" , default_value_t = 1_000_000 ) ]
12+ /// Minimum suggested priority fee (tip) in wei, default to
13+ /// [`DEFAULT_MIN_SUGGESTED_PRIORITY_FEE`].
14+ #[ arg( long = "scroll.min-suggested-priority-fee" , default_value_t = DEFAULT_MIN_SUGGESTED_PRIORITY_FEE ) ]
1215 pub min_suggested_priority_fee : u64 ,
1316
1417 /// Payload size limit, default to `122kB`.
@@ -20,7 +23,7 @@ impl Default for ScrollRollupArgs {
2023 fn default ( ) -> Self {
2124 Self {
2225 sequencer : None ,
23- min_suggested_priority_fee : 1_000_000 ,
26+ min_suggested_priority_fee : DEFAULT_MIN_SUGGESTED_PRIORITY_FEE ,
2427 payload_size_limit : SCROLL_DEFAULT_PAYLOAD_SIZE_LIMIT ,
2528 }
2629 }
0 commit comments