Skip to content

Altering default timestamp value for the environment in StateTest breaks pre-merge tests #87

Open
@marioevz

Description

@marioevz

Currently the Environment property is supposed to describe the environment where the transactions are executed, and in the case of the state tests, this is Block 1.

If the test specifies an env.Timestamp or env.Difficulty in a state test, the filler should be able to come up with the appropriate genesis values such that the requested environment values are valid for block 1.

Currently it does not do that, but the tests nevertheless work because the default values are env.Difficulty=0x20000, which is the minimum difficulty value, and env.Timestamp=1000.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:toolsScope: Changes ethereum_test_tools packagetype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions