Skip to content

Commit

Permalink
fix: rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Dec 28, 2024
1 parent cb7afeb commit e5f6c17
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions packages/utils/indexer/interface/src/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5f6c17

Please sign in to comment.