Skip to content

Rank cover should support iterating over partial tuple prefix #3046

@mhofman

Description

@mhofman

What is the Problem Being Solved?

Assume I have a SetStore<[user: string, nonce: bigint, deadline: bigint]>, I want to be able to call store.keys([user, nonce, M.bigint()]) to check if there are any entries in the store for that user+nonce regardless of the deadline.

Description of the Design

@gibson042 @erights know what to do

Security Considerations

None

Scaling Considerations

This is to enable efficient iteration of a known prefix of keys in a collection

Test Plan

TBD

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions