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
When I ran substrate-node-template and sent extrinsics from polkadot-js ui, the error params: initValue: createType(VerifierData):: DoNotConstruct: Cannot construct unknown type VerifierData happened.
It seems I need to define the types that I use my own pallet to types.json
I defined the types inside of api create method as following according to official documentation but it didn't work.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
I implemented my own pallet and I would like to test interacting
substrate-node-template
withpolkadot-js
.I forked
substrate-node-template
and imported my own pallet as following.https://github.com/mmagician/zkPlonk-testing-v3/tree/main/pallets/zk-test
When I ran
substrate-node-template
and sent extrinsics frompolkadot-js
ui, the errorparams: initValue: createType(VerifierData):: DoNotConstruct: Cannot construct unknown type VerifierData
happened.It seems I need to define the types that I use my own pallet to
types.json
I defined the types inside of api create method as following according to official documentation but it didn't work.
I think following
types.json
is really good example but I definedtypes.json
in my runtime directory but it didn't work.https://github.com/airalab/robonomics/tree/master/vendor/evercity
Where should I define the type?
Thank you!
The text was updated successfully, but these errors were encountered: