Move sdk.Msg
and other TX stuff to types/tx
#10650
Labels
T: API Breaking
Breaking changes that impact APIs and the SDK only (not state machine).
Summary
Move tx-related interfaces, structs and functions from
sdk
totypes/tx
.ref: #10527 (comment)
Problem Definition
We use
sdk.Msg
everywhere, but it's probably a better idea to put it in thetypes/tx
package, to uncluttersdk
.Proposal
sdk.Tx
,sdk.FeeTx
,sdk.MemoTx
etc, see Move away from Tx interfaces (sdk.Tx, sdk.FeeTx...) #10347types/tx
:sdk.Msg
MsgTypeURL
,TxEncoder
,TxDecoder
(the latter 2 maybe in a middleware)?RegisterLegacyAminoCodec
,RegisterInterfaces
If possible, create a type alias to provide backwards compatibility.
For Admin Use
The text was updated successfully, but these errors were encountered: