1
1
use crate :: builder:: payload:: SCROLL_DEFAULT_PAYLOAD_SIZE_LIMIT ;
2
2
3
+ use reth_scroll_rpc:: eth:: DEFAULT_MIN_SUGGESTED_PRIORITY_FEE ;
4
+
3
5
/// Rollup arguments for the Scroll node.
4
6
#[ derive( Debug , Clone , clap:: Args ) ]
5
7
pub struct ScrollRollupArgs {
6
8
/// Endpoint for the sequencer mempool (can be both HTTP and WS)
7
9
#[ arg( long = "scroll.sequencer" ) ]
8
10
pub sequencer : Option < String > ,
9
11
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 ) ]
12
15
pub min_suggested_priority_fee : u64 ,
13
16
14
17
/// Payload size limit, default to `122kB`.
@@ -20,7 +23,7 @@ impl Default for ScrollRollupArgs {
20
23
fn default ( ) -> Self {
21
24
Self {
22
25
sequencer : None ,
23
- min_suggested_priority_fee : 1_000_000 ,
26
+ min_suggested_priority_fee : DEFAULT_MIN_SUGGESTED_PRIORITY_FEE ,
24
27
payload_size_limit : SCROLL_DEFAULT_PAYLOAD_SIZE_LIMIT ,
25
28
}
26
29
}
0 commit comments