Skip to content

The default priority mechanism should be based on gas price rather than fee #12932

Closed
@yihuang

Description

Summary of Bug

Currently the default priority mechanism is based on tx fee amount: https://github.com/cosmos/cosmos-sdk/blob/release/v0.46.x/x/auth/ante/validator_tx_fee.go#L54, I think it's more reasonable to based on price instead, fee = price * gas limit.

Version

main and 0.46

Steps to Reproduce

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