Skip to content

txpool: invalid interop tx conditionally included #635

@pcw109550

Description

@pcw109550

When interop invalid exec msg tx is received, op-geth filters these tx via ingress filter:

type IngressFilter interface {
FilterTx(ctx context.Context, tx *types.Transaction) bool
}

and never be included in the txpool. However, while running acceptance test we observed that some invalid exec msg is sometimes persist in the mempool.

Monorepo Issue:

Reproduction

Because of #629, after 12 seconds the invalid tx will eventually be evicted from the mempool.

However this is a temporal fix, and there are still time span which the initially invalid txs enter the mempool.

Note that this is non-deterministic, and may be caused due to some race condition.

Find out why this happens and fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions