Skip to content

slotLength should be a float #245

@klntsky

Description

@klntsky

Describe what the problem is?

It looks like slotLength values of eraSummaries is rounded to an integer, but actually fractional values are possible too.

E.g. here.

We are having troubles with Plutip integration in CTL when using time conversions: Plutonomicon/cardano-transaction-lib#868 (comment)

What should be the expected behavior?

Can we change the type of slotLength to floating-point number?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserverIssues which regard the server

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions