-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement pallet-asset-rewards
#3926
Conversation
pallet-staking-rewards
pallet-asset-rewards
bot bench-all pallet --pallet=pallet_asset_rewards |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8010046 was started for your command Comment |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8010047 was started for your command Comment |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8010048 was started for your command Comment |
…=asset-hub-westend --runtime_dir=assets --target_dir=cumulus --pallet=pallet_asset_rewards
@muharem Command |
…=asset-hub-rococo --runtime_dir=assets --target_dir=cumulus --pallet=pallet_asset_rewards
@muharem Command |
@muharem Command |
bot help |
Here's a link to docs |
bot bench substrate-pallet --pallet=pallet_asset_rewards |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8011480 was started for your command Comment |
@muharem Command |
bot bench substrate-pallet --pallet=pallet_asset_rewards --features |
@muharem option '--features ' argument missing |
bot bench substrate-pallet --pallet=pallet_asset_rewards --features=runtime-benchmarks |
@muharem https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8013095 was started for your command Comment |
…=dev --target_dir=substrate --features=runtime-benchmarks --pallet=pallet_asset_rewards
@muharem Command |
* master: (33 commits) Implement `pallet-asset-rewards` (#3926) [pallet-revive] Add host function `to_account_id` (#7091) [pallet-revive] Remove revive events (#7164) [pallet-revive] Remove debug buffer (#7163) litep2p: Provide partial results to speedup GetRecord queries (#7099) [pallet-revive] Bump asset-hub westend spec version (#7176) Remove 0 as a special case in gas/storage meters (#6890) [pallet-revive] Fix `caller_is_root` return value (#7086) req-resp/litep2p: Reject inbound requests from banned peers (#7158) Add "run to block" tools (#7109) Fix reversed error message in DispatchInfo (#7170) approval-voting: Make importing of duplicate assignment idempotent (#6971) Parachains: Use relay chain slot for velocity measurement (#6825) PRDOC: Document `validate: false` (#7117) xcm: convert properly assets in xcmpayment apis (#7134) CI: Only format umbrella crate during umbrella check (#7139) approval-voting: Fix sending of assignments after restart (#6973) Retry approval on availability failure if the check is still needed (#6807) [pallet-revive-eth-rpc] persist eth transaction hash (#6836) litep2p: Sufix litep2p to the identify agent version for visibility (#7133) ...
Closes #3149
Description
This PR introduces
pallet-asset-rewards
, which allows accounts to be rewarded for freezingfungible
tokens. The motivation for creating this pallet is to allow incentivising LPs.See the pallet docs for more info about the pallet.
Runtime changes
The pallet has been added to
asset-hub-rococo
asset-hub-westend
The
NativeAndAssets
fungibles
Union did not containPoolAssets
, so it has been renamedNativeAndNonPoolAssets
A new
fungibles
UnionNativeAndAllAssets
was created to encompass all assets and the native token.TODO
fungibles::freeze::Mutate
#3342) and re-run benchmarks