Enable istanbul in Ganache

This commit is contained in:
Amir Bandeali
2019-12-17 08:25:46 -08:00
committed by Amir
parent fa99b75d1f
commit 0f151db355
5 changed files with 768 additions and 56 deletions

View File

@@ -25,6 +25,7 @@ export interface Web3Config {
blockTime?: number;
locked?: boolean;
unlocked_accounts?: string[];
hardfork?: string;
}
export const web3Factory = {
@@ -81,6 +82,7 @@ export const web3Factory = {
blockTime: config.blockTime,
locked: config.locked,
unlocked_accounts: config.unlocked_accounts,
hardfork: config.hardfork,
} as any), // TODO remove any once types are merged in DefinitelyTyped
);
} else {