You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->
## Overview
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
Ex: Closes #<issue number>
-->
Things fixed:
* getAddress does not work for secp256k1, hence using the address
directly from the validator set
* additional logic to handle secp256k1 signing
* move updating store height to before apply block so that, the rpc
(like Status) is able to use the updated height instead of old height
* change vote extension signing to sign on the bytes from
`VoteExtensionSignBytes` instead of plain extension
* fix rpc nilptr failures using normalized height
* add the missing vote extension enable height from genesis
* retain votes from proposed last commit
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced proposal voting process to support different private key
types.
- **Refactor**
- Updated cryptographic package usage from `ed25519` to `cmcrypto`.
- Refactored key handling in multiple functions to support `secp256k1`.
- **Tests**
- Updated test cases to reflect changes in key handling and
cryptographic package usage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Ganesha Upadhyaya <[email protected]>
Co-authored-by: Manav Aggarwal <[email protected]>
0 commit comments