Skip to content

chore: parallellize keychain and queryPromise #6136

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gautam2305
Copy link

@Gautam2305 Gautam2305 commented May 16, 2025

Ticket: CAAS-7

  • parallellize keychain and queryPromise in prebuildAndSignTransaction function to improve /sendcoins endpoint performance

@Gautam2305 Gautam2305 force-pushed the CAAS-7-round-trips branch 2 times, most recently from e0befb2 to 7baae82 Compare May 16, 2025 11:06
@Gautam2305 Gautam2305 force-pushed the CAAS-7-round-trips branch 2 times, most recently from 8ecb7ea to bbb3faa Compare May 20, 2025 07:40
@Gautam2305 Gautam2305 force-pushed the CAAS-7-round-trips branch from c682e7c to 2ba5ea3 Compare May 20, 2025 09:00
@Gautam2305 Gautam2305 force-pushed the CAAS-7-round-trips branch from 87c70b9 to c829563 Compare May 20, 2025 10:02
@Gautam2305 Gautam2305 marked this pull request as ready for review May 20, 2025 10:34
@Gautam2305 Gautam2305 requested review from a team as code owners May 20, 2025 10:34
@Gautam2305 Gautam2305 force-pushed the CAAS-7-round-trips branch from 4bd8ccb to 037ee71 Compare May 20, 2025 11:48
Copy link
Contributor

@shashankms288 shashankms288 left a comment

Choose a reason for hiding this comment

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

LGTM

}
try {
await ethWallet.sendMany({ ...sendManyParamsCorrectPassPhrase });
} catch (e) {
e.message.should.not.equal(errorMessage);
e.message.should.equal(errorMessage);
Copy link
Contributor

Choose a reason for hiding this comment

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

why did we change this test?

Copy link
Author

Choose a reason for hiding this comment

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

After making validation and prebuildQuery parallel, it would give a consistent error message unable to decrypt keychain with the given wallet passphrase. This test explicitly checked for error message to be different

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.

4 participants