ChainSafe / ChainSafe/gossamer

Feature request: use Go duration strings for time parameters instead of seconds integers

Open
#1,914 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

Use Go duration strings with `time.ParseDuration(s)` instead of seconds integers for time parameters from the configuration files and flags, such that it's easier for the user to set it and also more clear regarding what time unit is used.

## Other information and links

- Originally discussed in #1903

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.