prepare gtest runtime
Based on !168 (merged). Prepares deployment of ĞTest network with chainspecs made of custom genesis and easily customizable client specs (bootnodes...).
Build with
cargo build --features gtest --no-default-features
Run with
# reads genesis from file given in environment variable or generate one if not given
DUNITER_GTEST_GENESIS=./node/specs/gtest_genesis.json ./target/debug/duniter --tmp --alice --chain=gtest_de
# reads genesis and client spec from ./node/specs/gtest_*.json at runtime
./target/debug/duniter --tmp --alice --chain=gtest_live
# hardcoded genesis and client spec from ./node/specs/gtest_*.json at compile time
./target/debug/duniter --tmp --alice --chain=gtest
Edited by Hugo Trentesaux
Merge request reports
Activity
Filter activity
added RN-binary label
assigned to @HugoTrentesaux
mentioned in merge request !170 (merged)
added 19 commits
-
6b7d7ed9...2e943e2b - 3 commits from branch
master
- 2e943e2b...4711be70 - 6 earlier commits
- ecc1c028 - fix json with new format
- dd7b66e7 - improve genesis parsing
- 001c7c82 - add checks and improve formatting
- 77a4185f - tuxmain review
- b56b255c - get values of parameters
- 5d0c5b51 - fix smith certification validity
- 0f9df930 - add what is needed to build gtest chainspecs
- bb6e6e74 - refac chainspecs generation
- 5fa435a3 - add embeded client spec and genesis in binary
- 4f0cd1c3 - fix gtest runtime type name
Toggle commit list-
6b7d7ed9...2e943e2b - 3 commits from branch
requested review from @bgallois
mentioned in commit 5d8ba754
Please register or sign in to reply