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

Pass seed to runEvm in tests #465

Closed
alex-miller-0 opened this issue Sep 12, 2022 · 0 comments · Fixed by #466
Closed

Pass seed to runEvm in tests #465

alex-miller-0 opened this issue Sep 12, 2022 · 0 comments · Fixed by #466

Comments

@alex-miller-0
Copy link
Contributor

Currently when we call runEvm in any test, we make the signing request and then make a second encrypted request to get the loaded seed (initializeSeed). The latter request should not ever be necessary and makes running tests twice as long as they should be (and there are a lot of EVM signing requests).

We should pass seed as an argument to runEvm and only call await initializeSeed(client) if seed === null.

alex-miller-0 added a commit that referenced this issue Sep 13, 2022
This will avoid an unnecessary call being made for each individual
signing request. It replaces that with a single call at the beginning
of the signing test script.
Fixes #465
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 a pull request may close this issue.

1 participant