diff --git a/lib/Cargo.lock b/lib/Cargo.lock index e453a59b2d1..1099d79ee03 100644 --- a/lib/Cargo.lock +++ b/lib/Cargo.lock @@ -160,7 +160,7 @@ dependencies = [ "serde", "serde_json", "sha3", - "syn 2.0.15", + "syn 2.0.18", "tokio", "tonic", "tonic-build", diff --git a/lib/ain-grpc/src/rpc/eth.rs b/lib/ain-grpc/src/rpc/eth.rs index 78847464833..85373f5f512 100644 --- a/lib/ain-grpc/src/rpc/eth.rs +++ b/lib/ain-grpc/src/rpc/eth.rs @@ -301,7 +301,7 @@ impl MetachainRPCServer for MetachainRPCModule { .unwrap_or(data.map(|d| d.0).unwrap_or_default()), gas_limit: gas.unwrap_or(MAX_GAS_PER_BLOCK).as_u64(), access_list: vec![], - block_number: self.block_number_to_u256(block_number), + block_number: self.block_number_to_u256(block_number)?, }) .map_err(|e| Error::Custom(format!("Error calling EVM : {e:?}")))?; Ok(Bytes(data))