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: consensus 2nd tx should not finish before 1st tx #759

Open
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

kstroobants
Copy link
Contributor

@kstroobants kstroobants commented Dec 17, 2024

Fixes #661

What

  • Add check to finalize the transaction only if the previous transaction is finalized

Why

  • To fix a bug

Testing done

  • Tested the bug fix in the studio

Decisions made

Checks

  • I have tested this code
  • I have reviewed my own PR
  • I have created an issue for this PR
  • I have set a descriptive PR title compliant with conventional commits

Reviewing tips

Try in the studio

User facing release notes

The transaction can only be finalized if the previous transaction is finalized.

kstroobants and others added 30 commits October 22, 2024 15:24
- Add N+2 validators, remove leader
- Use latest data of transaction when in pending state and not the old one from the crawler
- Write consensus data before setting status to have it updated in frontend when going to transaction info modal
- Do not deploy contract when transaction was in the undetermined state
@kstroobants kstroobants self-assigned this Dec 17, 2024
@kstroobants kstroobants linked an issue Dec 17, 2024 that may be closed by this pull request
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
56.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@cristiam86
Copy link
Collaborator

@kstroobants please solve the conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consensus: 2nd tx should not finish before 1st tx
2 participants