Skip to content
Snippets Groups Projects

prepare gtest runtime

Merged Hugo Trentesaux requested to merge hugo-chainspec into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading