FuelLabs / fuel-core

Rust full node implementation of the Fuel v2 protocol.
Other
57.95k stars 2.79k forks source link

test_context.rs #2249

Closed MarsonKotovi4 closed 1 month ago

MarsonKotovi4 commented 1 month ago

-Removed unnecessary comments and simplified existing ones. -Used more idiomatic Rust patterns (e.g., matches! macro). -Simplified error handling in some places. -Improved formatting for better readability. -Removed some redundant type annotations. -Used more descriptive variable names where appropriate. -Simplified some logic (e.g., in owns_coin method).

xgreenx commented 1 month ago

Thank you for your contribution=) The rustfmt in this PR doesn't follow our requirements and CI will fail. Plus, most of the removed comments are useful since they describe the internal behavior of the code. So I'm closing PR for now until future improvments=)