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

Implement new loadtest case #10952

Merged
merged 6 commits into from
Mar 4, 2024
Merged

Conversation

jcortejoso
Copy link
Member

Description

Add to celotool a new case for simulate-client command that emulates the load produced by ordinals/inscription scenario. That is:

  • Self native-token (celo) transfers
  • 0 value
  • Transaction data of inscriptions type (i.e.: data:,{"p":"cls-20","op":"mint","tick":"cels","amt":"100000000"})

Additionally to that, I added a few changes to help with the testing:

  • Fauceting threads accounts automatically (the accounts used to faucet must be fauceted using the command bin/celotooljs.sh generate faucet-load-test --mnemonic $MNEMONIC --replica_from 0 --replica_to 10 --threads_from 0 --threads_to 0 -e <NETWORK> --gold 50 --dollars 50)
  • Adding chainId to txOptions
  • Unify the logic to derive the account index using getIndexForLoadTestThread function.

@jcortejoso jcortejoso requested a review from carterqw2 February 28, 2024 14:45
@jcortejoso jcortejoso requested a review from a team as a code owner February 28, 2024 14:45
@jcortejoso jcortejoso requested a review from alvarof2 February 28, 2024 14:45
@jcortejoso jcortejoso merged commit c04dd49 into master Mar 4, 2024
32 checks passed
@jcortejoso jcortejoso deleted the jcortejoso/load-test-ordinals branch March 4, 2024 08:58
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