Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

funding: LQT nullifier set for epoch #5034

Merged
merged 10 commits into from
Jan 31, 2025
Merged

Conversation

TalDerei
Copy link
Collaborator

@TalDerei TalDerei commented Jan 30, 2025

Describe your changes

state key for epoch-scoped nullifier set (mapping nullifiers with their associated transaction id), serving as a precursor for performing the necessary stateful nullifier check. Additionally, augments the transaction context with TransactionId.

Issue ticket number and link

references #5029

Checklist before requesting a review

  • I have added guiding text to explain how a reviewer should test these changes.

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    LQT branch

@TalDerei TalDerei added the consensus-breaking breaking change to execution of on-chain data label Jan 30, 2025
@TalDerei TalDerei self-assigned this Jan 30, 2025
@TalDerei TalDerei changed the base branch from main to protocol/lqt_branch January 30, 2025 23:28
use penumbra_sdk_proto::{StateReadProto, StateWriteProto};
use penumbra_sdk_sct::{component::clock::EpochRead, Nullifier};

#[allow(dead_code)]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be consumed by #5033, silencing for compilation purposes

Copy link
Contributor

@cronokirby cronokirby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple suggested changes, otherwise LGTM

@cronokirby cronokirby merged commit e2c15ef into protocol/lqt_branch Jan 31, 2025
13 checks passed
@cronokirby cronokirby deleted the lqt-nullifier-set branch January 31, 2025 17:05
conorsch pushed a commit that referenced this pull request Jan 31, 2025
## Describe your changes

state key for epoch-scoped nullifier set (mapping nullifiers with their
associated transaction id), serving as a precursor for performing the
necessary stateful [nullifier
check](https://github.com/penumbra-zone/penumbra/pull/5033/files#diff-a0986b8d223ab5b1c5536ba06bde1ede6d08f635eb97b386549ecfb55a4f2a4bR112).
Additionally, augments the transaction context with `TransactionId`.

## Issue ticket number and link

references #5029

## Checklist before requesting a review

- [x] I have added guiding text to explain how a reviewer should test
these changes.

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > LQT branch
conorsch pushed a commit that referenced this pull request Feb 4, 2025
## Describe your changes

state key for epoch-scoped nullifier set (mapping nullifiers with their
associated transaction id), serving as a precursor for performing the
necessary stateful [nullifier
check](https://github.com/penumbra-zone/penumbra/pull/5033/files#diff-a0986b8d223ab5b1c5536ba06bde1ede6d08f635eb97b386549ecfb55a4f2a4bR112).
Additionally, augments the transaction context with `TransactionId`.

## Issue ticket number and link

references #5029

## Checklist before requesting a review

- [x] I have added guiding text to explain how a reviewer should test
these changes.

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > LQT branch
conorsch pushed a commit that referenced this pull request Feb 5, 2025
## Describe your changes

state key for epoch-scoped nullifier set (mapping nullifiers with their
associated transaction id), serving as a precursor for performing the
necessary stateful [nullifier
check](https://github.com/penumbra-zone/penumbra/pull/5033/files#diff-a0986b8d223ab5b1c5536ba06bde1ede6d08f635eb97b386549ecfb55a4f2a4bR112).
Additionally, augments the transaction context with `TransactionId`.

## Issue ticket number and link

references #5029

## Checklist before requesting a review

- [x] I have added guiding text to explain how a reviewer should test
these changes.

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > LQT branch
conorsch pushed a commit that referenced this pull request Feb 5, 2025
## Describe your changes

state key for epoch-scoped nullifier set (mapping nullifiers with their
associated transaction id), serving as a precursor for performing the
necessary stateful [nullifier
check](https://github.com/penumbra-zone/penumbra/pull/5033/files#diff-a0986b8d223ab5b1c5536ba06bde1ede6d08f635eb97b386549ecfb55a4f2a4bR112).
Additionally, augments the transaction context with `TransactionId`.

## Issue ticket number and link

references #5029

## Checklist before requesting a review

- [x] I have added guiding text to explain how a reviewer should test
these changes.

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > LQT branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus-breaking breaking change to execution of on-chain data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants