Open marsrobertson opened 1 year ago
I tried to debug the thing...
A. Deployed 20 days ago: https://curate.kleros.io/tcr/5/0x303B850687153B3cF5d6366677f0c983031f27E7 (loads)
B. Deployed a few moments ago: https://curate.kleros.io/tcr/5/0x2dc74aba33de654ebb02bb98aad9855953e721bf (400 Error fetching number of pages)
When digging into the code and setting breakpoints
A. light-items
B. items
Would be great to know why sometimes it is light-items
VS items
?
There is a subgraph query here: https://github.com/kleros/gtcr/blob/master/src/hooks/factory.js
Maybe there is a delay?
Subgraph: https://thegraph.com/hosted-service/subgraph/greenlucid/curate-goerli
I'm not entirely sure whats up. The issue stems from the subgraph not recognizing those contracts you deployed. I redeployed the subgraph with the new version. Maybe there wren't new events to be indexed for a while and the graph stopped indexing. When it stops indexing ill take another look. I was going to make a PR allowing to bypass the error and submit anyway in the testnet, but opening the registry wouldn't work anyway since the subgraph wouldn't work.
I've just tried to reproduce.
Both issues persists.
I cannot even view the created list: https://curate.kleros.io/tcr/5/0x2A674bfcd2c7C4831192CE58331cD53719B73A4E
1m30s: https://www.youtube.com/watch?v=E-C-7SFbqk8 (I speeded up transaction mining)
Something that can help...
I look at the freshly deployed TCR here, there is a list of available methods in Read Contract
: https://goerli.etherscan.io/address/0x2A674bfcd2c7C4831192CE58331cD53719B73A4E#readContract
But I'm unable to see there itemCount
... Where does it come from if it is not present on the contract?
I believe this issue is fixed in this PR #303. The PR only focuses on goerli, though the issue might persist on gnosis and/or mainnet. If it comes up in the future, we know how to fix it, but if it isn't broke don't fix it. . . Maybe @greenlucid will know better whether to update the mainnet and gnosis subgraphs or not.
Here's the deploy preview
https://deploy-preview-303--gtcr-dev.netlify.app/tcr/5/0xaF212E9e4D36EfC8893C82f0f3f6186CB3e6E8eE
curate.kleros.io
which is likely due to some CDN issue for that subdomain. We are investigating.In the meantime, this URL is pointing exactly to the same curate app, just a different link: https://gtcr-dev.netlify.app/tcr/5/0xd0B04e66d8CAf5A60B0975386159D82586E5B50B
Just set up another alias: https://curate.kleros.builders/tcr/5/0xd0B04e66d8CAf5A60B0975386159D82586E5B50B
I've just created a new list but for some reason getting an error?
When I try to view the list: https://curate.kleros.io/tcr/5/0xaF212E9e4D36EfC8893C82f0f3f6186CB3e6E8eE
EDIT / UPDATE
2m30s video: https://youtu.be/Jex7dSiJsI4