mirror of
https://github.com/luxfi/genesis.git
synced 2026-07-27 05:54:08 +00:00
- types.go: drop AllocationJSON.UnmarshalJSON legacy alias remapping; drop UnparsedAllocation/UnparsedStaker type aliases; drop formatBech32WithChain deprecated helper. - configs: strip ethAddr/luxAddr/avaxAddr/xAddr legacy fields from every shipped JSON shard; rename to canonical evmAddr/utxoAddr only. - configs: add top-level chainId field to every letter-chain shard (mainnet/testnet/devnet/localnet — the test expected this). - localnet/dev: rebuild allocations to canonical 50M LUX per account on X + 50M LUX per account on P (matches mainnet/testnet/devnet). - tests: TestFormatBech32WithChain → TestChainPrefixFormat_KnownVectors, TestGetGenesisLocalnet expects 50M not 10M per allocation, field references updated to evmAddr/utxoAddr. One-and-only-one-way enforced. No deprecated aliases. New code MUST use EVMAddr/UTXOAddr, ChainPrefix.Format, UTXOAssetIDFor.
10 lines
206 B
JSON
10 lines
206 B
JSON
{
|
|
"description": "AI verification + attestation",
|
|
"message": "Lux A-Chain Genesis",
|
|
"name": "A-Chain",
|
|
"networkId": 2,
|
|
"timestamp": 1730531602,
|
|
"version": 1,
|
|
"vm": "AIVM",
|
|
"chainId": 96668
|
|
} |