Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Conversation

@lmittmann
Copy link
Contributor

📝 Summary

This PR adds a test suite and benchmarks for the miner.greedyBuilder that consists of very small tx pools and bundles and their maximum validator profit. Small tx pools and bundle sets are easy to reason about and good for testing exactly one aspect of the block builder. It is also straight forward to add new test cases to the suite.

The test cases can be inflated/scaled up to produce bigger transaction pools and bundle sets which is useful for benchmarks. In the future this framework could be extended to generate tx pools and bundle sets consisting of a combination of test cases to produce more realistic input for the builder.


@Ruteri Ruteri marked this pull request as ready for review December 19, 2022 20:09
@Ruteri
Copy link
Collaborator

Ruteri commented Dec 23, 2022

Closing in favor of the rebased and simplified #32
The code attribution will be preserved there, thanks for putting together awesome new way to do tests

@Ruteri Ruteri closed this Dec 23, 2022
avalonche pushed a commit that referenced this pull request Feb 7, 2023
avalonche pushed a commit that referenced this pull request Mar 9, 2023
avalonche pushed a commit that referenced this pull request Mar 15, 2023
avalonche pushed a commit that referenced this pull request Mar 17, 2023
avalonche pushed a commit that referenced this pull request Mar 22, 2023
avalonche pushed a commit that referenced this pull request Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants