Skip to content

Commit

Permalink
Update CoW dependencies to v2.295.0 (#105)
Browse files Browse the repository at this point in the history
Updated CoW dependencies to v2.295.0

---------

Co-authored-by: ilya <[email protected]>
  • Loading branch information
github-actions[bot] and squadgazzz authored Jan 29, 2025
1 parent b9b2fb8 commit 09feead
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ tracing = "0.1"
web3 = "0.19"
lru = "0.12.5"

contracts = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "contracts" }
ethrpc = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "ethrpc" }
observe = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "observe" }
shared = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "shared" }
dto = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "solvers-dto" }
rate-limit = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "rate-limit" }
number = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "number" }
contracts = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "contracts" }
ethrpc = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "ethrpc" }
observe = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "observe" }
shared = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "shared" }
dto = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "solvers-dto" }
rate-limit = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "rate-limit" }
number = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "number" }

[dev-dependencies]
testlib = { git = "https://github.com/cowprotocol/services.git", tag = "v2.294.0", package = "testlib" }
testlib = { git = "https://github.com/cowprotocol/services.git", tag = "v2.295.0", package = "testlib" }
glob = "0.3"
maplit = "1"
tempfile = "3"
2 changes: 1 addition & 1 deletion src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Api {
.layer(DefaultBodyLimit::disable())
.with_state(Arc::new(self.solver));

let make_svc = observe::make_service_with_task_local_storage!(app);
let make_svc = observe::make_service_with_request_tracing!(app);

let server = axum::Server::bind(&self.addr).serve(make_svc);
if let Some(bind) = bind {
Expand Down
2 changes: 1 addition & 1 deletion src/util/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ where
T: DeserializeOwned,
E: DeserializeOwned,
{
if let Some(id) = observe::request_id::get_task_local_storage() {
if let Some(id) = observe::request_id::from_current_span() {
request = request.header("X-REQUEST-ID", id);
}
let (client, request) = request.build_split();
Expand Down

0 comments on commit 09feead

Please sign in to comment.