Skip to content

Conversation

roynalnaruto
Copy link
Collaborator

No description provided.

@roynalnaruto roynalnaruto requested a review from lispc as a code owner September 9, 2025 15:46
// Check that the encryption key specified in the message represents the pubkey for the
// sequencer's decryption key.
if PublicKey::try_from_bytes(encryptionKey.as_ref())?.ne(&secret_key.public_key()) {
return Err(ValidiumError::InvalidEncryptionKey);
Copy link

Choose a reason for hiding this comment

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

Same here, we should not treat this as InvalidEncryptionKey (user error), but instead as UnknownEncryptionKey (internal error that we need to fix).

@roynalnaruto
Copy link
Collaborator Author

Closing as the public key will no longer be attached to the L1 msg. Instead the encryption key will be a part of public inputs.

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