@@ -507,9 +507,11 @@ func TestProcessVerkle(t *testing.T) {
507507 contractCreationCost := intrinsicContractCreationGas +
508508 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + params .WitnessBranchReadCost + params .WitnessBranchWriteCost + /* creation */
509509 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* creation with value */
510- 739 /* execution costs */
510+ params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* code chunk #0 */
511+ 39 /* execution costs */
511512 codeWithExtCodeCopyGas := intrinsicCodeWithExtCodeCopyGas +
512513 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + params .WitnessBranchReadCost + params .WitnessBranchWriteCost + /* creation (tx) */
514+ params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* write code hash */
513515 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + params .WitnessBranchReadCost + params .WitnessBranchWriteCost + /* creation (CREATE at pc=0x20) */
514516 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* write code hash */
515517 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* code chunk #0 */
@@ -546,7 +548,7 @@ func TestProcessVerkle(t *testing.T) {
546548 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* code chunk #12 */
547549 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* code chunk #13 */
548550 params .WitnessChunkReadCost + params .WitnessChunkWriteCost + /* code chunk #14 */
549- 4844 /* execution costs */
551+ 4144 /* execution costs */
550552 blockGasUsagesExpected := []uint64 {
551553 txCost1 * 2 + txCost2 ,
552554 txCost1 * 2 + txCost2 + contractCreationCost + codeWithExtCodeCopyGas ,
0 commit comments