Skip to content

Dispute kit: re-submitting a commitment is not counted correctly #2151

@coderabbitai

Description

@coderabbitai

This issue tracks the fix for allowing multiple commits for the same vote in DisputeKitClassicBase.

Background:
Re-submitting a commitment is counted twice here:
https://github.com/kleros/kleros-v2/blob/v2-contracts-review-round1/contracts/src/arbitration/dispute-kits/DisputeKitClassicBase.sol#L281

Solution:
Don't count the commit again.

Related PR: #2145
Requested by: @jaybuidl

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions