You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: consensus deduct processing time appeal (#867)
* feat: add rollup transaction db table
* fix: drop audit table, change id and nonce of rollup, only make one finalized rollup transaction
* create rollup transaction for every validator
* add function to mock in consensus test
* feat: add appeal window, accepted queue, basic test
* fix: old tests were stuck on accepted state, add usage of thread
* refactor consensus into states
* feat: added appeal flow when transaction is accepted including the loop when appeal failed and succeeded
* fix: adding tests for appeals and fixing minor bugs
* refactor: merge main and PR #573 into this branch
* feat: add appeal_failed in db, select new validators when appealed based on formula
* docs: cleanup consensus mechanism base file
* test: checking the number of validators for different appeals
* feat: adding appeal window to undetermined state
* feat: change timestamp_accepted and add appeal_undetermined in database
* feat: undetermined to pending, activate frontend button in undetermined state and add button also to modal
* feat: leader only has no appeal button and no appeal window
* feat: implement the state transitions to process the appeal
- 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
* test: add test for leader appeals
* refactor: merge 593-appeals-add-validators-when-appealed into 604-appeals-implement-sequential-appeals-fail
* refactor: merging changed file permissions
* fix: appealing a write method gave a KeyError because of wrong conversation of transaction
* docs: update transaction_processor argument description
* fix: all appeals disagreed because of pending_transactions type
* refactor: undo change because of merge
* fix: do not reset finality window when leader appeal failed, leader_only check in appeal_window
* fix: set value in database migration file
* fix: add leader_only check for modal appeal button, comment out modal appeal button
* fix: do not show appeal button when finality window is finished, checking on finalized state gave a small delay in showing when appeal failed and finality window was exceeded
* fix: we do not emit messages when the transaction goes from undetermined to finalized
* fix: complete merge
* fix: redirect leader appeal is processed by appeal queue, not pending queue
* fix: test increase wait time to get to finalized
* fix: use appeal property of the transaction in frontend
* fix: comment out appeal buttons
* refactor: clean up prints
* fix: check status typo
* fix: update consensus test
* fix: update test_get_highest_timestamp
* feat: deduct processing time appeal
* fix: solve consensus test timings
* fix: solve consensus test timings
* fix: changes check timings consensus test
* fix: add activated to status match check in consensus test
* fix: split set_transaction_appeal_processing_time
* fix: add log_terminal argument in messagehandler mock; remove messagehandler argument in set_transaction_appeal
* fix: database migration file revision duplicates
0 commit comments