smartweave to warp renaming hell
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
GQLEdgeInterface,
|
||||
InteractionsLoader,
|
||||
LoggerFactory
|
||||
} from '@smartweave';
|
||||
} from '@warp';
|
||||
|
||||
/**
|
||||
* This implementation of the {@link InteractionsLoader} tries to limit the amount of interactions
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Arweave from 'arweave';
|
||||
import { ContractDefinition, EvaluationOptions, ExecutorFactory } from '@smartweave/core';
|
||||
import { SwCache } from '@smartweave/cache';
|
||||
import { LoggerFactory } from '@smartweave/logging';
|
||||
import { ContractDefinition, EvaluationOptions, ExecutorFactory } from '@warp/core';
|
||||
import { SwCache } from '@warp/cache';
|
||||
import { LoggerFactory } from '@warp/logging';
|
||||
|
||||
/**
|
||||
* An implementation of ExecutorFactory that adds caching capabilities
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ContractDefinition, EvaluationOptions, ExecutorFactory } from '@smartweave/core';
|
||||
import { ContractDefinition, EvaluationOptions, ExecutorFactory } from '@warp/core';
|
||||
|
||||
/**
|
||||
* An ExecutorFactory that allows to substitute original contract's source code.
|
||||
|
||||
@@ -6,9 +6,9 @@ import {
|
||||
ExecutorFactory,
|
||||
HandlerApi,
|
||||
LoggerFactory,
|
||||
SmartWeaveError,
|
||||
SmartWeaveErrorType
|
||||
} from '@smartweave';
|
||||
WarpError,
|
||||
WarpErrorType
|
||||
} from '@warp';
|
||||
|
||||
/*
|
||||
...I'm still not fully convinced to the whole "evolve" idea.
|
||||
@@ -89,7 +89,7 @@ export class Evolve implements ExecutionContextModifier {
|
||||
|
||||
return executionContext;
|
||||
} catch (e) {
|
||||
throw new SmartWeaveError(SmartWeaveErrorType.CONTRACT_NOT_FOUND, {
|
||||
throw new WarpError(WarpErrorType.CONTRACT_NOT_FOUND, {
|
||||
message: `Contract having txId: ${contractTxId} not found`,
|
||||
requestedTxId: contractTxId
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user