Skip to content

Hours worked field doesn't support decimal values #7261

@spm32

Description

@spm32

Describe the bug

When posting a bounty the hours worked must be an integer, otherwise you get the error "unable to create bounty please try again later"
image

To Reproduce

Try creating a bounty with a non-integer value in that field.

Expected behavior

Either the field should have validation or non-integer values should be allowed.

Cause

Probably related to:

https://sentry.io/organizations/gitcoin/issues/1850523990/?project=1398424&query=is%3Aunresolved
ValueError: invalid literal for int() with base 10: '0.5'

Metadata

Metadata

Assignees

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