Fix BountyType
with new PalletBountiesBounty
#11192
Labels
P1 - High
Essential for progress, blocks other tasks. Must be completed soon to maintain project flow.
The polkadot-js api update with the substrate types in the most recent release 15.2.1 has introduced a break in the TS compiler.
The old type:
Bounty
The new type:
PalletBountiesBounty
The new type has already existed and is the return value for
bounty.bounties
for a while. But seems as if there is some underlying sub type that has changed and is causing issues. The PR which introduces this change is #11191.For now I have added a bunch of type casts to ensure that the ts compiler doesn't break, this should be addressed in a follow up PR.
The text was updated successfully, but these errors were encountered: