canontech / staking-payouts

CLI to make staking payout transactions for Substrate FRAME-based chains
Apache License 2.0
43 stars 14 forks source link

Remove batch call weight reduction logic #91

Closed emostov closed 1 year ago

emostov commented 1 year ago

This PR removes the logic that tries to reduce batch call size to just under the max allowed weight. Instead we now hard code the weight to 5 payouts per batch. This should always fit with both relay chains, but may need to be reduced in the future if benchmarks for the payout extrinsic increase.

Fixes: #90