AutarkLabs / open-enterprise

A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
GNU General Public License v3.0
92 stars 54 forks source link

fix(allocations): filter out state missing token data #1986

Closed topocount closed 4 years ago

topocount commented 4 years ago

budgets and allocations instances should not be passed into the frontend if they are missing token data. This always occurs on syncing because app contract state syncs completely before any external state (such as token data) is passed into the app via events. Filtering out state that is missing token details will prevent any rendering or data access issues.