hats-finance / Proof-Of-Humanity-V2-0xef0709445d394a22704850c772a28a863bb780b0

Proof of Humanity Protocol v2
2 stars 1 forks source link

Incorrect Subcourt ID Assignment Due to Improper _arbitratorExtraData Initialization #149

Open hats-bug-reporter[bot] opened 2 weeks ago

hats-bug-reporter[bot] commented 2 weeks ago

Github username: -- Twitter username: -- Submission hash (on-chain): 0xd59ad53aa0f047f5931f18f64864c34b7bca75ed21394223b5fae9cce662e126 Severity: low

Description: Description\ The Kleros contract is designed to use specific subcourts for different purposes, with court ID 23 specifically intended for ProofOfHumanity disputes. https://klerosboard.com/1/courts/23

However, due to an improper initialization of the _arbitratorExtraData parameter in the ProofOfHumanityExtended contract, the contract defaults to using subcourt ID 0 (the general court) instead of the intended court ID 23.

This discrepancy between the intended and actual behavior could lead to disputes being handled in the wrong court, potentially affecting the dispute resolution process.

clesaege commented 2 weeks ago

Yes, this is the wrong court.