-
Notifications
You must be signed in to change notification settings - Fork 3.9k
add support for SLH-DSA-SHA2-128s TXN authenticators #18300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
3f09514
initial authenticator for SLH-DSA-SHA2-128s
alinush a52a912
add API support for SLH-DSA-SHA2-128s
alinush 1fca77b
auto-generate API and protobuf files for SLH-DSA-SHA2-128s
alinush 77a5632
add feature gating for SLH-DSA-SHA2-128s
alinush e4b1e0e
added e2e smoke test for SLH-DSA-SHA2-128s accounts
alinush 55303e3
add feature-gated higher gas costs for SLH-DSA-SHA128s transactions
alinush 48abf51
lints and revert python/scripts/install_deps.sh
alinush d8d5dc2
oops, should have appended to the enums
alinush 3c3cc85
rebase: update protobufs
alinush fa2d2b6
added API tests
alinush f5fcf61
incorporate gas feedback from victor
alinush 5e58978
Partially-revert "incorporate gas feedback from victor"
alinush 8b09ec9
oops, let's box things or risk OOM
alinush File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
5 changes: 5 additions & 0 deletions
5
api/goldens/aptos_api__tests__slh_dsa_sha2_128s__test_multi_slh_dsa_sha2_128s.json
This file contains hidden or 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,5 @@ | ||
| { | ||
| "public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
| "signature": "0xe6530660a35b39a78f782ec1653f3774d4fcc67de3b5cc952b88e99139c22e5b3869c64641f78ec96cbf9a5a42ed4fd7ee2b804c327ce89e7783f3ff7c9c6d01", | ||
| "type": "ed25519_signature" | ||
| } |
5 changes: 5 additions & 0 deletions
5
api/goldens/aptos_api__tests__slh_dsa_sha2_128s__test_multi_slh_dsa_sha2_128s_orderless.json
This file contains hidden or 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,5 @@ | ||
| { | ||
| "public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
| "signature": "0x3911006313e771d971f581fb64b15f4aa26a2fa60ccc13a02602f6afa627abe22a20212b6ad18801b7c63c56c798ce87167f332730e3a7555c95530f491eca01", | ||
| "type": "ed25519_signature" | ||
| } |
5 changes: 5 additions & 0 deletions
5
...goldens/aptos_api__tests__slh_dsa_sha2_128s__test_multi_slh_dsa_sha2_128s_payload_v2.json
This file contains hidden or 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,5 @@ | ||
| { | ||
| "public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
| "signature": "0x577369e22ada984a27334c9222443d0863129963a9822f74bb8322e0ef6341c2fdc3f589c5483bac55d625e1f9d2db05bd0812ae9a6938b1de0f5b9852fda703", | ||
| "type": "ed25519_signature" | ||
| } |
5 changes: 5 additions & 0 deletions
5
api/goldens/aptos_api__tests__slh_dsa_sha2_128s__test_slh_dsa_sha2_128s.json
This file contains hidden or 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,5 @@ | ||
| { | ||
| "public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
| "signature": "0xe6530660a35b39a78f782ec1653f3774d4fcc67de3b5cc952b88e99139c22e5b3869c64641f78ec96cbf9a5a42ed4fd7ee2b804c327ce89e7783f3ff7c9c6d01", | ||
| "type": "ed25519_signature" | ||
| } | ||
5 changes: 5 additions & 0 deletions
5
api/goldens/aptos_api__tests__slh_dsa_sha2_128s__test_slh_dsa_sha2_128s_orderless.json
This file contains hidden or 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,5 @@ | ||
| { | ||
| "public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
| "signature": "0x3911006313e771d971f581fb64b15f4aa26a2fa60ccc13a02602f6afa627abe22a20212b6ad18801b7c63c56c798ce87167f332730e3a7555c95530f491eca01", | ||
| "type": "ed25519_signature" | ||
| } |
5 changes: 5 additions & 0 deletions
5
api/goldens/aptos_api__tests__slh_dsa_sha2_128s__test_slh_dsa_sha2_128s_payload_v2.json
This file contains hidden or 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,5 @@ | ||
| { | ||
| "public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
| "signature": "0x577369e22ada984a27334c9222443d0863129963a9822f74bb8322e0ef6341c2fdc3f589c5483bac55d625e1f9d2db05bd0812ae9a6938b1de0f5b9852fda703", | ||
| "type": "ed25519_signature" | ||
| } |
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.