nimbus-eth2/ncli
Jacek Sieka 97f4e1fffe
Db1 cont (#2573)
* Revert "Revert "Upgrade database schema" (#2570)"

This reverts commit 6057c2ffb4.

* ssz: fix loading empty lists into existing instances

Not a problem earlier because we didn't reuse instances

* bump nim-eth

* bump nim-web3
2021-05-17 18:37:26 +02:00
..
.gitignore rm ncli_signing_root 2019-12-17 00:06:03 +02:00
README.md update nim-beacon-chain to nimbus-eth2 in beacon_chain/, ncli/, tests/, and README.md (#1843) 2020-10-08 19:02:05 +00:00
e2store.nim e2store: add era format (#2382) 2021-03-15 11:31:39 +01:00
e2store.py e2store: add era format (#2382) 2021-03-15 11:31:39 +01:00
inspector.nim Perform attestation check before broadcast (#2550) 2021-05-10 09:13:36 +02:00
inspector.nim.cfg Move tools (#2370) 2021-03-02 15:02:10 +01:00
logtrace.nim Move tools (#2370) 2021-03-02 15:02:10 +01:00
ncli.nim add attestation stats tool to ncli_db (#2539) 2021-05-07 13:36:21 +02:00
ncli_db.nim Db1 cont (#2573) 2021-05-17 18:37:26 +02:00
ncli_query.nim 12x speedup on state sim with 100k validators sans BLS by caching get_beacon_proposer_index(...) 2020-06-04 17:07:51 +00:00
ncli_slashing.nim Consolidate modules by areas [part 1] (#2365) 2021-03-02 11:27:45 +01:00
nim.cfg minimize imports, specially for spec - cuts 2/3 of ncli build time (#500) 2019-10-25 12:59:56 +02:00
nimquery.nim Move tools (#2370) 2021-03-02 15:02:10 +01:00
resttest-rules.json REST API test framework and tests. (#2492) 2021-04-27 23:46:24 +03:00
resttest.nim REST API test framework and tests. (#2492) 2021-04-27 23:46:24 +03:00

README.md

Introduction

ncli is a set of low level / debugging tools to interact with the nimbus beacon chain specification implementation, simliar to zcli. With it, you explore SSZ, make state transitions and compute hash tree roots.

Tools

  • transition: Perform state transition given a pre-state and a block to apply (both in SSZ format)
  • hash_tree_root: Print tree root of an SSZ object
  • pretty: Pretty-print SSZ object as JSON

Building

Follow the instructions from nimbus-eth2

git clone https://github.com/status-im/nimbus-eth2.git
cd nimbus-eth2
make

Usage

# Build with minimal config
../env.sh nim c -d:const_preset=minimal ncli_transition
# Build with mainnet config
../env.sh nim c -d:const_preset=mainnet ncli_transition

# Run..
./ncli_transition --help