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

test: improve speed of starknet integration tests 10x #981

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

Sekhmet
Copy link
Member

@Sekhmet Sekhmet commented Nov 14, 2024

Summary

The issue is with starknetjs implementation of waitForTransaction, that will always take at least 10s with default settings.

We can improve it a lot by just decreasing intervals.

starknet-io/starknet.js#1237 (comment)

How to test

  1. In sx.js
  2. Run yarn node:starknet
  3. Run yarn test:integration:starknet
  4. It's actually manageably fast.

The issue is with starknetjs implementation of waitForTransaction,
that will always take at least 10s with default settings.

We can improve it a lot by just decreasing intervals.

starknet-io/starknet.js#1237 (comment)
Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

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

utAck

@Sekhmet Sekhmet merged commit f57a435 into master Nov 16, 2024
4 checks passed
@Sekhmet Sekhmet deleted the sekhmet/integration-tests branch November 16, 2024 16:26
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.

2 participants