mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-30 11:13:34 +00:00
Fix Gloas SSZ/JSON decoding for FullBlockContents and PublishBlockRequest
This commit is contained in:
@@ -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: _,
|
||||
|
||||
Reference in New Issue
Block a user