Skip to content

Commit f0e39db

Browse files
committed
gas dimension tracing bugfix: create opcode missing pass-through values
1 parent 2ea6957 commit f0e39db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/tracers/native/gas_dimension_calc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ func calcCreateGas(
565565
AccessListComputationCost: 0,
566566
AccessListStateAccessCost: 0,
567567
IsValueSentWithCall: false,
568-
InitCodeCost: 0,
569-
HashCost: 0,
568+
InitCodeCost: initCodeCost,
569+
HashCost: hashCost,
570570
}, nil
571571
}
572572

0 commit comments

Comments
 (0)