Skip to content

Test PrepareRequest transactions verification #133

@AnnaShaleva

Description

@AnnaShaleva

#98 changes transactions routing structure and #87 adds block verification callback. We need to add unit-test that should check that transactions got from PrepareRequest are valid (pay special attention to the mempool validation rules, in-block transactions should obey all mempool validation rules). Specifically, in this unit-test we should ensure that transactions with invalid Nonce can't be included into proposed block and block with such malformed transactions is considered as invalid (i.e. WithVerifyBLock dBFT callback returns error for such malformed block).

Ref. #132 (review).

Metadata

Metadata

Assignees

No one assigned

    Labels

    dBFTEverything related to dBFT module integrationtestRelated to node testing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions