Joystream / substrate-node-joystream

Joystream Full Node
https://www.joystream.org
GNU General Public License v3.0
15 stars 16 forks source link

sudo methods #22

Closed mnaamani closed 5 years ago

mnaamani commented 5 years ago

implementing #10

Ready for final review.

mnaamani commented 5 years ago

Trying to call the methods through the sudo module in polkadotjs giving errors: screen shot 2019-02-18 at 11 53 48 am

mnaamani commented 5 years ago

@alex Turns out there is a type name clash. Proposal is the type used to "wrap" a call for sudo, and we are registering it as a custom type.

Proposal is defined in @polkadot/types and used in the extrinstics app (where we can make sudo calls) https://github.com/Joystream/apps/blob/joystream/packages/app-extrinsics/src/Params/Proposal.tsx#L9

Can we namespace the type names or do we need to change our runtime?