- Limit lines to under 100 chars
- Always run
cargo +nightly fmtbefore commits
Before commits, run the script scripts/check_line_length.py and fix any errors.
Keep commit messages to a single, short line. Do not commit unless asked to by the user.
cargo test
Do not attempt to compile directly. Instead use the Makefile targets to test as we need to generate a genesis file beofre running.
make testnet_load_test
Note that the build takes a long time, so do not interrupt the build so do not use sleep or timeout when running this test.
The default log location is in
~/.rbft/testnet/logs/
Before pushing.
Run the code style checks.
Run cargo test
Run cargo clippy
Run make testnet_load_test