-
Notifications
You must be signed in to change notification settings - Fork 771
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
Relayer rewards paid to specified location account #6578
base: master
Are you sure you want to change the base?
Relayer rewards paid to specified location account #6578
Conversation
# Conflicts: # bridges/modules/relayers/src/lib.rs
@claravanstaden Nice! I’m glad you’re starting with this. I’m marking it as part of [this issue](https://github.com/orgs/paritytech/projects/145/views/8?pane=issue&itemId=84899273). I have some ideas on how to make this pallet more generic to cover all our use cases (collecting and claiming rewards regardless of where the messaging queues/pallets are deployed—whether on AH or BH). I believe a single generic I’d like to prepare a more detailed final design for this. How time-sensitive is this for you? What is your deadline? |
Thanks @bkontur, that sounds great! Would We need this functionality in |
stable-2412 has already been branched off since early Nov (see If push comes to shove and it is critical to make this release you could force it in, but then I would not change existing code to avoid introducing regressions that we don't have time to test or catch. |
@claravanstaden actually we are aiming for the |
@acatangiu @bkontur so we are targeting |
@claravanstaden I will definitely look into it deeply this week because I will also need it :) |
Adds the required functionality for relayers to accumulate and claim rewards.
@bkontur and @acatangiu, I just lifted and shifted the code that was in the snowbridge rewards pallet into the bridge-relayers pallet. I looked at the existing code (to see if I can reuse it) and I think the main shortcoming of the existing
claim_rewards
method is the ability to claim the rewards to destination account location on AH (instead of using the extrinsic origin as destination account). And we won't userewards_account_params
, since we mint Weth on AH. Let me know your thoughts, and which option your prefer: