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 Conway transactions parsing #1608

Merged
merged 6 commits into from
Apr 3, 2024

Conversation

jpraynaud
Copy link
Member

@jpraynaud jpraynaud commented Apr 2, 2024

Content

This PR includes a fix to the Conway transactions parsing which failed for some blocks with the previous version of pallas (bumped from 0.24.0 to 0.25.0). Also re-activated the stop on error in the Cardano transaction parser.

Pre-submit checklist

  • Branch
    • 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

Issue(s)

Closes #1577

Fixes Conway transaction parsing issue from '0.24.0'
@jpraynaud jpraynaud self-assigned this Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

Test Results

    3 files  ±0     42 suites  ±0   9m 59s ⏱️ +19s
  946 tests ±0    946 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 040 runs  ±0  1 040 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 42b42e3. ± Comparison against base commit 733d002.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@Alenar Alenar left a comment

Choose a reason for hiding this comment

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

Just two minor comments 🚀

mithril-aggregator/src/dependency_injection/builder.rs Outdated Show resolved Hide resolved
mithril-signer/src/runtime/signer_services.rs Outdated Show resolved Hide resolved
@jpraynaud jpraynaud force-pushed the jpraynaud/1577-fix-transaction-parsing-conway branch from 7473f3e to 2ab685f Compare April 2, 2024 16:20
This avoids versions mismatch and error messages like:
'pallas_crypto::hash::Hash<32>' and 'pallas_crypto::hash::hash::Hash<32>' have similar names, but are actually distinct types
perhaps two different versions of crate 'pallas_crypto' are being used.
@jpraynaud jpraynaud force-pushed the jpraynaud/1577-fix-transaction-parsing-conway branch from 2ab685f to 30d7af0 Compare April 2, 2024 16:21
@jpraynaud jpraynaud force-pushed the jpraynaud/1577-fix-transaction-parsing-conway branch from 30d7af0 to e580e25 Compare April 2, 2024 16:44
This was not the case anymore with pallas '0.25.0'.
@jpraynaud jpraynaud force-pushed the jpraynaud/1577-fix-transaction-parsing-conway branch from e580e25 to 17300f7 Compare April 2, 2024 16:50
@jpraynaud jpraynaud force-pushed the jpraynaud/1577-fix-transaction-parsing-conway branch from 17300f7 to 42b42e3 Compare April 3, 2024 08:29
@jpraynaud jpraynaud merged commit 42f4432 into main Apr 3, 2024
41 checks passed
@jpraynaud jpraynaud deleted the jpraynaud/1577-fix-transaction-parsing-conway branch April 3, 2024 08:43
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.

Some transactions are not signed in testing-sanchonet
4 participants