mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
core/state_transition.go: eip-2 comment
This commit is contained in:
parent
b7165cea9c
commit
fb8d3fa476
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue