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.
19 lines
378 B
JSON
19 lines
378 B
JSON
{
|
|
"aliases": [
|
|
"F",
|
|
"fhe",
|
|
"fhevm"
|
|
],
|
|
"description": "Threshold FHE encrypted compute (ring N=1024 q=12289)",
|
|
"dkgParties": 10,
|
|
"dkgThreshold": 7,
|
|
"message": "Lux T-Chain Genesis",
|
|
"name": "T-Chain",
|
|
"networkId": 3,
|
|
"ringDegreeN": 1024,
|
|
"ringModulusQ": 12289,
|
|
"timestamp": 1730531602,
|
|
"version": 1,
|
|
"vm": "ThresholdVM",
|
|
"chainId": 96870
|
|
} |