Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix autopilot command errors with new inputs #586

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

Open
MarcusWentz wants to merge 2 commits into cowprotocol:main
base: main
Choose a base branch
Loading
from MarcusWentz:patch-1
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions docs/cow-protocol/tutorials/solvers/local_test.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ The repository where all the backend services can be found is this one: [https:/

For the autopilot, we run

```
cargo run --bin autopilot -- --native-price-estimators "baseline|http://driver/baseline" --skip-event-sync true --node-url $NODE_URL --shadow https://api.cow.fi/mainnet --drivers "mysolver1|http://localhost:11088/mysolver1"
```shell
cargo run --bin autopilot -- \
--native-price-estimators "Driver|baseline|http://driver/baseline" \
--skip-event-sync true \
--node-url $NODE_URL \
--shadow https://barn.api.cow.fi/mainnet \
--drivers "mysolver1|http://localhost:11088|0x0000000000000000000000000000000000000000|0"
```

where one needs to set the NODE_URL appropriately (e.g., a free Infura endpoint).
Expand All @@ -36,8 +41,8 @@ CoW Protocol services infrastructure can be very heavy on RPC resource consumpti

For the driver, we run

```
cargo run -p driver -- --config driver.config.toml --ethrpc $NODE_URL
```shell
cargo run -p driver -- --config driver.config.toml --ethrpc $NODE_URL
```

where one needs to configure driver.config.toml to point to their solver engine. A sample such file can be found [here](https://github.com/cowprotocol/services/blob/main/crates/driver/example.toml).
Expand Down

AltStyle によって変換されたページ (->オリジナル) /