Skip to content

Delrifai issue 361

Dima Rifai requested to merge delrifai_issue_361 into develop

Developer Notes: Created branch delrifai_issue_361

Created logic to pull the voters for the proxy up to depth 3 by modifying the following files:

  • Config.ts In this file, I added a new configuration variable maxProxyDepth: 3
  • components/account/AccountWitnessVotesCard.tsx In this file, I added the following logic
  • created a function that fetches votes by proxy fetchWitnessVotes() that can retreive the voters by proxy up to the given depth
  • used the function to retrieve the votes inside a useEffect
  • update the buildTableBody to reflect changes and show the voters of proxy

Testing Notes: Testing was carried on the following users: @vevita? => has 3 nested proxies @actifit-3speak? => has 2 nested proxies @mcfarhat? => has 1 proxy @actifit => has 2 proxies

Merge request reports

Loading