From 7991d9e2bf7cd1fbbeaa9b4145ae3b97423c977c Mon Sep 17 00:00:00 2001 From: Sina M <1591639+s1na@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:28:05 +0100 Subject: [PATCH] Update core/state_transition.go Co-authored-by: Marius van der Wijden --- core/state_transition.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/state_transition.go b/core/state_transition.go index e0d7813f406f..b8e1e1cf180d 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -66,7 +66,8 @@ func (result *ExecutionResult) Revert() []byte { return common.CopyBytes(result.ReturnData) } -// IntrinsicGas computes the 'intrinsic gas' for a message with the given data. +// IntrinsicGas computes the 'intrinsic gas' and the number of tokens for EIP-7623 +// for a message with the given data. func IntrinsicGas(data []byte, accessList types.AccessList, authList []types.SetCodeAuthorization, isContractCreation, isHomestead, isEIP2028, isEIP3860 bool) (uint64, uint64, error) { // Set the starting gas for the raw transaction var (