-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: consensus frontend get method should show accepted and finalized contract state #801
Open
kstroobants
wants to merge
61
commits into
main
Choose a base branch
from
788-consensus-frontend-get-method-should-show-accepted-and-finalized-contract-state
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…inalized rollup transaction
…op when appeal failed and succeeded
…ed state and add button also to modal
- 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
…eals-implement-sequential-appeals-fail
…8-appeals-undetermined-transactions
…sation of transaction
…undetermined-transactions
…nly check in appeal_window
…sus-appeal-success-should-rollback-all-newer-transactions-to-pending
…-all-newer-transactions-to-pending
…d contract state in encoded_state for _SnapshotView reads and writes
…transactions-to-pending' into 783-consensus-store-acceptance-and-finalized-states-on-contracts
…transactions-to-pending' into 783-consensus-store-acceptance-and-finalized-states-on-contracts
…contracts' into 790-consensus-restore-contract-state-after-appeal-fail
…it inclusing for appeals, rollback restores the state with it as it is the state before applying the write method
both tests fail because they depend on genlayer-js |
Quality Gate failedFailed conditions |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #801 +/- ##
==========================================
- Coverage 18.21% 18.12% -0.09%
==========================================
Files 129 129
Lines 10076 10123 +47
Branches 302 302
==========================================
Hits 1835 1835
- Misses 8156 8203 +47
Partials 85 85 ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #788
What
Why
Testing done
Decisions made
Read method button performs two eth_calls (one for accepted and one for finalized). Another option was two buttons.
Checks
Reviewing tips
Run in studio and view code changes.
Depends on
PR yeagerai/genlayer-js#50
PR #796 (based on the pr branch)
Doubt
genlayer-studio code should point to the genlayer-js version containing the update.
User facing release notes
When the read method button is pressed, it will output the accepted and the finalized contact state.