lib/utils/runtimeerror.js
function RuntimeError(transactions, vmOutput) {
  // Why not just Error.apply(this, [message])? See
  // https://gist.github.com/justmoon/15511f92e5216fa2624b#anti-patterns
  Error.captureStackTrace(this, this.constructor);
  this.name = this.constructor.name;

  this.results = {};
  this.hashes = [];

  // handles creating this.message
  this.combine(transactions, vmOutput);
}
function RuntimeError(transactions, vmOutput) {
  // Why not just Error.apply(this, [message])? See
  // https://gist.github.com/justmoon/15511f92e5216fa2624b#anti-patterns
  Error.captureStackTrace(this, this.constructor);
  this.name = this.constructor.name;

  this.results = {};
  this.hashes = [];

  // handles creating this.message
  this.combine(transactions, vmOutput);
}
function RuntimeError ( transactions , vmOutput ) { // Why not just Error.apply(this, [message])? See // https://gist.github.com/justmoon/15511f92e5216fa2624b#anti-patterns Error . captureStackTrace ( this , this . constructor ) ; this . name = this . constructor . name ; this . results = { } ; this . hashes = [ ] ; // handles creating this.message this . combine ( transactions , vmOutput ) ; }
Note: ethereumjs-vm will return an object that has a "results" and "receipts" keys. You should pass in the whole object.
Note : ethereumjs - vm will return an object that has a results and receipts keys . You should pass in the whole object .