This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor EIP-712 signature verification (#1397)
* [WIP] EIP-712 Signature Refactor * Debug and add ante tests * Add tests for failure cases * Add changelog entry * Code cleanup * Add tests for MsgDelegate and MsgWithdrawDelegationReward * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Code cleanup * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Minor codefix * Update ethereum/eip712/encoding.go * Minor code revision updates * Refactor EIP712 unit tests to use test suite * Address import cycle and implement minor refactors * Fix lint issues * Add EIP712 unit suite test function * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Update ethereum/eip712/encoding.go Co-authored-by: Federico Kunze Küllmer <[email protected]> * Add minor refactors; increase test coverage * Correct ante_test for change in payload * Add single-signer util and tests * Update ethereum/eip712/encoding.go * Update ethereum/eip712/encoding.go * fix build Co-authored-by: Federico Kunze Küllmer <[email protected]> Co-authored-by: Freddy Caceres <[email protected]>
- Loading branch information
1 parent
41425fc
commit cb632c6
Showing
8 changed files
with
1,126 additions
and
9 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
Oops, something went wrong.