apps
apps copied to clipboard
Offer splitting batch staking reward call into single transactions
- I'm submitting a ...
- [ ] Bug report
- [x] Feature request
- [ ] Support request
- [ ] Other
- What is the current behavior and expected behavior?
Stakers that want to pay out rewards using Ledger and Polkadot Apps run into the error "utility.batch: Call nesting not supported" when trying to pay out multiple rewards for a single validator, as Polkadot Apps does batch all the calls into one transaction which is not supported by the Kusama and Polkadot Ledger apps. It would be helpful if Polkadot Apps optionally disassembles the batch into single calls and offers to user to sign every call within a single transaction one after the other.
- What is the motivation for changing the behavior?
AFAIK currently Ledger users have to manually disassemble batch staking payout calls provided the frontend, which is quite cumbersome. UX could be improved by sequentially offering to sign the calls contained within the batch.
- Please tell us about your environment:
-
Version: v0.132.2-86
-
Environment:
- [ ] Node.js
- [x] Browser
- [ ] Other (limited support for other environments)
-
Language:
- [x] JavaScript
- [ ] TypeScript (include tsc --version)
- [ ] Other