diff --git a/packages/transaction-pool/source/service-provider.test.ts b/packages/transaction-pool/source/service-provider.test.ts index be64b261e..9bfe37cf9 100644 --- a/packages/transaction-pool/source/service-provider.test.ts +++ b/packages/transaction-pool/source/service-provider.test.ts @@ -29,7 +29,10 @@ describe<{ beforeEach((context) => { context.app = new Application(new Container()); context.app.bind(Identifiers.Services.Trigger.Service).to(Services.Triggers.Triggers).inSingletonScope(); - + context.app.bind(Identifiers.Evm.Instance).toConstantValue({ + transact: () => ({}), + view: () => ({}), + }); context.txPoolEnv = process.env.CORE_TRANSACTION_POOL; context.maxTxPoolEnv = process.env.CORE_MAX_TRANSACTIONS_IN_POOL;