lambdaclass / lambda_ethereum_rust

Lambda Ethereum Rust Execution client
Apache License 2.0
173 stars 21 forks source link

Check the discovery service #448

Open fkrause98 opened 1 month ago

fkrause98 commented 1 month ago

Fix/Check

While implementing #436, I stumbled upon the fact that this line seems to block the loop, if this is the case, we should use a select! statement as to not block the scheduler.

MarcosNicolau commented 1 month ago

This is an asynchronous operation, so, as far as I know, it isn't blocking the scheduler. It would be blocking if the socket is from std instead of tokio.