-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(avs): prevent BLS12-381 replay attacks (#314)
* refactor: improve bls signature validation logic * test: add unit tests for BLS signature functionality * rename the bls variable name * update the pre-compiled bls key registration interface parameters * remove redundant parameters * update comments * fix some comments * refactor(avs): make bls-msg fmt + update tests * test(avs): remove redundant return * test(avs): update x/avs tests * fix(avs): check bls key format * test(avs): fix test type * fix comments --------- Co-authored-by: MaxMustermann2 <[email protected]>
- Loading branch information
1 parent
a4d1dae
commit 505516b
Showing
8 changed files
with
281 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
Oops, something went wrong.