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 bad dispute state #20

Merged
merged 2 commits into from Aug 27, 2023
Merged

Conversation

Corantin
Copy link

@Corantin Corantin commented Aug 27, 2023

Dispute #12 has a problem computing the state during the handleDraft

Before:
image

After:
image

Also changed npm scripts to use graph CLI directly so no need to be on linux

@@ -212,7 +213,7 @@ function updateRound(
round.settledPenalties = result.value5
round.collectedTokens = result.value6
round.coherentJurors = result.value7
round.state = castAdjudicationState(Bytes.fromI32(result.value8))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that will result always zero? That why the problem?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yupp

@kamikazebr kamikazebr merged commit 64640b0 into 1Hive:master Aug 27, 2023
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.

None yet

2 participants