diff --git a/src/stellar-plus/core/contract-engine/errors.ts b/src/stellar-plus/core/contract-engine/errors.ts index c2ea4dd..5e5300d 100644 --- a/src/stellar-plus/core/contract-engine/errors.ts +++ b/src/stellar-plus/core/contract-engine/errors.ts @@ -158,7 +158,6 @@ export const CEError = { contractInstanceMissingLiveUntilLedgerSeq, contractCodeNotFound, contractCodeMissingLiveUntilLedgerSeq, - contractEngineClassFailedToInitialize, failedToUploadWasm, failedToDeployContract, failedToWrapAsset, diff --git a/src/stellar-plus/core/contract-engine/index.unit.test.ts b/src/stellar-plus/core/contract-engine/index.unit.test.ts index b3f8126..110af93 100644 --- a/src/stellar-plus/core/contract-engine/index.unit.test.ts +++ b/src/stellar-plus/core/contract-engine/index.unit.test.ts @@ -641,7 +641,7 @@ describe('ContractEngine', () => { it('should read from a contract', async () => { MOCKED_SOROBAN_TRANSACTION_PIPELINE.mockImplementation(() => { return { - execute: jest.fn().mockResolvedValue({ output: { value: true } }), + execute: jest.fn().mockResolvedValue(true), } })