Skip to content

fix: serde encoding for LinkableAccountId#420

Merged
ntn-x2 merged 1 commit intodevelopfrom
aa/fix-serde-encoding
Oct 11, 2022
Merged

fix: serde encoding for LinkableAccountId#420
ntn-x2 merged 1 commit intodevelopfrom
aa/fix-serde-encoding

Conversation

@ntn-x2
Copy link
Contributor

@ntn-x2 ntn-x2 commented Oct 11, 2022

After spending a considerable amount of time for making the DID RPC using the new linkable accounts work, I stumbled across the following conversation: polkadot-js/api#3367.

TL;DR: the polkadot api library expects any serde stuff to follow a camelCase capitalization. This PR fixes that for the LinkableAccountId type. I tested with the latest type definitions, and it now seems to be working fine.

@ntn-x2 ntn-x2 requested a review from trusch October 11, 2022 08:09
@ntn-x2 ntn-x2 self-assigned this Oct 11, 2022
@ntn-x2 ntn-x2 merged commit c9ac4a5 into develop Oct 11, 2022
@ntn-x2 ntn-x2 deleted the aa/fix-serde-encoding branch October 11, 2022 08:23
@ntn-x2 ntn-x2 restored the aa/fix-serde-encoding branch November 29, 2022 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants