Update genesis with real XDC mainnet contract bytecode

- Updated genesis/xdc_mainnet.json with exact data from official XDPoSChain
- Updated genesis/xdc_apothem.json with exact Apothem testnet genesis
- Updated core/genesis_xdc.go with real contract bytecode:
  - Validator contract (0x88) - full bytecode and storage initialization
  - Block signer contract (0x89) - full bytecode and storage
  - Randomize contract (0x90) - full bytecode
  - Multisig contracts (0x99) - full bytecode and storage
- Added all storage initialization slots from official genesis
- Includes proper extraData with initial masternodes
- All contract addresses match XDC mainnet exactly

Sources:
- https://raw.githubusercontent.com/XinFinOrg/XDPoSChain/master/genesis/mainnet.json
- https://raw.githubusercontent.com/XinFinOrg/XDPoSChain/master/genesis/testnet.json
This commit is contained in:
anilchinchawale 2026-01-28 21:21:50 +01:00
parent 26e8cf74fa
commit 0dc883e299
3 changed files with 438 additions and 63 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long