-
Notifications
You must be signed in to change notification settings - Fork 660
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(bench): generate traffic calling MPC contract's sign
method
#12658
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #12658 +/- ##
==========================================
- Coverage 70.74% 70.72% -0.02%
==========================================
Files 848 848
Lines 174303 174301 -2
Branches 174303 174301 -2
==========================================
- Hits 123303 123273 -30
- Misses 45857 45883 +26
- Partials 5143 5145 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Tests against |
|
||
let mut payload: [u8; 32] = [0; 32]; | ||
rng.fill(&mut payload); | ||
let path = Alphanumeric.sample_string(rng, 16); |
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.
@saketh-are is 16 a reasonable value for the path length? In case the required path length may change, it can be made an argument (like --key-version
above).
Requirements have been discussed in this Zulip thread.
Usage
Assumes the contract has already been deployed and initialized.
just create_sub_accounts
.benchmark-mpc-sign
command.