Skip to content

Claiming rewards on Centrifuge #15

@mario-sangar

Description

@mario-sangar

I'm trying to claim rewards on the Centrifuge network with this tool and it doesn't work with the default type_preset. I tried to add the Centrifuge types defined on @polkadot/api (adapted for the substrate-interface). The tool connected successfully, but it failed in a similar way as with the default types when signing the extrinsic.

scalecodec.exceptions.RemainingScaleBytesNotEmptyException: Decoding "None" - No more bytes available (needed: 72 / total: 69)

A link to the Centrifuge types:

https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec/centrifuge-chain.ts

It's there something I'm missing here? Using the @polkadot/api it's able to submit the extrinsic with those types, so I don't know if it's related to the types themselves. You can replicate the issue even without submitting the extrinsic, the error pops up when signing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions