From 696c0ce1a49366bca50b1c9b2fff8557d8b3f065 Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:21:03 -0600 Subject: [PATCH] Revert "core/types: deepcopy ExcessDataGas, DataGasUsed (#27767)" This reverts commit 0c56bf33c0ae732986e42591447732ec7641a3bc. --- core/types/block.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/types/block.go b/core/types/block.go index b8478e5a1086a..e1f1feb7a2ec3 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -284,14 +284,6 @@ func CopyHeader(h *Header) *Header { cpy.WithdrawalsHash = new(common.Hash) *cpy.WithdrawalsHash = *h.WithdrawalsHash } - if h.ExcessDataGas != nil { - cpy.ExcessDataGas = new(uint64) - *cpy.ExcessDataGas = *h.ExcessDataGas - } - if h.DataGasUsed != nil { - cpy.DataGasUsed = new(uint64) - *cpy.DataGasUsed = *h.DataGasUsed - } return &cpy }