From aa5693d9c6650aea436560b8ddf76c384f8bca2d Mon Sep 17 00:00:00 2001 From: MarcusWentz <52706599+MarcusWentz@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:15:04 -0500 Subject: [PATCH 1/2] fix autopilot command errors with new inputs --- docs/cow-protocol/tutorials/solvers/local_test.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/cow-protocol/tutorials/solvers/local_test.md b/docs/cow-protocol/tutorials/solvers/local_test.md index 05f254230..002dc93f4 100644 --- a/docs/cow-protocol/tutorials/solvers/local_test.md +++ b/docs/cow-protocol/tutorials/solvers/local_test.md @@ -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://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). @@ -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). From 39f8a19f74c989fb9e949b47ea04d6bac9f3d8ab Mon Sep 17 00:00:00 2001 From: MarcusWentz <52706599+MarcusWentz@users.noreply.github.com> Date: Wed, 21 Jan 2026 15:57:38 -0500 Subject: [PATCH 2/2] Change shadow API URL to barn.api.cow.fi Updated the shadow API URL in the local test tutorial. --- docs/cow-protocol/tutorials/solvers/local_test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cow-protocol/tutorials/solvers/local_test.md b/docs/cow-protocol/tutorials/solvers/local_test.md index 002dc93f4..7975fd2f5 100644 --- a/docs/cow-protocol/tutorials/solvers/local_test.md +++ b/docs/cow-protocol/tutorials/solvers/local_test.md @@ -27,7 +27,7 @@ cargo run --bin autopilot -- \ --native-price-estimators "Driver|baseline|http://driver/baseline" \ --skip-event-sync true \ --node-url $NODE_URL \ ---shadow https://api.cow.fi/mainnet \ +--shadow https://barn.api.cow.fi/mainnet \ --drivers "mysolver1|http://localhost:11088|0x0000000000000000000000000000000000000000|0" ```