Skip to content

Increased Court and DK jump logic flexibility #2183

@jaybuidl

Description

@jaybuidl

Requested by William.

Goals

  • The Court may jump to any Court (not necessarily the parent) immediately on the next round, specified by the currentDK depending on the current court.
  • The DK may jump to another DK immediately on the next round, specified by the current DK depending on the current court.
  • The DK may jump to another DK when the Court jumps (not before) even if the current DK is still compatible with the destination court.

Overview

Image

DK Configuration

struct NextRoundSettings {
bool enabled; // True if the settings are enabled, false otherwise.
uint96 jumpCourtID; // A non-zero value makes the next round use this court ID. Zero is considered as undefined.
uint256 jumpDisputeKitID; // A non-zero value makes the next round use this dispute kit ID. Zero is considered as undefined.
uint256 jumpDisputeKitIDOnCourtJump; // A non-zero value makes the next round use this dispute kit ID ONLY IF the court jumps and `jumpDisputeKitID` is undefined. Zero is considered as undefined.
uint256 nbVotes; // A non-zero value makes the next round use this number of votes. Zero is considered as undefined.
}

Examples:

jumpCourtID: court3ID, // Jump to sibling Court3, NOT parent GENERAL_COURT

jumpDisputeKitIDOnCourtJump: dkID3,

Related past changes

#2114
#2110
#1357

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions