snapshot-labs / sx-monorepo

Snapshot X monorepo
https://snapshot.box
MIT License
11 stars 10 forks source link

fix: fix invalid proposal end filter name #364

Closed wa0x6e closed 1 month ago

wa0x6e commented 1 month ago

Summary

This PR fix an issue where the end_gte filter passed to loadProposals is not universal for all chains, and only valid for offchain spaces, as onchain spaces uses max_end and min_end variant

This PR will use max|min_end variant everywhere inside the UI, and will do the "translation" only inside the networks not supporting it.