Conversation
email_template_2: add oko wallet email template
* oko_attached: Use CSS gradients for Base sponsorship background * oko_attached: Attach tooltip to icon wrapper and adjust styles * oko_attached: Use tertiary background for sponsored fee tooltip * oko_attached: prevent sponsored fee UI from showing when balance is sufficient for fee * oko_attached: fix fee calculation to use actual gas estimation and wait for L1 fee on OP Stack chains * oko_attached: hide next free transaction timer during signing and show keep window open message on success * oko_attached: Refetch fee sponsorship query every 10s * oko_attached: Refetch status on fee sponsorship error * oko_attached: Clamp remainingMs to not increase on update * oko_attached: Move tx receipt waiting into sponsorship flow * oko_attached: Use CSS classes for sponsorship backgrounds * oko_attached: Use viem Hex type for tx hash
eldenpark
reviewed
Feb 23, 2026
|
|
||
| use crate::sss::Point256; | ||
| use crate::sss::ReshareResult; | ||
|
|
eldenpark
reviewed
Feb 23, 2026
| secret: [u8; 32], | ||
| ks_node_hashes: Vec<[u8; 32]>, | ||
| t: u32, | ||
| ) -> Result<Vec<Point256>, String> { |
Contributor
There was a problem hiding this comment.
Could we define an Error enum?
eldenpark
reviewed
Feb 23, 2026
| } | ||
|
|
||
| /// Recover the secret from t shares via Lagrange interpolation at x=0. | ||
| pub fn seed_combine(split_points: Vec<Point256>, t: u32) -> Result<[u8; 32], String> { |
Contributor
There was a problem hiding this comment.
Error, please see the above comment. Also check the same use of this Error enum in this file
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request
CONTRIBUTING.mdand followed the guidelines.Summary
Links (Issue References, etc, if there's any)