From 553c0c338edcc19a2c5f9cd0becf9f097e73a884 Mon Sep 17 00:00:00 2001 From: Kamil Koczurek Date: Sat, 2 Sep 2023 22:35:20 +0200 Subject: [PATCH] bump ya-client --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- core/payment/src/api/allocations.rs | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 59549967ed..1d48be64ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7922,7 +7922,7 @@ dependencies = [ [[package]] name = "ya-client" version = "0.7.0" -source = "git+https://github.com/golemfactory/ya-client.git?rev=76f4b6c98ca8c3ce73bae2dc66531906dd985b2d#76f4b6c98ca8c3ce73bae2dc66531906dd985b2d" +source = "git+https://github.com/golemfactory/ya-client.git?rev=20590d867dff7bb0662b5fc2abc6b6417cc47fe5#20590d867dff7bb0662b5fc2abc6b6417cc47fe5" dependencies = [ "actix-codec", "awc", @@ -7946,7 +7946,7 @@ dependencies = [ [[package]] name = "ya-client-model" version = "0.5.0" -source = "git+https://github.com/golemfactory/ya-client.git?rev=76f4b6c98ca8c3ce73bae2dc66531906dd985b2d#76f4b6c98ca8c3ce73bae2dc66531906dd985b2d" +source = "git+https://github.com/golemfactory/ya-client.git?rev=20590d867dff7bb0662b5fc2abc6b6417cc47fe5#20590d867dff7bb0662b5fc2abc6b6417cc47fe5" dependencies = [ "bigdecimal 0.2.2", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 59b60ecf4d..a87858b0bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -256,8 +256,8 @@ ya-sb-util = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = #ya-sb-util = { path = "../ya-service-bus/crates/util" } ## CLIENT -ya-client = { git = "https://github.com/golemfactory/ya-client.git", rev = "76f4b6c98ca8c3ce73bae2dc66531906dd985b2d" } -ya-client-model = { git = "https://github.com/golemfactory/ya-client.git", rev = "76f4b6c98ca8c3ce73bae2dc66531906dd985b2d" } +ya-client = { git = "https://github.com/golemfactory/ya-client.git", rev = "20590d867dff7bb0662b5fc2abc6b6417cc47fe5" } +ya-client-model = { git = "https://github.com/golemfactory/ya-client.git", rev = "20590d867dff7bb0662b5fc2abc6b6417cc47fe5" } ## RELAY and networking stack ya-relay-stack = { git = "https://github.com/golemfactory/ya-relay.git", rev = "c92a75b0cf062fcc9dbb3ea2a034d913e5fad8e5" } diff --git a/core/payment/src/api/allocations.rs b/core/payment/src/api/allocations.rs index c10ea666d7..416e35fc63 100644 --- a/core/payment/src/api/allocations.rs +++ b/core/payment/src/api/allocations.rs @@ -10,7 +10,6 @@ use ya_client_model::NodeId; // Workspace uses use ya_agreement_utils::{ClauseOperator, ConstraintKey, Constraints}; -use ya_client_model::payment::allocation::AllocationUpdate; use ya_client_model::payment::*; use ya_core_model::payment::local::{ ValidateAllocation, ValidateAllocationError, BUS_ID as LOCAL_SERVICE,