#polkadot #substrate #pallet #extension #payment #skip #feeless

no-std pallet-skip-feeless-payment

Pallet to skip payments for calls annotated with feeless_if if the respective conditions are satisfied. (polkadot v1.11.0)

8 major breaking releases

8.0.0 Apr 30, 2024
7.0.0 Apr 8, 2024
6.0.0 Mar 18, 2024
5.0.0 Feb 26, 2024
0.0.0 Nov 14, 2023

#317 in Magic Beans

Download history 8/week @ 2024-01-19 14/week @ 2024-02-09 85/week @ 2024-02-16 115/week @ 2024-02-23 53/week @ 2024-03-01 4/week @ 2024-03-08 94/week @ 2024-03-15 16/week @ 2024-03-22 10/week @ 2024-03-29 90/week @ 2024-04-05 12/week @ 2024-04-12 130/week @ 2024-04-26 16/week @ 2024-05-03

164 downloads per month


34K SLoC

NOTE: We have recently made significant changes to our repository structure. In order to streamline our development process and foster better contributions, we have merged three separate repositories Cumulus, Substrate and Polkadot into this repository. Read more about the changes here.

Polkadot SDK


The Polkadot SDK repository provides all the resources needed to start building on the Polkadot network, a multi-chain blockchain platform that enables different blockchains to interoperate and share information in a secure and scalable way. The Polkadot SDK comprises three main pieces of software:


PolkadotForum Polkadot-license

Implementation of a node for the https://polkadot.network in Rust, using the Substrate framework. This directory currently contains runtimes for the Westend and Rococo test networks. Polkadot, Kusama and their system chain runtimes are located in the runtimes repository maintained by the Polkadot Technical Fellowship.


SubstrateRustDocs Substrate-license

Substrate is the primary blockchain SDK used by developers to create the parachains that make up the Polkadot network. Additionally, it allows for the development of self-sovereign blockchains that operate completely independently of Polkadot.


CumulusRustDocs Cumulus-license

Cumulus is a set of tools for writing Substrate-based Polkadot parachains.


Our release process is still Work-In-Progress and may not yet reflect the aspired outline here.

The Polkadot-SDK has two release channels: stable and nightly. Production software is advised to only use stable. nightly is meant for tinkerers to try out the latest features. The detailed release process is described in RELEASE.md.


stable releases have a support duration of three months. In this period, the release will not have any breaking changes. It will receive bug fixes, security fixes, performance fixes and new non-breaking features on a two week cadence.


nightly releases are released every night from the master branch, potentially with breaking changes. They have pre-release version numbers in the format major.0.0-nightlyYYMMDD.

Upstream Dependencies

Below are the primary upstream dependencies utilized in this project:


The security policy and procedures can be found in docs/contributor/SECURITY.md.

Contributing & Code of Conduct

Ensure you follow our contribution guidelines. In every interaction and contribution, this project adheres to the Contributor Covenant Code of Conduct.

Additional Resources

  • For monitoring upcoming changes and current proposals related to the technical implementation of the Polkadot network, visit the Requests for Comment (RFC) repository. While it's maintained by the Polkadot Fellowship, the RFC process welcomes contributions from everyone.


Skip Feeless Payment Pallet

This pallet allows runtimes that include it to skip payment of transaction fees for dispatchables marked by #[pallet::feeless_if](macro@ frame_support::pallet_prelude::feeless_if).


It does this by wrapping an existing SignedExtension implementation (e.g. pallet-transaction-payment) and checking if the dispatchable is feeless before applying the wrapped extension. If the dispatchable is indeed feeless, the extension is skipped and a custom event is emitted instead. Otherwise, the extension is applied as usual.


This pallet wraps an existing transaction payment pallet. This means you should both pallets in your construct_runtime macro and include this pallet's SignedExtension (SkipCheckIfFeeless) that would accept the existing one as an argument.


~522K SLoC