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

feat: orderbook bench helper #1558

Merged
merged 9 commits into from
Sep 22, 2023
Merged

feat: orderbook bench helper #1558

merged 9 commits into from
Sep 22, 2023

Conversation

wischli
Copy link
Contributor

@wischli wischli commented Sep 19, 2023

Adds an benchmark helper to the pallet-order-book which exposes the necessary setup to register a trading pair for arbitrary currencies.

It is inspired by the the existing PoolBenchmarkHelper which was moved to a new benchmarking module of cfg_traits.

Required for benchmarking LPs, especially foreign investments

@wischli wischli added D0-ready Pull request can be merged without special precaution and notification. I8-enhancement An additional feature. labels Sep 19, 2023
@wischli wischli self-assigned this Sep 19, 2023
Copy link
Contributor

@lemunozm lemunozm left a comment

Choose a reason for hiding this comment

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

Like a lot! Good to see this schema is growing to other pallets ❤️

pallets/pool-system/src/impls.rs Show resolved Hide resolved
pallets/pool-system/src/impls.rs Outdated Show resolved Hide resolved
@wischli wischli requested a review from lemunozm September 20, 2023 18:25
mustermeiszer
mustermeiszer previously approved these changes Sep 21, 2023
libs/mocks/src/pools.rs Outdated Show resolved Hide resolved
@lemunozm lemunozm mentioned this pull request Sep 22, 2023
6 tasks
@lemunozm
Copy link
Contributor

I would need this PR for: #1563, is this ready to be merged?

@wischli
Copy link
Contributor Author

wischli commented Sep 22, 2023

I would need this PR for: #1563, is this ready to be merged?

Let me resolve the issues after rebasing and then let's merge this!

@wischli wischli enabled auto-merge (squash) September 22, 2023 11:38
@wischli wischli merged commit 1a49dd0 into main Sep 22, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D0-ready Pull request can be merged without special precaution and notification. I8-enhancement An additional feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants