From d52f34246ea4b2c690c5022fc5e27c266bde6f0c Mon Sep 17 00:00:00 2001 From: graykode Date: Wed, 15 Feb 2023 16:33:44 +0900 Subject: [PATCH] fix bug allowUnlimitedContractSize not exist in ganache --- subproviders/src/subproviders/ganache.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subproviders/src/subproviders/ganache.ts b/subproviders/src/subproviders/ganache.ts index 9e9e0f447..4d71a23df 100644 --- a/subproviders/src/subproviders/ganache.ts +++ b/subproviders/src/subproviders/ganache.ts @@ -19,6 +19,7 @@ export interface GanacheOpts { _chainId?: number; chainId?: number; mnemonic?: string; + allowUnlimitedContractSize?: boolean; gasLimit?: number; vmErrorsOnRPCResponse?: boolean; db_path?: string; @@ -49,6 +50,7 @@ export class GanacheSubprovider extends Subprovider { chainId: opts._chainId || opts.chainId, mnemonic: opts.mnemonic, gasLimit: opts.gasLimit, + allowUnlimitedContractSize: opts.allowUnlimitedContractSize, vmErrorsOnRPCResponse: opts.vmErrorsOnRPCResponse, db_path: opts.db_path, total_accounts: opts.total_accounts,