Commit e79af73
fix beginner setup/instructions for playground config (#232)
## 📝 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](https://github.com/flashbots/rbuilder?tab=readme-ov-file#end-to-end-local-testing)
without changing anything gave me this error:
```txt
δ 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](https://github.com/flashbots/rbuilder/blob/develop/crates/rbuilder/src/live_builder/order_input/clean_orderpool.rs#L30)
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:
* [x] Run `make lint`
* [x] Run `make test`
* [x] Added tests (if applicable)
---------
Co-authored-by: Ferran Borreguero <[email protected]>1 parent 112fb17 commit e79af73
File tree
5 files changed
+27
-9
lines changed- .github/workflows
- crates/rbuilder/src/live_builder
- order_input
5 files changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | | - | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
136 | | - | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
0 commit comments