You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ProposalCreated mappings, the condition for checking proposalDetails.type === "UpdateGlobalNftLimit" does not exist. And since the ProposalCreated mappings throw an error for unimplemented/unsupported proposal types, this mapping would throw an exception when the UpdateGlobalNftLimit proposal type is unfiltered (in future runtime upgrade) and a proposal is created of this type.
Context
Discovered while working on #4842
In the
ProposalCreated
mappings, the condition for checkingproposalDetails.type === "UpdateGlobalNftLimit"
does not exist. And since theProposalCreated
mappings throw an error for unimplemented/unsupported proposal types, this mapping would throw an exception when theUpdateGlobalNftLimit
proposal type is unfiltered (in future runtime upgrade) and a proposal is created of this type.joystream/query-node/mappings/src/proposals.ts
Line 306 in d144823
Fix
Handle the
UpdateGlobalNftLimit
proposal type in the mappingThe text was updated successfully, but these errors were encountered: