pendulum-chain / pendulum-squids

The subsquid squids we use for Pendulum/Amplitude/Foucoco.
GNU General Public License v3.0
0 stars 0 forks source link

Fix contract `id`s not showing encoded addresses #11

Closed ebma closed 10 months ago

ebma commented 10 months ago

At the moment, the ids that we assign to the nabla smart contracts are shown as hex-encoded values.

image

However, we'd like to show 'proper' addresses like 6j8TG1juRth1aWBrAh1PvgB7FTmfnFkrTHgg83vjzRnGiWnQ as this parameter.

TODO

Change the assigned id parameter to an ss58 encoded address. I assume this can be achieved with the codec.encode() function, similar to here.

ebma commented 10 months ago

Please add your planning poker estimate with Zenhub @adelarja

ebma commented 10 months ago

@pendulum-chain/product this ticket is required to fix a bug that is currently faced in the nabla integration to the portal.