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 explorer crash when proving transaction & enhance mithril-client error #1800

Merged
merged 5 commits into from
Jul 4, 2024

Conversation

Alenar
Copy link
Collaborator

@Alenar Alenar commented Jul 4, 2024

Content

This PR includes:

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • CHANGELOG file is 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 #1784

Copy link

github-actions bot commented Jul 4, 2024

Test Results

    4 files  ± 0     52 suites  ±0   8m 47s ⏱️ -5s
1 141 tests + 6  1 141 ✅ + 6  0 💤 ±0  0 ❌ ±0 
1 307 runs  +24  1 307 ✅ +24  0 💤 ±0  0 ❌ ±0 

Results for commit 09f0cad. ± Comparison against base commit 4b49084.

♻️ This comment has been updated with latest results.

@Alenar Alenar temporarily deployed to testing-preview July 4, 2024 13:25 — with GitHub Actions Inactive
@Alenar Alenar temporarily deployed to testing-sanchonet July 4, 2024 13:25 — with GitHub Actions Inactive
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 👍

Copy link
Collaborator

@sfauvel sfauvel left a comment

Choose a reason for hiding this comment

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

LGTM

Before it would replace the whole text with "Unhandled error
{status_code}", loosing potential details on the error sent by the
aggregator.
It was due to showing the `TransactionCertificationResult` before a
certificate could even be retrieved, leading to a `t is undefined`
error.
@Alenar Alenar force-pushed the djo/1784/explorer_doenst_handle_wasm_errors branch from 58ae5fd to 2a71dc1 Compare July 4, 2024 15:16
* Mithril-client from `0.8.5` to `0.8.6`
* Mithril-client-wasm from `0.3.5` to `0.3.6`
* Mithril-explorer from `0.7.2` to `0.7.3`
@Alenar Alenar force-pushed the djo/1784/explorer_doenst_handle_wasm_errors branch from 2a71dc1 to 09f0cad Compare July 4, 2024 15:18
@Alenar Alenar temporarily deployed to testing-preview July 4, 2024 15:25 — with GitHub Actions Inactive
@Alenar Alenar temporarily deployed to testing-sanchonet July 4, 2024 15:25 — with GitHub Actions Inactive
@Alenar Alenar merged commit 70d4fe6 into main Jul 4, 2024
40 checks passed
@Alenar Alenar deleted the djo/1784/explorer_doenst_handle_wasm_errors branch July 4, 2024 15:29
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.

Explorer does not handle invalid transaction hashes
4 participants