Skip to content

t8n --allow invalid fixture generation #1244

Closed
@winsvega

Description

@winsvega

Add a flag to t8n --alowinvalid that will disable sanity checks for transactions and instead of being rejected with error code, tx are accepted and post state is calculated (if it is possible) to be able to produce invalid fixtures deliberatly.

Like in example with blob transactions:

createBlobhashTx, that create transaction is not allowed. 
emptyBlobhashList, that tx with empty blobs list is not allowed. 

with new flag --allowinvalid that t8n will print a warning that the fixture is invalid and like in here, tx are not rejected and accepted. (0 blobhashes, create blob tx and so on, so we can generate invalid tests) but this is a big question because there are many checks to consider.

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