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

fix: Add compressed proof to input in execute batch #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Prabhat1308
Copy link
Contributor

No description provided.

@Prabhat1308 Prabhat1308 force-pushed the pv/recursive_proof_task branch from e38f3ab to 034c03f Compare December 10, 2024 18:11

// let compressed_proof = proof.compress();
// let final_proof = compressed_proof.expect("proof compression failed");
computed_proof = Some(proof);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need some work here. On restarts this will be a problem, as we only store the proof in memory.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ideally the proof should be stored in rocksdb that can be queried, even on restarts.

@Prabhat1308
Copy link
Contributor Author

The CI test all run infinitely at the line 428 in lib.rs in save_batch_information

 let db_lock = node_db.lock().await;
 db_lock.put_batch(batch_transaction)?;

Seems like the node_db lock is not being freed in the previous calls to it.

@Prabhat1308
Copy link
Contributor Author

The CI test all run infinitely at the line 428 in lib.rs in save_batch_information

 let db_lock = node_db.lock().await;
 db_lock.put_batch(batch_transaction)?;

Seems like the node_db lock is not being freed in the previous calls to it.

pushed the fix for it

@Prabhat1308 Prabhat1308 force-pushed the pv/recursive_proof_task branch from 1a3dd94 to ead3d60 Compare January 8, 2025 12:30
@Prabhat1308 Prabhat1308 force-pushed the pv/recursive_proof_task branch from ead3d60 to 76078b4 Compare January 8, 2025 14:12
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