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
What is the current behavior and expected behavior?
Current behavior
It is not possible to use the polkadot.js API to set the Riot/Matrix field in the on-chain identity of an account.
Expected behavior
It should be possible to set an account's identity using only the Riot/Matrix field by passing an object with a riot field (since renamed to matrix) to api.tx.setIdentity, see the image below.
I'm submitting a ...
What is the current behavior and expected behavior?
Current behavior
It is not possible to use the
polkadot.js
API to set theRiot/Matrix
field in the on-chain identity of an account.Expected behavior
It should be possible to set an account's identity using only the
Riot/Matrix
field by passing an object with ariot
field (since renamed tomatrix
) toapi.tx.setIdentity
, see the image below.Steps to reproduce:
setIdentity
extrinsicconsole.log
will beundefined
, when it should be'@test:test_server.io'
P.S. changing occurences of
riot
above tomatrix
is a compile-time error, but produces the expected behavior.Please tell us about your environment:
Version:
"@polkadot/types": "^14.0.1"
Environment:
Language:
The text was updated successfully, but these errors were encountered: