We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e66590c commit ac05476Copy full SHA for ac05476
1 file changed
src/state_transition/types/beacon_state.zig
@@ -596,8 +596,6 @@ pub const BeaconState = union(ForkSeq) {
596
};
597
}
598
599
- // `header` ownership is transferred to BeaconState and will be deinit when state is deinit
600
- // caller must guarantee that `header` is properly initialized and allocated/cloned with `allocator` and no longer used after this call
601
pub fn setLatestExecutionPayloadHeader(self: *BeaconState, header: *const ExecutionPayloadHeader) !void {
602
switch (self.*) {
603
.bellatrix => |*state| try state.setValue("latest_execution_payload_header", &header.bellatrix),
0 commit comments