mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
fcf72a6e8e
* Initial commit. * Add aggregated attestation processing. * Add missing presets file. * Fix compilation error. * Fix post-rebase compilation error. * Satisfy push raises requirement. * Fix sync committee duties retrieval process. * Fix forks configuration management. * Fix deposits to use new fork configuration scheme. * Fix /eth/v2/validator/aggregate_attestation implementation. * Fix RANDAO preparation loop to handle blocks at epoch boundary properly. * Simplification of RANDAO fix. * Fix typo. * Address review comments and fix tests. * Fix incorrect status codes in REST test. * Rework attestation and aggregated attestations processing code. * Address review comments. * Fill committee_index in RegisteredAttestation construction code. * Address review comments part 2. * Address review comments part 3. * use Deneb fork epoch * Add transition from Deneb to Electra into CI finalization test. --------- Co-authored-by: tersec <tersec@users.noreply.github.com>
Introduction
ncli
is a set of low level / debugging tools to interact with the nimbus beacon chain specification implementation, similar 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