Enable istanbul in Ganache
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user