mirror of
https://github.com/luxfi/genesis.git
synced 2026-07-27 05:54:08 +00:00
Renames Allocation.EVMAddr → ETHAddr (json tag `ethAddr`) and KeyInfo.EVMAddr → ETHAddr across pkg/genesis, builder, cmd/genesis, cmd/checkkeys. AllocationJSON drops the legacy `evmAddr` tag entirely — there is no aliasing, no UnmarshalJSON normalizer, no fallback. JSON files and Go code share one canonical pair: ethAddr + utxoAddr. configs/getgenesis_test.go updated to assert against the canonical field. parseAllocations error message says "invalid eth address" to match the new identifier. Tests: ok github.com/luxfi/genesis/builder ok github.com/luxfi/genesis/configs ok github.com/luxfi/genesis/pkg/genesis