package
0.14.0
Repository: https://github.com/piplabs/story.git
Documentation: pkg.go.dev

# Packages

Command genwrap provides a code generator for ethclient.Client wrapper that adds prometheus metrics and error wrapping.
Package mock is a generated GoMock package.

# Functions

Dial connects a client to the given URL.
LoadJWTHexFile loads a hex encoded JWT secret from the provided file.
MakePayload returns a new fuzzed payload using head as parent if provided.
MockGenesisBlock returns a deterministic genesis block for testing.
MockPayloadID returns a deterministic payload id for the given payload.
NewAuthClient returns a new authenticated JSON-RPc engineClient.
NewClient wraps an *rpc.Client adding metrics and wrapped errors.
NewEngineMock returns a new mock engine API client.
NewFuzzer returns a new fuzzer for valid ethereum types.
WithMockSelfDelegate returns an option to add a deposit event to the mock.
WithRandomErr returns a context that results in random engineMock errors.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Wrapper wraps an ethclient.Client adding metrics and wrapped errors.

# Interfaces

Client defines all ethereum interfaces used in story.
EngineClient defines the Engine API authenticated JSON-RPC endpoints.

# Type aliases

No description provided by the author