Skip to content

SimulateBackend AdjustTime is not adjusting time at all, or either in unexpected ways. #16655

@bonedaddy

Description

@bonedaddy

While using SimulateBackend I attempted to roll forward the time of the simulated blockchain using AdjustTime(604800 *time.Second) which should roll forward time by a week. Checking the returned error value shows that it is nil, however from all my testing it appears that time does not actually roll forward, and local system time is used. Attempting to call functions which should work after time is rolled forward, do not work.

go version: go1.10.11 linux/amd64

Using the lates go-ethereum version.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions