-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR: only support single sig mode (#2329)
* only support single mode * comment * revert * signbytes if nil must return * panic if not support * Tx decoder unknowfields (#2342) * open RejectUnknownFields * extension is not support for amino * not support payer Co-authored-by: Ywmet <[email protected]> * rm no use * add validate authinfo fee * better panic * add ut sign mode * add signle ut Co-authored-by: Ywmet <[email protected]> Co-authored-by: KamiD <[email protected]>
- Loading branch information
1 parent
fa9db10
commit d325aa7
Showing
11 changed files
with
222 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package crypto | ||
|
||
import ( | ||
protogogo "github.com/gogo/protobuf/proto" | ||
) | ||
|
||
func init() { | ||
protogogo.RegisterType((*PublicKey)(nil), "tendermint.proto.crypto.keys.PublicKey") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package types | ||
|
||
import ( | ||
protogogo "github.com/gogo/protobuf/proto" | ||
) | ||
|
||
func init() { | ||
protogogo.RegisterType((*SignedHeader)(nil), "tendermint.types.SignedHeader") | ||
|
||
protogogo.RegisterType((*PartSetHeader)(nil), "tendermint.proto.types.PartSetHeader") | ||
protogogo.RegisterType((*Part)(nil), "tendermint.proto.types.Part") | ||
protogogo.RegisterType((*BlockID)(nil), "tendermint.proto.types.BlockID") | ||
protogogo.RegisterType((*Header)(nil), "tendermint.proto.types.Header") | ||
protogogo.RegisterType((*Data)(nil), "tendermint.proto.types.Data") | ||
protogogo.RegisterType((*Vote)(nil), "tendermint.proto.types.Vote") | ||
protogogo.RegisterType((*Commit)(nil), "tendermint.proto.types.Commit") | ||
protogogo.RegisterType((*CommitSig)(nil), "tendermint.proto.types.CommitSig") | ||
protogogo.RegisterType((*Proposal)(nil), "tendermint.proto.types.Proposal") | ||
protogogo.RegisterType((*BlockMeta)(nil), "tendermint.proto.types.BlockMeta") | ||
|
||
protogogo.RegisterType((*ValidatorSet)(nil), "tendermint.proto.types.ValidatorSet") | ||
protogogo.RegisterType((*Validator)(nil), "tendermint.proto.types.Validator") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package version | ||
|
||
import ( | ||
protogogo "github.com/gogo/protobuf/proto" | ||
) | ||
|
||
func init() { | ||
protogogo.RegisterType((*Consensus)(nil), "tendermint.proto.version.Consensus") | ||
} |
Oops, something went wrong.