spectest/

directory
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: GPL-3.0

README

Spec Tests

Spec testing vectors: https://github.com/ethereum/consensus-spec-tests

To run all mainnet spec tests:

bazel test //... --test_tag_filters=spectest

Minimal tests require --define ssz=minimal setting and are not triggered automatically when //... is selected. One can run minimal tests manually, though:

bazel query 'tests(attr("tags", "minimal, spectest", //...))' | xargs bazel test --define ssz=minimal

Directories

Path Synopsis
general
phase0/bls
Package bls includes tests to ensure conformity with the Ethereum BLS cryptography specification.
Package bls includes tests to ensure conformity with the Ethereum BLS cryptography specification.
shared
phase0/shuffling/core/shuffle
Package shuffle contains all conformity specification tests for validator shuffling logic according to the Ethereum Beacon Node spec.
Package shuffle contains all conformity specification tests for validator shuffling logic according to the Ethereum Beacon Node spec.
Package utils allows for easy switching of chain configuration parameters in spec conformity unit tests.
Package utils allows for easy switching of chain configuration parameters in spec conformity unit tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL