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: spoof balances for backtesting #55

Closed
wants to merge 1 commit into from
Closed

Conversation

bertmiller
Copy link
Member

📝 Summary

Introduces an optional field that allows for balance spoofing, primarily useful for testing contexts.

💡 Motivation and Context

This change is required to generate transactions from test accounts without funding those accounts, which we want to do as a part of making synthetic bundles.

We may prefer instead to use @ferranbt's recent work that allows for usage of pre-funded accounts on a dev network instead.


✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

Copy link

Benchmark results for ba3d618

Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/ba3d618-db634fc/report/index.html

Date (UTC) 2024-07-13T11:19:20+00:00
Commit ba3d618e39dae22ab9c1983f985d691fac3cba83
Base SHA db634fcb90a6b2fc484e19f02a59a5b74ffeefa2

Significant changes

Benchmark Mean Status
MEV-Boost SubmitBlock serialization/JSON encoding -3.05% Performance has improved.

@ZanCorDX ZanCorDX closed this Sep 9, 2024
@ZanCorDX ZanCorDX deleted the balance-spoof branch September 9, 2024 16: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