vegaprotocol / frontend-monorepo

Toolkit for building apps that interact with Vega
https://vega.xyz
MIT License
23 stars 15 forks source link

proposalsDataProvider uses deprecated graphql field #6555

Open edd opened 1 week ago

edd commented 1 week ago

Description

https://github.com/vegaprotocol/frontend-monorepo/blob/develop/libs/proposals/src/lib/proposals-data-provider/Proposals.graphql#L451-L454

This query should use proposalNode instead of node. Not doing so leads to the Proposals list on Explorer not showing batch proposals.

The missing proposals: Screenshot 2024-06-14 at 11 48 03

Steps to Reproduce

  1. Go to https://explorer.vega.xyz/governance
  2. Note the lack of batch proposals
  3. Check the network response
### Tasks
- [ ] Update proposalsDataProvider to use proposalNode for ProposalListQuery