Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution-layer Block has missing blob-gas-used field #39

Open
cleondz opened this issue Aug 8, 2024 · 1 comment
Open

Execution-layer Block has missing blob-gas-used field #39

cleondz opened this issue Aug 8, 2024 · 1 comment

Comments

@cleondz
Copy link

cleondz commented Aug 8, 2024

Hi guys thanks for this project ,

I'm using this tool to generate a genesis for a local network using geth + lighthouse and I'm not able to generate the validator accounts from my configuration.

Version: v0.32.3-master-4b3498

I'm running the next command :

eth2-testnet-genesis deneb   --config ./zero-network/consensus/testnet/config.yaml   --mnemonics ./mnemonic.yaml   --tranches-dir ./consensus/tranches   --state-output ./consensus/genesis.ssz   --preset-phase0 mainnet   --preset-altair mainnet   --preset-bellatrix mainnet   --preset-capella mainnet   --preset-deneb mainnet   --eth1-config ./genesis.json 

This is the output:

zrnt version: v0.32.3
Using CL MIN_GENESIS_TIME for genesis timestamp
execution-layer Block has missing blob-gas-used field

What could be the issue here? I have the field blobGasUsed in the genesis file :

{
  ... 
  "coinbase": "0x0000000000000000000000000000000000000000",
  "difficulty": "0x20000",
  "extraData": "",
  "gasLimit": "0x2fefd8",
  "nonce": "0x441fe44",
  "timestamp": "0x63A1E047",
  "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "number":"0x0",
  "gasUsed":"0x0",
  "blobGasUsed":"0x0"
}

Thanks in advance!!

@protolambda
Copy link
Owner

Is the dencun fork timestamp set in the genesis.json? Without it the underlying geth code does not construct the Block with blob-gas-used field: https://github.com/ethereum/go-ethereum/blob/941ae33d7e0b36afc2f8551884f555d963de7c6b/core/genesis.go#L457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants