Skip to content

Fix loadtest scripts#40

Merged
codchen merged 2 commits intomasterfrom
tony-chen-fix-loadtest
Jun 11, 2022
Merged

Fix loadtest scripts#40
codchen merged 2 commits intomasterfrom
tony-chen-fix-loadtest

Conversation

@codchen
Copy link
Collaborator

@codchen codchen commented Jun 11, 2022

Fix scripts used by loadtest to work with sequence numbers properly. Tested on local chain with 1000 accounts.

@codchen codchen requested review from LCyson and philipsu522 June 11, 2022 21:19
for _, orderPlacement := range orderPlacements.Orders {
if !orderPlacement.Liquidation {
contractOrderPlacements = append(contractOrderPlacements, dexcache.ToContractOrderPlacement(orderPlacement))
if len(contractOrderPlacements) == MAX_ORDERS_PER_SUDO_CALL {
Copy link
Contributor

Choose a reason for hiding this comment

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

here if the number of contractOrderPlacements doesn't reach 50000 here, is the contractOrderPlacements discarded then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh good catch

Copy link
Contributor

@LCyson LCyson Jun 11, 2022

Choose a reason for hiding this comment

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

can we add a unit test for this one^

@codchen codchen force-pushed the tony-chen-fix-loadtest branch from 6dba94f to 4c825e7 Compare June 11, 2022 22:52
@codchen codchen merged commit 0cebf89 into master Jun 11, 2022
masih pushed a commit that referenced this pull request Sep 26, 2025
masih pushed a commit that referenced this pull request Sep 29, 2025
## Describe your changes and provide context
There are resource accesses in the ante handler, we need to block before
the access occurs, or else we will run into issues there where there's a
race condition between the different accesses

## Testing performed to validate your change
Ran 20 iterations of the the basic msg load test with 5 validators and
didn't experience any issues
masih pushed a commit that referenced this pull request Sep 30, 2025
## Describe your changes and provide context
There are resource accesses in the ante handler, we need to block before
the access occurs, or else we will run into issues there where there's a
race condition between the different accesses

## Testing performed to validate your change
Ran 20 iterations of the the basic msg load test with 5 validators and
didn't experience any issues
masih pushed a commit that referenced this pull request Oct 1, 2025
…s #7781" (#40)

Fix state sync failure caused by duplicates RPC endpoints providers

Co-authored-by: Yiming Zang <yzang@twitter.com>
masih pushed a commit that referenced this pull request Oct 9, 2025
[SeiDB] Pt 2 State Store Unit Tests
masih pushed a commit that referenced this pull request Oct 23, 2025
Return unit64 based timestamp in packet timeout error message
@masih masih deleted the tony-chen-fix-loadtest branch October 31, 2025 15:52
masih pushed a commit that referenced this pull request Dec 17, 2025
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.

3 participants