Files
Alex Ant 3406fd525f fix(chain): lazy-init builtin registries — global static crashed leap-util (#10)
The genesis registry was a namespace-scope static whose initializer parses
public_key_type values; fc's own static state is not guaranteed to exist at
that point, and every leap-util invocation (even 'version client') aborted
with fc::assert_exception before main() — classic static init order fiasco.
nodeos was unaffected only because the linker never pulls the unused object
file out of the static library.

Both builtin registries (genesis, historical exceptions) now use function-
local statics built on first use.

Co-authored-by: coopops <coopos@coopenomics.world>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-11 00:41:08 +05:00
..
2023-08-14 16:31:20 -04:00
2023-05-08 19:05:32 -05:00
2023-10-04 17:26:30 -05:00
2023-09-05 21:28:53 -04:00