Inject java.time.Clock in tech.pegasys.pantheon.ethereum.mainnet.headervalidationrules.TimestampBoundedByFutureParameter

Description

tech.pegasys.pantheon.ethereum.mainnet.headervalidationrules.TimestampBoundedByFutureParameter is currently using System.currentMillis. It should be changes to injectable java.time.Clock to obtain the current system time.

This is a potential cascading change as TimestampBoundedByFutureParameter is used by static methods.

Status

Assignee

Unassigned

Reporter

Usman Saleem

Labels

None

Refinement State

Not Started

Scrum Team

Phoenix

Priority

P3