Skip to content

e2e: Generate a percentage of invalid txs with load command #617

Open

Description

@hvanz

Feature Request

Problem Definition

The load command in the e2e runner generates only valid transactions. A transaction is valid in the e2e app if it's of the form ".+=.+". This is not realistic because in production environments some transactions sent to the nodes are invalid. For instance, Gaia nodes receive between 20 to 30% of transactions that are rejected by the Hub application.

Proposal

Add a new field to the e2e manifest for controlling the percentage of invalid txs that load will generate.

Activity

  1. added
    enhancement
    e2e
    on Mar 30, 2023
  2. self-assigned this
    on Mar 30, 2023
  3. cason commented on Apr 3, 2023

    @cason

    Are duplicated transactions also deemed as invalid? This is also a scenario to consider.

  4. lasarojc commented on Apr 3, 2023

    @lasarojc
    Contributor

    Are duplicated transactions also deemed as invalid? This is also a scenario to consider.

    Agree, but this would be a test to the test application, rather then CometBFT, since the application is expected to handle duplications.

  5. hvanz commented on Apr 4, 2023

    @hvanz
    CollaboratorAuthor

    For testing invalid transactions, I think it doesn't matter the reason why the application considers it invalid. Duplicate transactions is an interesting scenario for testing other parts of the code. We could add a separate field to the manifest to control the percentage of duplicate transactions.

  6. cason commented on Apr 5, 2023

    @cason

    This pretty old issue is probably still observable in the current implementation. The only to prevent this from happening, is to have the application properly rejecting duplicated transactions: tendermint/tendermint#3865

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    e2eenhancement

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions