Merge pull request #29203 from dekz/master

[ganache-core] add vmErrorsOnRPCResponse to GanacheOpts
This commit is contained in:
Andrew Casey
2018-09-26 11:34:01 -07:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
import { provider } from "ganache-core";
import { provider } from 'ganache-core';
provider({ verbose: true });
provider({ verbose: true, vmErrorsOnRPCResponse: false });
+2 -1
View File
@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
import { Provider } from "ethereum-protocol";
import { Provider } from 'ethereum-protocol';
export interface GanacheOpts {
verbose?: boolean;
logger?: {
@@ -15,5 +15,6 @@ export interface GanacheOpts {
networkId?: number;
mnemonic?: string;
gasLimit?: number;
vmErrorsOnRPCResponse?: boolean;
}
export function provider(opts: GanacheOpts): Provider;