-
Notifications
You must be signed in to change notification settings - Fork 45
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
Court: Polish main court contract functionality #103
Merged
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
8221815
agreements: fix contract warnings
facuspagnuolo f6dc198
court: rename `appealConfirm` to `confirmAppeal`
facuspagnuolo 3c4320e
court: rename `draftAjudicationRound` to `draft`
facuspagnuolo 8d07709
court: organize functions
facuspagnuolo c02593a
court: drop redundant `areAllJurorsSettled` function
facuspagnuolo 53ff9e3
court: improve and test heartbeat function
facuspagnuolo afa7228
court: fix terms initialization
facuspagnuolo 79abd26
court: test disputes creation
facuspagnuolo 79cb27c
tests: batch tests in different CI stages
facuspagnuolo 0cb4d62
court: improve draft tests
facuspagnuolo c3dfa38
registry: drop duplicated activation tests
facuspagnuolo 2e3cbbd
court: multiple enhancements and test
facuspagnuolo c0ed4d6
court: use appeal start term for appeal fees
facuspagnuolo 4adbc9b
court: fix requested number of jurors when drafting
facuspagnuolo 4f4e205
chore: ugprade test-helpers to v2.1.0
facuspagnuolo de43e00
court: improve inline documentation wording and typos
facuspagnuolo aadd973
court: clarify needed transitions fn comment
facuspagnuolo da166b3
court: rollback msg.sender check on confirm appeals
facuspagnuolo 83a42d6
court: ensure disputes are always created for future terms
facuspagnuolo 4ab7ae7
court: organize functions modifiers
facuspagnuolo 23cc17e
court: improve first term start time check
facuspagnuolo 5dccdf7
court: gas optimizations
facuspagnuolo a81c2d1
court: improve adjudication round checks
facuspagnuolo 66194cc
court: draft sloads optimization
facuspagnuolo 3480bc3
court: fix typo
facuspagnuolo 1d84975
court: improve uint256 castings
facuspagnuolo 8bb0168
court: optimize adjudication round validations
facuspagnuolo d71c47a
court: fix heartbeat court config fetch
facuspagnuolo 87c7b3b
court: rename `_ensureAdjudicationState` to use `check` instead
facuspagnuolo 12cb8ea
court: remove useless memoization in appeal settle
facuspagnuolo 0f31a59
tests: improve wording and fix typos
facuspagnuolo cce6087
tests: minor enhancements
facuspagnuolo b953158
court: undo appeal skipped tests
facuspagnuolo f616da3
court: minor enhacements and optimizations
facuspagnuolo e470083
court: optimize drafting and improve tests
facuspagnuolo 14da657
court: add appeal details getter
facuspagnuolo e2cac0b
court: improve appeals tests
facuspagnuolo 234267f
court: add getter to tell dispute fees
facuspagnuolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I don't think we should have it here though, but it should definitely be in
settleReward
when assigning fees for coherent jurors in the final roundaragon-court/contracts/Court.sol
Line 591 in e2cac0b
And we should definitely have a test for it. Maybe we should work on it on a specific test file for accounting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I don't get it.
round.jurorFees
already has the discount applied, right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, I was confused. The problem was that we are not testing it 😂