-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Add Email Headers #5
Conversation
387de94
to
0c19631
Compare
Can you follow CODING_GUIDELINES.md? |
src/command_templates.rs
Outdated
} | ||
|
||
// Generated by Github Copilot! | ||
pub fn uint_to_decimal_string(uint: u128, decimal: usize) -> String { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check if this functions exists in converters.rs if not can you shift it there?
src/proof.rs
Outdated
Ok((proof, pub_signals)) | ||
} | ||
|
||
pub fn calculate_default_hash(input: &str) -> String { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if exists in cryptos.rs if not add
src/proof.rs
Outdated
hash_code.to_string() | ||
} | ||
|
||
pub fn calculate_account_salt(email_addr: &str, account_code: &str) -> String { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if exists in cryptos.rs if not add
Add AI generated comments
Description
Adds email headers to ParsedEmail.
Moves functionality from
ether-email-auth
to utilsFixes # (issue)
Type of change
How Has This Been Tested?
Checklist: