Printlns in simulation.rs are changed to debugs. by DmytroTym · Pull Request #6 · ZenGo-X/round-based-protocol
Does it compile on your machine? I have this error:
error: unexpected end of macro invocation
--> src/dev/simulation.rs:197:13
|
197 | debug!();
| ^^^^^^^^^ missing tokens in macro arguments
Great! Do you think you could also enable logging in integration tests? Just to demonstrate that it's possible to trace state changes through the execution.
| thiserror = "1.0.23" | ||
| serde = { version = "1.0", features = ["derive"] } | ||
| log = "0.4.14" | ||
| env_logger = "0.9.0" |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need env_logger only for tests, maybe move to [dev-dependencies]?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters