prysm-pulse/tools/pcli
Radosław Kapka 879e310332
Native Blocks Ep. 2 - Switch usages to new package (#10885)
* panic in SizeSSZ

* moving slowly

* adapt old code to new interfaces

* return interfaces from factory functions

* replace the rest of WrappedSignedBeaconBlock

* WrappedBeaconBlock

* WrappedBeaconBlockBody

* miscellaneous

* Test_BeaconBlockIsNil

* replace usages of BeaconBlockIsNil

* replace usages of mutator

* fix all build errors

* fix some more issues

* mutator changes

* relax assertions when initializing

* revert changes in object_mapping.go

* allow calling Proto on nil

* Revert "allow calling Proto on nil"

This reverts commit ecc84e455381b03d24aec2fa0fa17bddbec71705.

* modify Copy and Proto methods

* remove unused var

* fix block batch tests

* correct BUILD file

* Error when initializing nil objects

* one more error fix

* add missing comma

* rename alias to blocktest

* add logging

* error when SignedBeaconBlock is nil

* fix last test

* import fix

* broken

* working

* test fixes

* reduce complexity of processPendingBlocks

* simplified
2022-08-02 15:30:46 +00:00
..
BUILD.bazel Native Blocks Ep. 2 - Switch usages to new package (#10885) 2022-08-02 15:30:46 +00:00
main.go Native Blocks Ep. 2 - Switch usages to new package (#10885) 2022-08-02 15:30:46 +00:00
README.md Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00

Pcli (Prysm CLI)

This is a utility to help users perform Ethereum consensus specific commands.

Usage

Name:
pcli - A command line utility to run Ethereum consensus specific commands

Usage:
pcli [global options] command [command options] [arguments...]

Commands: help, h Shows a list of commands or help for one command state-transition: state-transition Subcommand to run manual state transitions

Flags:
--help, -h show help (default: false) --version, -v print the version (default: false)

State Transition Subcommand: pcli state-transition - Subcommand to run manual state transitions

State Transition Usage:: pcli state-transition [command options] [arguments...]

State Transition Flags: --block-path value Path to block file(ssz) --pre-state-patch value Path to pre state file(ssz) --expected-post-state-path value Path to expected post state file(ssz) --help, -h show help (default: false)

Example

To use pcli manual state transition:

bazel run //tools/pcli:pcli -- state-transition --block-path /path/to/block.ssz --pre-state-path /path/to/state.ssz