Skip to content

feat(anvil): same behavior as major client's tx pool (e.g., geth, nethermind) for stricter tests #7897

Open
@colinlyguo

Description

@colinlyguo

Component

Anvil

Describe the feature you would like

It's nice to have the same behavior (e.g., constraints when replacing a transaction) as major clients' tx pool (e.g., geth, nethermind) so that dev components that pass tests based on Anvil's can be smoothly deployed in production.

Additional context

some constraints like (at least 100% when replacing a blob transaction):
geth: https://github.com/ethereum/go-ethereum/blob/93c541ad563124e81d125c7ebe78938175229b2e/core/txpool/blobpool/blobpool.go#L1145-L1150
nethermind: https://github.com/NethermindEth/nethermind/blob/bf658d8525d8b1b3007c49ddc38b12a061e033a2/src/Nethermind/Nethermind.TxPool/Comparison/CompareReplacedBlobTx.cs#L30-L32

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