Skip to content

Commit 05e6092

Browse files
committed
fix
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent f29b148 commit 05e6092

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/vm/evm.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,6 @@ func (evm *EVM) create(caller ContractRef, codeAndHash *codeAndHash, gas uint64,
528528
err = ErrCodeStoreOutOfGas
529529
}
530530
} else {
531-
// Contract creation completed, touch the missing fields in the contract
532-
if !evm.Accesses.TouchFullAccount(address.Bytes()[:], true, contract.UseGas) {
533-
err = ErrCodeStoreOutOfGas
534-
}
535-
536531
if err == nil && len(ret) > 0 && !evm.Accesses.TouchCodeChunksRangeAndChargeGas(address.Bytes(), 0, uint64(len(ret)), uint64(len(ret)), true, contract.UseGas) {
537532
err = ErrCodeStoreOutOfGas
538533
}

0 commit comments

Comments
 (0)