refactor(orchestrator): share pure strategy bookkeeping (CL19)
This commit is contained in:
parent
984dc1a9cc
commit
6055aeeee9
17 changed files with 297 additions and 157 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { canonicalJson } from '../canonical-json';
|
||||
import { increment } from '../strategies/strategy-decision';
|
||||
import {
|
||||
canonicalAccountSchema,
|
||||
|
|
@ -12,7 +13,6 @@ import {
|
|||
type CanonicalTransaction,
|
||||
} from './canonical-paper';
|
||||
import { ExecutionConflictError } from './repository';
|
||||
import { canonicalJson } from './strategy-recovery';
|
||||
|
||||
function accountState(raw: unknown): CanonicalAccount {
|
||||
const result = canonicalAccountSchema.safeParse(raw);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue