Skip to content
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

feat(x/auth/tx): Allow for Custom SignModeHandlers. #15204

Merged
merged 9 commits into from
Mar 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup unused
  • Loading branch information
Devon Bear committed Feb 27, 2023
commit d3137862c9f86eb6d1e9363b4a6ce770bf1a91d9
6 changes: 0 additions & 6 deletions x/auth/tx/mode_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ type SignModeHandlerPair struct {
handler signing.SignModeHandler
}

var DefaultSignModeHandlerPairs = []SignModeHandlerPair{
{signingtypes.SignMode_SIGN_MODE_DIRECT, signModeDirectHandler{}},
{signingtypes.SignMode_SIGN_MODE_DIRECT_AUX, signModeDirectAuxHandler{}},
{signingtypes.SignMode_SIGN_MODE_LEGACY_AMINO_JSON, signModeLegacyAminoJSONHandler{}},
}

// DefaultSignModes are the default sign modes enabled for protobuf transactions.
var DefaultSignModes = []signingtypes.SignMode{
signingtypes.SignMode_SIGN_MODE_DIRECT,
Expand Down