Skip to content
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

More crypto updates #43

Merged
merged 10 commits into from
Jun 5, 2024
Merged

More crypto updates #43

merged 10 commits into from
Jun 5, 2024

Conversation

gregnazario
Copy link
Contributor

Description

This reworks TransactionAuthenticators to support Fee Payer, and other signers.

It's important to rework, because otherwise, it only supports single sender on Ed25519.

Test Plan

Secp256k1 does not work properly when tested on-chain, but Ed25519 works with single sender and the legacy format. MultiEd25519 and MultiKey were tested for cryptography, but not for on-chain representation. That will need to be tested in a future release.

Related Links

@gregnazario gregnazario requested a review from a team as a code owner June 4, 2024 17:11
@gregnazario gregnazario requested review from brianolson and removed request for a team June 4, 2024 17:12
Copy link
Contributor

@brianolson brianolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I found one copy-paste-o, and hope we get to do a proper test of multi-key Verify (as noted in TODO) before 1.0

PublicKey() PublicKey

// Signature return the signature bytes
// Signature is a typed signature that can be verified by the public key. It must be a valid on-chain representation
// // and cannot be something like Secp256k1Signature on its own.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra //

@gregnazario
Copy link
Contributor Author

I think I found one copy-paste-o, and hope we get to do a proper test of multi-key Verify (as noted in TODO) before 1.0

Yeah, I expect to test everything before I make it 1.0, but I will stabilize in a release before then

@gregnazario gregnazario merged commit 2a64874 into main Jun 5, 2024
1 check passed
@gregnazario gregnazario deleted the more-crypto-updates branch June 5, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants