Conversation
pallet-staking-rewardspallet-asset-rewards
|
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 paritytech#3149 ## Description This PR introduces `pallet-asset-rewards`, which allows accounts to be rewarded for freezing `fungible` 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 contain `PoolAssets`, so it has been renamed `NativeAndNonPoolAssets` A new `fungibles` Union `NativeAndAllAssets` was created to encompass all assets and the native token. ## TODO - [x] Emulation tests - [x] Fill in Freeze logic (blocked paritytech#3342) and re-run benchmarks --------- Co-authored-by: command-bot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Closes #3149
Description
This PR introduces
pallet-asset-rewards, which allows accounts to be rewarded for freezingfungibletokens. 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-rococoasset-hub-westendThe
NativeAndAssetsfungiblesUnion did not containPoolAssets, so it has been renamedNativeAndNonPoolAssetsA new
fungiblesUnionNativeAndAllAssetswas created to encompass all assets and the native token.TODO
fungibles::freeze::Mutate#3342) and re-run benchmarks