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

chore: batched handoff cleanup 2 #1480

Merged
merged 12 commits into from
Jan 14, 2025

Conversation

ananas-block
Copy link
Contributor

@ananas-block ananas-block commented Jan 14, 2025

Changes:

  1. add comments to new account compression program instructions
  2. remove usage of get_metadata() and get_metadata_mut() except in tests
  3. renamed QueueType
    1. QueueType::Output -> QueueType::BatchedOutput
    2. QueueType::Input -> QueueType::BatchedInput
    3. QueueType::Address -> QueueType::BatchedAddress
  4. renamed update_output_queue_account_info -> update_tree_from_output_queue_account_info
  5. renamed update_input_queue -> update_tree_from_input_queue
  6. renamed update_address_queue -> update_tree_from_address_queue

@@ -367,6 +365,7 @@ impl<'a> BatchedQueueAccount<'a> {
Err(BatchedMerkleTreeError::InclusionProofByIndexFailed)
}

// TODO: add unit tests
Copy link
Contributor Author

Choose a reason for hiding this comment

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

in different pr

@ananas-block ananas-block merged commit 55a5220 into main Jan 14, 2025
24 checks passed
@ananas-block ananas-block deleted the jorrit/chore-batched-handoff-cleanup2 branch January 14, 2025 22:34
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