Skip to content

Calendar Accepting Future Dates in the From Value in Votes

Result : In the votes history dialogue a user can input in a future date in the filtering option "From" inside the calendar causing error in the Application

Expected Result: When we are filtering results by Date From, do not allow the user to choose a future date.

Steps:

  1. Go to witnesses page /witnesses
  2. Click on the votes icon
  3. Select a date. Set From to be a future date

Error Occurs: Received non 2xx-3xx http response code while requesting given resource "GET https://hafbe.openhive.network/hafbe-api/witnesses/arcange/votes/history?direction=desc&sort=timestamp&result-limit=100&from-block=%222024-11-19T22%3A00%3A00.000Z%22&to-block=%222024-11-18T08%3A58%3A50.101Z%22"