Use fork configs if FORK_RPC_URL env var is set

This commit is contained in:
Amir Bandeali
2019-12-05 13:06:28 -08:00
parent 038c836fe5
commit cb5384c2fb
3 changed files with 26 additions and 33 deletions

View File

@@ -13,6 +13,9 @@ declare module 'ganache-core' {
vmErrorsOnRPCResponse?: boolean;
db_path?: string;
total_accounts?: number;
fork?: string;
blockTime?: number;
unlocked_accounts?: string[];
}
export function provider(opts: GanacheOpts): EthereumTypes.Provider;
}