-
Notifications
You must be signed in to change notification settings - Fork 20
Add simulator service for generating throttling data and state diffs for txs #7
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
Closed
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
79b0dfe
Add simulations to the data store
niran f4e2e9b
Add success and error_reason to simulations
niran 376273e
Simulator draft implementation
niran 9b5c15d
Customize the default reth datadir
niran f8cf738
Implement the simulator as a reth ExEx to provide the state for simul…
niran d1e4044
Extract the worker pool so the mempool event listener can use it too
niran d43b944
Implement listening for mempool events with a shared worker pool
niran 214f477
Rename the components that listen for mempool and exex events to list…
niran b65a387
Clean up symbols
niran 18b9d4c
Encapsulate the listeners with their worker pool
niran 0ebef94
Remove old config
niran 6058c48
Implement TipsSimulationPublisher
niran 97a35ec
Draft implementation of bundle simulation using the reth block builder
niran 5d2cce4
Collect state diffs
niran aab1ee6
Remove unused struct
niran b8ff80c
Fix dependencies after rebase
niran 2d11117
Tweak reference handling and clones
niran 7e26250
Add simulator support for builder playground
niran 4c9f8c3
Pass the --chain CLI arg when using playground
niran 994f4d1
cargo fmt
niran fdfc0c7
Implement builder-playground the way op-rbuilder does and use OpNode …
niran 66c23ac
Extend Cli with an Ext for Cli<Spec, Ext> instead of flattening the r…
niran 71d841e
Disable txpool gossip
niran 6856e5d
Fix the default kafka topic
niran 941e59b
Add a simulator container to compose
niran 5dd8623
Connect to the trusted peer from inside a docker container
niran 5b24f80
Let builder-playground reach the simulator as a builder
niran 9038a1e
Test the simulator
niran 903e6f4
just fix
niran f2689b3
Remove and rename functions
niran 13c8d48
Remove unused test utilities
niran cf5ac0b
Avoid starting the simulator container by default and fail if the por…
niran 1c7d570
Clean up tests
niran d653aa0
just fix
niran 2311a6b
Remove unused function
niran 7d53484
Load .env.example when building the containers in Github Actions
niran d0da65c
Remove unused imports
niran 0f8ea90
Add reth-mdbx-sys build dependencies to all cargo chef Dockerfiles
niran a0395eb
Uncomment the ui sync commands
niran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.sqlx/query-4ec98cc82ef5dcab381aa633ccb2de483ddcb4e5af564ae1540be844a26d8262.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be
tip-ingress-rpc, so that theMempoolEventListenerkafka topic can process incoming bundles from Ingress RPC?