Closed bkchr closed 8 months ago
@TarikGul could we get a quick fix for this?
Just woke up :), @pepoviola - Thanks for the PR. Going to check it all right now!
Once #5827 goes in we will do a patch release.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
With the switch to async backing, parachains will set a
minimumPeriod
of0
. (Not all, but some).This currently breaks transaction signing here: https://github.com/polkadot-js/api/blob/8dbc373ac573e8c7aea580e8d17d634e40f01956/packages/api-derive/src/tx/signingInfo.ts#L88
We should check that if
minimumPeriod
is0
and then just also use the fallback duration. On top of that we should useSlotDuration
from Aura: https://github.com/paritytech/polkadot-sdk/pull/3732 as we useExpectedBlockTime
from Babe.