Skip to content

Conversation

Alenar
Copy link
Collaborator

@Alenar Alenar commented Feb 1, 2024

Content

This PR modify the /proof/cardano-transaction endpoint so it returns the certificate hash on which the proof merkle root relates to.
This also means that the ProverService::compute_transactions_proofs (and the repository behind it) now limit the set of transactions that's they works on. This in order to only works on what have been certified else they could work on transactions that are not in a certificate yet (typically the aggregator is waiting for single signatures).

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • Update README file (if relevant)
    • Update documentation website (if relevant)
    • Add dev blog post (if relevant)

Issue(s)

Relates to #1468

Copy link

github-actions bot commented Feb 1, 2024

Test Results

  3 files  ±0   33 suites  ±0   8m 31s ⏱️ +13s
814 tests +3  814 ✅ +3  0 💤 ±0  0 ❌ ±0 
887 runs  +3  887 ✅ +3  0 💤 ±0  0 ❌ ±0 

Results for commit 66d5053. ± Comparison against base commit 69adabe.

♻️ This comment has been updated with latest results.

Copy link
Member

@jpraynaud jpraynaud left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Just a comment left below

@Alenar Alenar force-pushed the ensemble/1468/cert_hash_in_tx_set_message branch from 8ff9201 to c8fd485 Compare February 1, 2024 18:04
Before we used a simple `From` with an unwrap.
@Alenar Alenar force-pushed the ensemble/1468/cert_hash_in_tx_set_message branch 2 times, most recently from c598e72 to 62b731c Compare February 5, 2024 10:08
@Alenar Alenar force-pushed the ensemble/1468/cert_hash_in_tx_set_message branch from 62b731c to 66d5053 Compare February 5, 2024 10:10
@Alenar Alenar temporarily deployed to testing-preview February 5, 2024 10:19 — with GitHub Actions Inactive
@Alenar Alenar merged commit 794aa57 into main Feb 5, 2024
@Alenar Alenar deleted the ensemble/1468/cert_hash_in_tx_set_message branch February 5, 2024 10:21
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.

3 participants