Skip to content

Commit

Permalink
implement feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgrunewald committed Jul 9, 2023
1 parent 8971dad commit d93f624
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ sqlx = {version = "0", features = [
]}

helium-crypto = {version = "0.6.8", features=["sqlx-postgres", "multisig"]}
helium-proto = {git = "https://github.com/helium/proto", branch = "jg/allow-pcs-mobile-keys", features = ["services"]}
helium-proto = {git = "https://github.com/helium/proto", branch = "master", features = ["services"]}
hextree = "*"
solana-client = "1.14"
solana-sdk = "1.14"
solana-program = "1.11"
spl-token = "3.5.0"
reqwest = {version = "0", default-features=false, features = ["gzip", "json", "rustls-tls"]}
beacon = { git = "https://github.com/helium/proto", branch = "jg/allow-pcs-mobile-keys" }
beacon = { git = "https://github.com/helium/proto", branch = "master" }
humantime = "2"
metrics = "0"
metrics-exporter-prometheus = "0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ALTER TYPE key_role ADD VALUE IF NOT EXISTS 'pcs';-- Add migration script here
ALTER TYPE key_role ADD VALUE IF NOT EXISTS 'pcs';
10 changes: 5 additions & 5 deletions mobile_config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ impl From<ProtoKeyRole> for KeyRole {
impl std::fmt::Display for KeyRole {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
Self::Administrator => "Administrator",
Self::Carrier => "Carrier",
Self::Oracle => "Oracle",
Self::Router => "Router",
Self::Pcs => "PCS",
Self::Administrator => "administrator",
Self::Carrier => "carrier",
Self::Oracle => "oracle",
Self::Router => "router",
Self::Pcs => "pcs",
};
f.write_str(s)
}
Expand Down
6 changes: 3 additions & 3 deletions mobile_config_cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ impl From<NetworkKeyRole> for i32 {
impl Display for NetworkKeyRole {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
NetworkKeyRole::MobileCarrier => write!(f, "Carrier"),
NetworkKeyRole::MobileRouter => write!(f, "Router"),
NetworkKeyRole::MobilePcs => write!(f, "PCS"),
NetworkKeyRole::MobileCarrier => write!(f, "carrier"),
NetworkKeyRole::MobileRouter => write!(f, "router"),
NetworkKeyRole::MobilePcs => write!(f, "pcs"),
}
}
}

0 comments on commit d93f624

Please sign in to comment.