Skip to content

Commit

Permalink
Merge branch 'master' into mwu/build-hybrid-for-goth
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel authored Nov 16, 2021
2 parents 3428fa1 + 7a45275 commit 8944eaa
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 44 deletions.
66 changes: 30 additions & 36 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion core/model/src/payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ pub mod local {

#[derive(StructOpt, Debug, Clone)]
pub struct AccountCli {
/// Wallet address [default: <DEFAULT_IDENTIDITY>]
/// Wallet address [default: <DEFAULT_IDENTITY>]
#[structopt(long, env = "YA_ACCOUNT")]
pub account: Option<NodeId>,
/// Payment driver
Expand Down
6 changes: 3 additions & 3 deletions core/net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ edition = "2018"
[features]
default = []
service = []
hybrid-net = ["ya-relay-server", "ya-relay-proto", "ya-sb-proto", "bytes", "ethsign", "tokio-util", "url", "prost", "rand"]
hybrid-net = ["ya-relay-client", "ya-relay-proto", "ya-sb-proto", "bytes", "ethsign", "tokio-util", "url", "prost", "rand"]

[dependencies]
ya-core-model = { version = "^0.4", features=["net", "identity"] }
ya-relay-server = { git = "https://github.com/golemfactory/ya-relay.git", rev = "972c05bc5a9217d65c7095a3917e8735bb241825", optional = true }
ya-relay-proto = { git = "https://github.com/golemfactory/ya-relay.git", rev = "972c05bc5a9217d65c7095a3917e8735bb241825", features = ["codec"], optional = true }
ya-relay-client = { git = "https://github.com/golemfactory/ya-relay.git", rev = "26a4099c7c55f8ae53ae459e4c58f3c639a183af", optional = true }
ya-relay-proto = { git = "https://github.com/golemfactory/ya-relay.git", rev = "26a4099c7c55f8ae53ae459e4c58f3c639a183af", features = ["codec"], optional = true }
ya-sb-proto = { version = "0.4", optional = true }
ya-service-api = "0.1"
ya-service-api-interfaces = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion core/net/src/hybrid/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use futures::future::LocalBoxFuture;
use futures::FutureExt;

use ya_core_model::{identity, NodeId};
use ya_relay_server::crypto::{Crypto, CryptoProvider};
use ya_relay_client::crypto::{Crypto, CryptoProvider};
use ya_service_bus::RpcEndpoint;

pub struct IdentityCryptoProvider {
Expand Down
3 changes: 1 addition & 2 deletions core/net/src/hybrid/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ use url::Url;

use ya_core_model::net::{self, net_service};
use ya_core_model::NodeId;
use ya_relay_client::{client::ForwardReceiver, Client, ClientBuilder};
use ya_relay_proto::codec::forward::{PrefixedSink, PrefixedStream, SinkKind};
use ya_relay_server::testing::client::ForwardReceiver;
use ya_relay_server::testing::{Client, ClientBuilder};
use ya_sb_proto::codec::GsbMessage;
use ya_sb_proto::CallReplyCode;
use ya_service_bus::{untyped as local_bus, Error, ResponseChunk};
Expand Down
2 changes: 1 addition & 1 deletion core/payment/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub enum PaymentCli {
account: pay::AccountCli,
#[structopt(
long,
help = "Optional address to exit to [default: <DEFAULT_IDENTIDITY>]"
help = "Optional address to exit to [default: <DEFAULT_IDENTITY>]"
)]
to_address: Option<String>,
#[structopt(long, help = "Optional amount to exit [default: <ALL_FUNDS>]")]
Expand Down

0 comments on commit 8944eaa

Please sign in to comment.