core/state_transition.go: eip-2 comment

This commit is contained in:
smin-k 2024-04-05 17:37:52 +09:00
parent b7165cea9c
commit fb8d3fa476

View file

@ -71,6 +71,7 @@ func (result *ExecutionResult) Revert() []byte {
func IntrinsicGas(data []byte, accessList types.AccessList, isContractCreation bool, isHomestead, isEIP2028, isEIP3860 bool) (uint64, error) {
// Set the starting gas for the raw transaction
var gas uint64
//eip2: 계약 생성 트랜잭션의 경우 가스비를 추가함.
if isContractCreation && isHomestead {
gas = params.TxGasContractCreation
} else {