Fix Gloas SSZ/JSON decoding for FullBlockContents and PublishBlockRequest

This commit is contained in:
Jimmy Chen
2026-04-28 17:11:35 +02:00
parent 85b6c4d93f
commit 819bd9a41b
2 changed files with 21 additions and 12 deletions

View File

@@ -13,7 +13,9 @@ pub fn build_block_contents<E: EthSpec>(
}
BeaconBlockResponseWrapper::Full(block) => {
if fork_name.deneb_enabled() {
// TODO(gloas): revisit when produceBlockV4 PR is finalised
// https://github.com/ethereum/beacon-APIs/pull/580
if fork_name.deneb_enabled() && !fork_name.gloas_enabled() {
let BeaconBlockResponse {
block,
state: _,