core/vm: don't include contract deployer bytecode in AccessWitness or charge witness access costs for it (#54)

This commit is contained in:
jwasinger
2022-01-12 23:08:22 -10:00
committed by GitHub
parent 4428439fdf
commit d761880fd2
3 changed files with 6 additions and 1 deletions

View File

@ -58,6 +58,9 @@ type Contract struct {
CodeAddr *common.Address
Input []byte
// is the execution frame represented by this object a contract deployment
IsDeployment bool
Gas uint64
value *big.Int
}