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.

Allow different ways of limitting the transactions in a block #1651

Description

@tomusdrw

Currently we limit the size of all extrinsics in the block (see #1581) and have the limit hardcoded in the runtime.

However interaction with other modules (namely srml-contract) may require some other mechanism of limitting the number of transactions. For instance contracts use up gas and we can have a block gas limit alike Ethereum.

Would be perfect if the weight of the transaction was also given to the pool to allow better (more optimal) allocation of extrinsics to block to maximise both: fee and utilisation

It's a follow up issue on #1354 (see comment #1354 (comment))

Activity

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

    I4-annoyanceThe client behaves within expectations, however this “expected behaviour” itself is at issue.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions