Download latest ephemery release
Clear chain data in local geth directory
rm -r chaindata
Build and run geth branch locally
make geth
./build/bin/geth --ephemery --verbosity 4
Generated RLP encoded ephemeryAllocData by running
go run core/mkalloc.go ./ephemery.json
where ephemery.json
includes alloc balances and other static parameters taken from testnet-all/genesis.json
:
"alloc": {
...
},
"coinbase": "0x0000000000000000000000000000000000000000",
"difficulty": "0x01",
"extraData": "",
"gasLimit": "0x1c9c380",
"nonce": "0x1234",
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
❗ Note: generate command will fail if json does not include gasLimit
, difficulty
, alloc
. Note also that some params are repeated in genesis.go
in line with other test networks - presumably for readability purposes (?)
Added the printed output as const ephemeryAllocData
in genesis_alloc.go
; runs now with the flag.
Now to verify it's working correctly with CL client, update the naming in line with specs and prepare draft PR.
Resources:
TODO:
genesis.go
relating to import/use of EphemeryAllocData vs ephemery chain config
minGenesisTimestamp
and genesisDelay
- should these be in genesis.go
or in config.go
?Observations:
extraData
param. For example, Sepolia has ExtraData: []byte("Sepolia, Athens, Attica, Greece!"),