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
e.g. one chain prefix their address with axmXxxxxxx... another prefix with cosmosXxxxxxxx....
but the String() functions e.g. for AccAdress is using Global config and the String() function is used in tx.Sign
Currently it seems that there's no easy way to support multiple Cosmos based chains in the same process ? I know we have series of tickets to remove Globals but this is very limiting.
I must have missed sth. Would be really appreciated if you can point me in the right direction 🙏
Problem Definition
No response
Proposed Feature
Remove bech32AddressPrefix from global config as it's not really a global attribute
The text was updated successfully, but these errors were encountered:
Hey, yes you shouldn't use the .String() function on (Val)AccAddress but use an address codec.
Unfortunately, the global prefix cannot be totally removed just yet for backward compatibility.
What we can do however is mark those String() methods as deprecated 👍🏾
Summary
We have the same requirement as #16541
e.g. one chain prefix their address with
axmXxxxxxx...
another prefix withcosmosXxxxxxxx....
but the String() functions e.g. for AccAdress is using Global config and the String() function is used in tx.Sign
Currently it seems that there's no easy way to support multiple Cosmos based chains in the same process ? I know we have series of tickets to remove Globals but this is very limiting.
I must have missed sth. Would be really appreciated if you can point me in the right direction 🙏
Problem Definition
No response
Proposed Feature
Remove bech32AddressPrefix from global config as it's not really a global attribute
The text was updated successfully, but these errors were encountered: