namada
namada copied to clipboard
Public keys when mocking signatures
Describe your changes
Closes #4989.
Changes the signature functions to require a public key instead of a private one when mocking a signature. Introduces a new SigOrPubKey trait to share the behavior of public and private keys.
Checklist before merging
- [ ] If this PR has some consensus breaking changes, I added the corresponding
breaking::labels- This will require 2 reviewers to approve the changes
- [ ] If this PR requires changes to the docs or specs, a corresponding PR is opened in the
namada-docsrepo- Relevant PR if applies:
- [ ] If this PR affects services such as
namada-indexerornamada-masp-indexer, a corresponding PR is opened in that repo- Relevant PR if applies: