Skip to content

Commit

Permalink
SSZ block V2 stack overflow (#5076)
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 2653bee
Author: Paul Hauner <paul@paulhauner.com>
Date:   Mon Jan 22 13:55:31 2024 +1100

    Revert "remove a couple boxes"

    This reverts commit cd3dde7.

commit cd3dde7
Author: realbigsean <seananderson33@GMAIL.com>
Date:   Tue Jan 16 18:03:24 2024 -0500

    remove a couple boxes

commit 8617ac2
Author: realbigsean <seananderson33@GMAIL.com>
Date:   Tue Jan 16 16:37:03 2024 -0500

    box ssz publish
  • Loading branch information
paulhauner committed Jan 22, 2024
1 parent 5244896 commit 0049240
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion beacon_node/http_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4661,8 +4661,10 @@ pub fn serve<T: BeaconChainTypes>(
post_beacon_blocks_ssz
.uor(post_beacon_blocks_v2_ssz)
.uor(post_beacon_blinded_blocks_ssz)
.uor(post_beacon_blinded_blocks_v2_ssz),
.uor(post_beacon_blinded_blocks_v2_ssz)
.boxed(),
)
.boxed()
.uor(post_beacon_blocks)
.uor(post_beacon_blinded_blocks)
.uor(post_beacon_blocks_v2)
Expand Down Expand Up @@ -4694,6 +4696,7 @@ pub fn serve<T: BeaconChainTypes>(
.recover(warp_utils::reject::handle_rejection),
),
)
.boxed()
.recover(warp_utils::reject::handle_rejection)
.with(slog_logging(log.clone()))
.with(prometheus_metrics())
Expand Down

0 comments on commit 0049240

Please sign in to comment.