Skip to content

Commit f36d78a

Browse files
committed
fix cli parse args
1 parent 6bb8357 commit f36d78a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

crates/ingress-rpc/src/main.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,13 @@ async fn main() -> anyhow::Result<()> {
131131
address = %addr
132132
);
133133

134-
let rollup_args = RollupArgs {
135-
disable_txpool_gossip: true,
136-
..Default::default()
137-
};
138-
Cli::<OpChainSpecParser, ()>::parse()
134+
Cli::<OpChainSpecParser, Config>::parse()
139135
.run(|builder, _| async move {
140136
let exex_handle = builder
141-
.node(OpNode::new(rollup_args))
137+
.node(OpNode::new(RollupArgs {
138+
disable_txpool_gossip: true,
139+
..Default::default()
140+
}))
142141
.install_exex("tips-rpc-exex", move |ctx| async move {
143142
Ok(RpcExEx::new(ctx, tx_receiver).run())
144143
})

0 commit comments

Comments
 (0)