Skip to content

Cannot create a proposal via API with voting delays #804

@jamesdobry

Description

@jamesdobry

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

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions