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

use forking for bot logic calling arb() #112

Open
rouzwelt opened this issue Jun 5, 2024 · 0 comments
Open

use forking for bot logic calling arb() #112

rouzwelt opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rouzwelt
Copy link
Collaborator

rouzwelt commented Jun 5, 2024

atm all opp finding is based on calling arb() mthod on arb contract using rpc and see if it successful or not, this can put much stress on node, and is not the most efficient way.
a fork on certain blocknumber can ideally be used to lower the node stress on calls, as it would only tries fetching missing bits and not run teh whole trace everytime.
but this is not certain, and needs to be tested in prod to make sure if it can really help or not.
also for forking, using foundry_evm is needed since that has the logic to build blockchain state from rpc calls, and not just store calling args against result on disk like hardhat or anvil

@rouzwelt rouzwelt added the enhancement New feature or request label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant