kleros / curate-v2

Curate V2
https://curate-v2.netlify.app/
1 stars 3 forks source link

Testing of directly adding/removing items #17

Closed jaybuidl closed 2 months ago

jaybuidl commented 8 months ago

https://github.com/kleros/curate-v2/blob/master/contracts/src/CurateV2.sol#L309-L335

From @greenlucid

addItemDirectly and removeItemDirectly are not emitting RequestSubmitted

fixing it could just be editing subgraph to create default Request Entity on ItemStatusChange with no Request associated

frontend crashes because it expects request to exist request doesn't exist because subgraph does not handle properly subgraph could handle it properly