Skip to content

Test data getTestSubstate generate different types of datasets #31

@matejmode

Description

@matejmode

Currently getTestSubstate generates static test case, but it would be better to test various possible Substate values.
e.g.

  • Different txType:
    • AccessListTxType - AccessList
    • SetCodeTxType - SetCodeAuthorization (now AccessList is allowed here as well for the testing purposes)
    • ...
  • contract creation
  • blobs
  • possible nil values
  • ...

func getTestSubstate(encoding string) *substate.Substate {

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