Commit graph

1 commit

Author SHA1 Message Date
Arran Schlosberg
c4c2b1ce8d
fix: hookstest.Stub JSON marshalling when persisting ChainConfig (#251)
## Why this should be merged

Allow calls to `core.SetupGenesisBlock()` when `hookstest.Stub` is
registered as a `ChainConfig` extra.

## How this works

Implements `json.Marshaler` and `json.Unmarshaler` interfaces.

## How this was tested

Unit test of the root cause and the desired usage.
2025-12-30 16:21:29 -05:00