Skip to content

Changed default GSB endpoint to UNIX socket #1027

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

Merged
merged 1 commit into from
Feb 16, 2021
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ ya-service-api-interfaces = { path = "core/serv-api/interfaces" }
ya-service-api-web = { path = "core/serv-api/web" }

## SERVICE BUS
ya-service-bus = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "6b494e17d7a662e0b710af8c5a2e99ab4007fdb9"}
ya-sb-proto = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "6b494e17d7a662e0b710af8c5a2e99ab4007fdb9"}
ya-sb-router = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "6b494e17d7a662e0b710af8c5a2e99ab4007fdb9"}
ya-sb-util = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "6b494e17d7a662e0b710af8c5a2e99ab4007fdb9"}
ya-service-bus = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "707e4f9a64c8ede5b371d10dd8d564dba64bfa4c" }
ya-sb-proto = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "707e4f9a64c8ede5b371d10dd8d564dba64bfa4c" }
ya-sb-router = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "707e4f9a64c8ede5b371d10dd8d564dba64bfa4c" }
ya-sb-util = { git = "https://github.com/golemfactory/ya-service-bus.git", rev = "707e4f9a64c8ede5b371d10dd8d564dba64bfa4c" }

## CLIENT
ya-client = { git = "https://github.com/golemfactory/ya-client.git", rev = "c3f3419e48eade7f4d491c71948a1a50446d87d5"}
Expand Down
4 changes: 2 additions & 2 deletions core/payment/examples/payment_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use structopt::StructOpt;
use ya_client_model::market;
use ya_client_model::payment::PAYMENT_API_PATH;
use ya_client_model::NodeId;
use ya_core_model::driver::{driver_bus_id, AccountMode, Init, Fund};
use ya_core_model::driver::{driver_bus_id, AccountMode, Fund, Init};
use ya_core_model::identity;
use ya_dummy_driver as dummy;
use ya_gnt_driver as gnt;
Expand Down Expand Up @@ -240,7 +240,7 @@ async fn main() -> anyhow::Result<()> {
.call(Fund::new(
requestor_addr.clone(),
args.network.clone(),
None
None,
))
.await??;
bus::service(driver_bus_id(driver_name))
Expand Down
8 changes: 4 additions & 4 deletions core/payment/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ mod local {

counter!("payment.amount.received", 0, "platform" => "erc20-rinkeby-tglm");
counter!("payment.amount.received", 0, "platform" => "erc20-mainnet-glm");
counter!("payment.amount.received", 0, "platform" => "zksync-rinkeby-tglm");
counter!("payment.amount.received", 0, "platform" => "zksync-mainnet-glm");
counter!("payment.amount.received", 0, "platform" => "zksync-rinkeby-tglm");
counter!("payment.amount.received", 0, "platform" => "zksync-mainnet-glm");

counter!("payment.amount.sent", 0, "platform" => "erc20-rinkeby-tglm");
counter!("payment.amount.sent", 0, "platform" => "erc20-mainnet-glm");
counter!("payment.amount.sent", 0, "platform" => "zksync-rinkeby-tglm");
counter!("payment.amount.sent", 0, "platform" => "zksync-mainnet-glm");
counter!("payment.amount.sent", 0, "platform" => "zksync-rinkeby-tglm");
counter!("payment.amount.sent", 0, "platform" => "zksync-mainnet-glm");

log::debug!("Successfully bound payment local service to service bus");
}
Expand Down