You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can create a proposal that has a global voting delay set via the API by also calculating and setting the delay.
Actual behavior
The API creates a timestamp that is either 1 second later than when the delay was calculated. This results in a failure since the service calculate the delay off of the timestamp and realizes it is 1 second off from the global setting.
Steps to reproduce the behavior
Set a global setting in a space
Use the SnapshotJS API to create a proposal, setting the delay from Date.now()
Notice how the timestamp in the signing is 1 second off from the projected delay.
The text was updated successfully, but these errors were encountered:
Hi, @jamesdobry can you provide us the code to reproduce this, ideally on a sandbox environment, what are the values you have given for delay? Did you check how is it handled on snapshot.org?
Expected behavior
I can create a proposal that has a global voting delay set via the API by also calculating and setting the delay.
Actual behavior
The API creates a timestamp that is either 1 second later than when the delay was calculated. This results in a failure since the service calculate the delay off of the timestamp and realizes it is 1 second off from the global setting.
Steps to reproduce the behavior
Date.now()
The text was updated successfully, but these errors were encountered: