Decouple client/tx from x/auth (#5992)
As part of #5864 part 2), this PR decouples the new client/tx package from x/auth (as an incremental step to deprecating all the tx logic in x/auth) and adds StdFee, StdSignature, StdSignMsgBase and StdTxBase to codec/std, while deprecating the corresponding types in x/auth.
This commit is contained in:
@@ -88,6 +88,12 @@ var (
|
||||
// ErrWrongPassword defines an error when the key password is invalid.
|
||||
ErrWrongPassword = Register(RootCodespace, 23, "invalid account password")
|
||||
|
||||
// ErrorInvalidSigner defines an error when the tx intended signer does not match the given signer.
|
||||
ErrorInvalidSigner = Register(RootCodespace, 24, "tx intended signer does not match the given signer")
|
||||
|
||||
// ErrorInvalidGasAdjustment defines an error for an invalid gas adjustment
|
||||
ErrorInvalidGasAdjustment = Register(RootCodespace, 25, "invalid gas adjustment")
|
||||
|
||||
// ErrPanic is only set when we recover from a panic, so we know to
|
||||
// redact potentially sensitive system info
|
||||
ErrPanic = Register(UndefinedCodespace, 111222, "panic")
|
||||
|
||||
Reference in New Issue
Block a user