From e5f6c17f09764f0b54c3376ec9d42944a7654789 Mon Sep 17 00:00:00 2001 From: Marcus Pousette Date: Sat, 28 Dec 2024 22:56:00 +0100 Subject: [PATCH] fix: rm comment --- packages/utils/indexer/interface/src/query.ts | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/packages/utils/indexer/interface/src/query.ts b/packages/utils/indexer/interface/src/query.ts index 277ee5273..f370e5cf1 100644 --- a/packages/utils/indexer/interface/src/query.ts +++ b/packages/utils/indexer/interface/src/query.ts @@ -280,36 +280,6 @@ export class Nested extends Query { } } -// TODO MemoryCompareQuery can be replaces with ByteMatchQuery? Or Nesteed Queries + ByteMatchQuery? -/* @variant(0) -export class MemoryCompare { - @field({ type: Uint8Array }) - bytes: Uint8Array; - - @field({ type: "u64" }) - offset: bigint; - - constructor(opts?: { bytes: Uint8Array; offset: bigint }) { - if (opts) { - this.bytes = opts.bytes; - this.offset = opts.offset; - } - } -} - -@variant(4) -export class MemoryCompareQuery extends Query { - @field({ type: vec(MemoryCompare) }) - compares: MemoryCompare[]; - - constructor(opts?: { compares: MemoryCompare[] }) { - super(); - if (opts) { - this.compares = opts.compares; - } - } -} */ - export type QueryLike = | Query[] | Query