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

fix beginner setup/instructions for playground config #232

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

zeroXbrock
Copy link
Member

📝 Summary

  • changes path of el_node_ipc_path in config-playground.toml to use $HOME/.playground/devnet instead of /tmp (aligns with current builder-playground defaults)
  • adds a step in the README to replace '$HOME' with your actual home path
    • $HOME was not evaluating correctly for me (tested on my ubuntu machine), fully-qualified paths fixed it

💡 Motivation and Context

Following the instructions without changing anything gave me this error:

δ cargo run --bin rbuilder run config-playground.toml
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s
     Running `target/debug/rbuilder run config-playground.toml`
...(truncated)

Error: No such file or directory (os error 2)

Caused by:
    No such file or directory (os error 2)

Location:
    /home/dev/code/rbuilder/crates/rbuilder/src/live_builder/order_input/clean_orderpool.rs:30:20

The line of code given by the error connects to the IPC provider, which was being initialized with an invalid path given the current instructions & defaults.

✅ I have completed the following steps:

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

Copy link

Benchmark results for e94c623

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

Date (UTC) 2024-10-30T17:55:53+00:00
Commit e94c6230d8593c40a22e3ecd73f7eff91efc76e1
Base SHA 112fb17450f8e1b267fb0d38bad011830d92d1b9

Significant changes

None

@ryanschneider
Copy link
Contributor

ryanschneider commented Oct 30, 2024

Interesting, for me the reth playground process uses /tmp/reth.ipc:

$ grep reth.ipc ~/.playground/devnet/logs/reth.log
2024-10-28T15:45:49.101095Z  INFO RPC IPC server started path=/tmp/reth.ipc

edit: Ah nevermind, this was before flashbots/builder-playground#27

@ferranbt ferranbt merged commit e79af73 into develop Nov 1, 2024
5 checks passed
@ferranbt ferranbt deleted the brock/readme-localtest-updates branch November 1, 2024 12:39
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.

4 participants