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 keep previous error until refresh in cardano transaction certification modal #1824

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

Alenar
Copy link
Collaborator

@Alenar Alenar commented Jul 12, 2024

Content

This PR fix #1818: when an error was catch by the Cardano transaction certification modal it was never reset so it would reappear even if the certification was successful, only a refresh would reset it.
This solve this problem by resetting the error to its default state each time the modal is opened.

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

Comments

This PR also do a temporary fix to the make upgrade of the explorer: since it was crashing because of incompatibility between two dependency it fix one of those dependency to a working version (until the problem is solved by those third party then we will go back to the previous behavior of updating to the latest version available).

Issue(s)

Closes #1818

Versioss 9 and up of `eslint` are not compatible with versions
14.2+ of `eslint-config-next`.
This fix the version of `esling` to the last compatible: `^8.57.0` for
the time being.

It should be reworked to `latest` when the incompatiblity is fixed.
…ertification modal

This was simply due to the error not being set to its default state when
opening the modal.
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

Test Results

    4 files  ±0     52 suites  ±0   8m 55s ⏱️ ±0s
1 145 tests ±0  1 145 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 311 runs  ±0  1 311 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 73a2bcb. ± Comparison against base commit 45ca0e0.

@Alenar Alenar temporarily deployed to testing-sanchonet July 12, 2024 16:56 — with GitHub Actions Inactive
@Alenar Alenar merged commit 398a54a into main Jul 15, 2024
41 checks passed
@Alenar Alenar deleted the djo/1818/explorer_keep_error_in_tx_prove_form branch July 15, 2024 09:37
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 keeps previous Cardano transaction error
2 participants