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
Hi,
we are trying to upgrade our cosmos SDK usage from v0.47.14 to latest version, and are encountering some difficulties with serializing transactions
specifically, we are trying to adapt to the breaking change of getting a transaction bytes to sign on, i.e replace this:
specifically, this is failing for me when trying to serialize generic messages in amino format, which their types are not known in advance and were not registered in codec.
This is what we previously did to implement such functionality
This is a minimal reproducible example which work on v0.47.14
Hi,
we are trying to upgrade our cosmos SDK usage from v0.47.14 to latest version, and are encountering some difficulties with serializing transactions
specifically, we are trying to adapt to the breaking change of getting a transaction bytes to sign on, i.e replace this:
with what seems to be an in place replacement:
but it fails in some cases
specifically, this is failing for me when trying to serialize generic messages in amino format, which their types are not known in advance and were not registered in codec.
This is what we previously did to implement such functionality
This is a minimal reproducible example which work on v0.47.14
upgrading to latest version, and trying to replace
with
will fail
this is probably due to the not going through this code path any more
cosmos-sdk/x/auth/migrations/legacytx/stdsign.go
Line 63 in f007a4e
and the new code path for serializing is assuming the messages types are all known and registered before hand
any help\pointers for maintaining our current functionality will be greatly appreciated
thx
The text was updated successfully, but these errors were encountered: