-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: x/Auth and x/tx module common types unification/conversion #17530
Comments
Was it maybe done for simplifying the dependency graph? cc @kocubinski |
yes, also transaction handling shoulnt be part of auth. The types in auth/tx will be removed in the future they are legacy types right now. We should mark them as such to avoid confusion |
that's right, in v0.50 signing is handled in x/tx, so the duplicate type in x/auth is deprecated. |
Should we remove the types in auth since they are still in the release branch? |
we merged quite a bit |
Summary
There are common types in x/auth and x/signing modules that represent the same type of information but with different/old types,
This break interoperability between modules, and makes maintainability difficult.
Problem Definition
Example of SignerData type on both modules. The pubkey should follow crypto module type
cryptotypes
for public keys. But only one of these do, trying to communicate between modules that use one or antoher require to parse one into another.x/auth/signing/sign_mode_handler.go
x/tx/signing/signer_data.go
Proposed Feature
Let's clean up the modules and agree on maintaining the common type in one place
The text was updated successfully, but these errors were encountered: