Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Enum interface wasn't generated #13516

Closed
2 tasks done
VadimSaveljev opened this issue Mar 2, 2023 · 1 comment
Closed
2 tasks done

Enum interface wasn't generated #13516

VadimSaveljev opened this issue Mar 2, 2023 · 1 comment
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.

Comments

@VadimSaveljev
Copy link

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

For some reason enum PalletAttributes wasn't generated into types-substrate
https://github.com/paritytech/substrate/blob/master/frame/nfts/src/types.rs#L329

while enum PalletFeature generated successfully
https://github.com/paritytech/substrate/blob/master/frame/nfts/src/types.rs#L427

    /** @name PalletNftsPalletFeature (642) */
    interface PalletNftsPalletFeature extends Enum {
        readonly isTrading: boolean;
        readonly isAttributes: boolean;
        readonly isApprovals: boolean;
        readonly isSwaps: boolean;
        readonly type: 'Trading' | 'Attributes' | 'Approvals' | 'Swaps';

Steps to reproduce

No response

@github-actions github-actions bot added the J2-unconfirmed Issue might be valid, but it’s not yet known. label Mar 2, 2023
@VadimSaveljev
Copy link
Author

apparently this enum is absent in getMetadata() results, hence absent in generated types

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.
Projects
None yet
Development

No branches or pull requests

1 participant