mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #29203 from dekz/master
[ganache-core] add vmErrorsOnRPCResponse to GanacheOpts
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
import { provider } from "ganache-core";
|
||||
import { provider } from 'ganache-core';
|
||||
|
||||
provider({ verbose: true });
|
||||
provider({ verbose: true, vmErrorsOnRPCResponse: false });
|
||||
|
||||
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user