Skip to content

Add Textual SignModeHandler #13700

@amaury1093

Description

@amaury1093

Summary

Integrate Textual with the existing sign modes.

Part of #11970

Problem Definition

Textual work has been happening in a separate package tx/textual. We should wire it up to the existing sign mode handlers.

Proposal

  • Add new new sign mode handler (see previous work [WIP] feat: SIGN_MODE_TEXTUAL #12077)
    • the signModeTextualHandler struct should hold a Textual field
  • Modify the NewTxConfig function signature for Textual, or a new function NewTxConfigWithTextual
  • Textual needs access to the following parameters:
    1. bodyBz and authInfoBz: easily fetchable from the wrapper
    2. context.Context: easy once SignModeHandler's GetSignBytes: add Context arg #13646 is done
    3. coinMetadataQuerier: to be set in app.go (for manual wiring) or tx module (for depinject). It needs to use the bankKeeper.
  • Find a good public-facing API

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions