Skip to content

"dev mode" properties of chain forks #2

@nmushegian

Description

@nmushegian

Certain "mock blocks" can only be extended by blocks with the same or looser validation rules. On slack we discussed this as a single "dev mode". Not sure if it makes sense to group them all together, since there would still be a class of scenarios we couldn't test.

brainstorming some examples of "alternative validation rules" for mocking:

  • To mock tx.origin, the fork should be put in a mode where the signature is interpreted as a raw address if it doesn't validate otherwise.
  • To mock alternative transaction history, block header validation can be disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions