mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-08 21:38:15 -05:00
EIP-7742: Add target_blob_count to block header (#7808)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
This commit is contained in:
@@ -265,6 +265,17 @@ public class GenesisConfigFile {
|
||||
"0x0000000000000000000000000000000000000000000000000000000000000000");
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets target blob count.
|
||||
*
|
||||
* @return the target blob count
|
||||
*/
|
||||
public Optional<String> getTargetBlobCount() {
|
||||
// TODO SLD EIP-7742 not sure if we should use a default value here or enforce any
|
||||
// "pragueAtGenesis" genesis file (used in devnets) to have this value
|
||||
return JsonUtil.getValueAsString(genesisRoot, "targetblobcount");
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets coinbase.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user