Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Update how transaction priority is affected by different factors #5672

@shawntabrizi

Description

@shawntabrizi

cc @tomusdrw

priority: info.weight as TransactionPriority,

This SignedExtension is bumping the priority by weight
Which is sort of dumb, why would higher weight transaction have higher priority 🤔

maybe it pays more in fees, but since weight is a scarce block resource, we should rather prioritize transactions with fee per weight unit, not overall fee

In general, it does not seem that we correctly factor and scale the different runtime factors which can affect the transaction queue priority.

Metadata

Metadata

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