tests/

directory
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0

Directories

Path Synopsis
fuzz
cmd/fuzz command
Command fuzz runs the SSZ fuzzer against generated corpus types.
Command fuzz runs the SSZ fuzzer against generated corpus types.
cmd/generate command
Command generate creates random SSZ-compatible Go types, runs codegen on them, and produces a compilable corpus for the fuzzer.
Command generate creates random SSZ-compatible Go types, runs codegen on them, and produces a compilable corpus for the fuzzer.
corpus
Package corpus contains generated SSZ types for fuzz testing.
Package corpus contains generated SSZ types for fuzz testing.
engine
Package engine implements the core fuzzing logic for comparing SSZ reflection-based and codegen-based implementations.
Package engine implements the core fuzzing logic for comparing SSZ reflection-based and codegen-based implementations.
typegen
Package typegen generates random SSZ-compatible Go struct definitions for fuzz testing.
Package typegen generates random SSZ-compatible Go struct definitions for fuzz testing.
walker
Package walker drives both sszutils.HashWalker implementations over the same generated call sequence and compares what they build.
Package walker drives both sszutils.HashWalker implementations over the same generated call sequence and compares what they build.
Package promomatrix holds a generated matrix of embedding shapes.
Package promomatrix holds a generated matrix of embedding shapes.
Package sizeguard holds the matrix of every construct the code generator forms or bounds a size from, against every generated path that forms one.
Package sizeguard holds the matrix of every construct the code generator forms or bounds a size from, against every generated path that forms one.
Package sszspecs runs the official ethereum/ssz-specs vectors against dynamic-ssz.
Package sszspecs runs the official ethereum/ssz-specs vectors against dynamic-ssz.
descriptor
Package descriptor reads the type descriptors the official SSZ vectors carry.
Package descriptor reads the type descriptors the official SSZ vectors carry.
gen command
Command gen writes the Go types the official SSZ vectors declare.
Command gen writes the Go types the official SSZ vectors declare.

Jump to

Keyboard shortcuts

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