threefoldtecharchive / tfgrid_dashboard

unified portal + explorer
1 stars 3 forks source link

Dashboard (dao) on mainnet broken #524

Closed DylanVerstraete closed 1 year ago

DylanVerstraete commented 1 year ago

After upgrading to 3.8

image

DylanVerstraete commented 1 year ago
Error: Unable to decode storage dao.proposalOf: entry 0:: createType(Call):: Call:: Decoded input doesn't match input, received 0x0001604d61696e6e657420757067726164652070726f706f73616c (27 bytes), created 0x0001604d61696e6e6574 (10 bytes)
DylanVerstraete commented 1 year ago

@Omarabdul3ziz any idea what is causing this? Need help debugging?

Omarabdul3ziz commented 1 year ago

Noticed we have the same problem on dev also. I run the dashboard locally on the four networks and the issue appears on dev/main, qa and test are good.

i tried to test the failed query dao.proposalOf on polkadot ui. and that what i found on: Testnet image

Mainnet image

i could get one of proposals content but the other one gives <unknown> . and that is the case also on some of the proposals on dev net.

so, could it be something in the proposal format itself?

DylanVerstraete commented 1 year ago

Can't we safely get all proposals (wrap in try-catch maybe) and only show the ones that we can parse? Will look into the issue deeper but the suggestion can implemented to have a working dashboard again

DylanVerstraete commented 1 year ago

I created a followup issue here: https://github.com/threefoldtech/tfchain/issues/614

Omarabdul3ziz commented 1 year ago

suggested workaround applied on the mentioned pr

A-Harby commented 1 year ago

Verified on Mainnet, v1.3.1. image