Skip to content

Conversation

andll
Copy link
Contributor

@andll andll commented Nov 3, 2022

Currently EffectsStore::get_effects() takes iterator of ExecutionDigests, extracts TransactionDigest and queries database.

This PR changes API to take iterator of TransactionDigest directly, so that EffectsStore can be used to query effects when full ExecutionDigests is not known - this will be used in new checkpoints.

#5763

…tDigests

Currently `EffectsStore::get_effects()`` takes iterator of `ExecutionDigests`, extracts `TransactionDigest` and queries database.

This PR changes API to take iterator of `TransactionDigest` directly, so that EffectsStore can be used to query effects when full `ExecutionDigests` is not known - this will be used in new checkpoints.

#5763
@andll andll requested review from lxfind, mwtian and mystenmark November 3, 2022 22:23
@andll andll changed the title [small] EffectsStore: take list of TransactionDigest instead of Effec… [small] EffectsStore: take list of TransactionDigest instead of EffectDigests Nov 3, 2022
@andll andll enabled auto-merge (squash) November 3, 2022 22:23
@andll andll requested a review from longbowlu November 3, 2022 22:26
@andll andll merged commit 2188f13 into main Nov 3, 2022
@andll andll deleted the andrey-52 branch November 3, 2022 22:34
Jordan-Mysten pushed a commit to Jordan-Mysten/sui that referenced this pull request Nov 4, 2022
…tDigests (MystenLabs#5838)

Currently `EffectsStore::get_effects()`` takes iterator of `ExecutionDigests`, extracts `TransactionDigest` and queries database.

This PR changes API to take iterator of `TransactionDigest` directly, so that EffectsStore can be used to query effects when full `ExecutionDigests` is not known - this will be used in new checkpoints.

MystenLabs#5763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants