File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ codegen-units = 1
4040incremental = false
4141
4242[workspace .lints .rust ]
43- unreachable_pub = " warn"
43+ unreachable_pub = " deny"
44+
45+ [workspace .lints .clippy ]
46+ unused_async = " warn"
4447
4548[workspace .dependencies ]
4649reth = { git = " https://github.com/paradigmxyz/reth" , tag = " v1.8.2" }
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ async fn main() -> eyre::Result<()> {
5050 let cli = Cli :: parse ( ) ;
5151
5252 match cli. command {
53- Commands :: Genesis { output } => generate_genesis ( output) . await ,
53+ Commands :: Genesis { output } => generate_genesis ( output) ,
5454 Commands :: Run { validation, .. } => run_system ( validation) . await ,
5555 Commands :: Deposit { address, amount } => {
5656 let engine_api = EngineApi :: with_http ( "http://localhost:4444" ) ;
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ pub trait BlockApi {
205205 ) -> RpcResult < Option < alloy_rpc_types_eth:: Block > > ;
206206}
207207
208- pub async fn generate_genesis ( output : Option < String > ) -> eyre:: Result < ( ) > {
208+ pub fn generate_genesis ( output : Option < String > ) -> eyre:: Result < ( ) > {
209209 // Read the template file
210210 let template = include_str ! ( "artifacts/genesis.json.tmpl" ) ;
211211
You can’t perform that action at this time.
0 commit comments