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

Update TxBuilder to use SignatureV2 #6443

Merged
merged 16 commits into from
Jun 16, 2020
Prev Previous commit
Next Next commit
Undeprecate StdTx, but leave a comment to use the protobuf Tx
  • Loading branch information
aaronc committed Jun 16, 2020
commit 95d0221c6d7ded6aee9d2c13def02795144f75ad
3 changes: 2 additions & 1 deletion x/auth/types/stdtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ func CountSubKeys(pub crypto.PubKey) int {

var _ sdk.Tx = (*StdTx)(nil)

// Deprecated: StdTx is a standard way to wrap a Msg with Fee and Signatures.
// StdTx is the legacy transaction format for wrapping a Msg with Fee and Signatures.
// It only works with Amino, please prefer the new protobuf Tx in types/tx.
// NOTE: the first signature is the fee payer (Signatures must not be nil).
type StdTx struct {
Msgs []sdk.Msg `json:"msg" yaml:"msg"`
Expand Down