code: func (self *StateDB) Prepare(thash, bhash common.Hash, ti int) {
  	self.thash = thash
  	self.bhash = bhash
  	self.txIndex = ti
  }
docs: // Prepare sets the current transaction hash and index and block hash which is
  // used when the EVM emits new state logs.