Skip to content

Commit

Permalink
fix cli version info for trusted. fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain Brenzikofer committed Nov 11, 2020
1 parent b3b0094 commit f29a119
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 4 additions & 7 deletions client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,14 @@ use substrate_api_client::{
};
use my_node_runtime::{
substratee_registry::{Enclave, Request},
AccountId, Event, Hash, Signature, Moment, ONE_DAY, BalanceType, BalanceEntry, BlockNumber, Header
};
use encointer_ceremonies::{
Attestation, AttestationIndexType, ClaimOfAttendance,
CurrencyCeremony, MeetupIndexType, ParticipantIndexType, ProofOfAttendance, Reputation
AccountId, Event, Hash, Signature, Moment, BlockNumber, Header
};

use encointer_scheduler::{CeremonyIndexType, CeremonyPhaseType};
use encointer_currencies::{CurrencyIdentifier, CurrencyPropertiesType, Location, Degree};
use encointer_currencies::{CurrencyIdentifier, Location, Degree};

use substratee_stf::{
cli::get_identifiers, ShardIdentifier, TrustedCallSigned, TrustedGetterSigned,
cli::get_identifiers, ShardIdentifier, TrustedCallSigned,
TrustedOperation, Getter
};
use substratee_worker_api::Api as WorkerApi;
Expand Down
6 changes: 6 additions & 0 deletions stf/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ use sp_runtime::{MultiSignature, AccountId32};

type Moment = u64;

const VERSION: &str = env!("CARGO_PKG_VERSION");
const KEYSTORE_PATH: &str = "my_trusted_keystore";

pub fn cmd<'a>(
Expand Down Expand Up @@ -74,7 +75,12 @@ pub fn cmd<'a>(
.default_value("//Alice")
.help("signer for publicly observable extrinsic"),
)
.name("encointer-client-teeproxy")
.version(VERSION)
.author("Supercomputing Systems AG <info@scs.ch>")
.about("trusted calls to worker enclave")
.after_help("stf subcommands depend on the stf crate this has been built against")

})
.add_cmd(
Command::new("new-account")
Expand Down
2 changes: 1 addition & 1 deletion worker/src/cli.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "substraTEE-worker"
version: "0.6.11"
version: "0.6.12"
about: Worker using Intel SGX TEE for SubstraTEE-node
authors: "Supercomputing Systems AG <info@scs.ch>"

Expand Down

0 comments on commit f29a119

Please sign in to comment.