Skip to content

Commit

Permalink
Remove async from method
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Aug 21, 2024
1 parent 76afd3e commit c2651ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ sov-state = { path = "../sovereign-sdk/module-system/sov-state" }
citrea-primitives = { path = "../primitives" }

anyhow = { workspace = true }
async-trait = { workspace = true }
borsh = { workspace = true, features = ["rc"] }
clap = { workspace = true, optional = true }
hex = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/evm/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl<C: sov_modules_api::Context> Evm<C> {

/// Handler for: `eth_chainId`
#[rpc_method(name = "eth_chainId")]
pub async fn chain_id(&self, working_set: &mut WorkingSet<C>) -> RpcResult<Option<U64>> {
pub fn chain_id(&self, working_set: &mut WorkingSet<C>) -> RpcResult<Option<U64>> {
tracing::debug!("evm module: eth_chainId");

let chain_id = reth_primitives::U64::from(
Expand Down

0 comments on commit c2651ff

Please sign in to comment.