Skip to content

Commit

Permalink
Rebranding (#38)
Browse files Browse the repository at this point in the history
* Replace SubstraTEE by Integritee

* Rebranding: update links to integritee

* Rebranding: Replace SCS by Integritee

* Add copyright and replace integritee-worker with integritee-service

Co-authored-by: echevrier <edith.chevrier@scs.ch>
  • Loading branch information
echevrier and echevrier authored Sep 20, 2021
1 parent b51e3e0 commit abb0b0d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# substraTEE-node
# integritee-node

This repository belongs to the [substraTEE project](https://www.substratee.com).
This repository belongs to the [Integritee project](https://book.integritee.network).

A substrate-based node that maintains a registry of remote attested substraTEE-worker enclaves. The node also acts as a proxy for encrypted requests which are forwarded to the substraTEE-worker.
A substrate-based node that maintains a registry of remote attested integritee-service enclaves. The node also acts as a proxy for encrypted requests which are forwarded to the integritee-service.

## Build and Run
Please see our [SubstraTEE Book](https://www.substratee.com/howto_node.html) to learn how to build and run this.
Please see our [Integritee Book](https://book.integritee.network/howto_node.html) to learn how to build and run this.

21 changes: 17 additions & 4 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
Copyright 2021 Integritee AG and Supercomputing Systems AG
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#![cfg_attr(not(feature = "std"), no_std)]
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
#![recursion_limit = "256"]
Expand Down Expand Up @@ -41,7 +54,7 @@ pub use sp_runtime::BuildStorage;
pub use sp_runtime::{Perbill, Permill};
use frame_system::EnsureRoot;

/// added by SCS
/// added by Integritee
pub use pallet_teerex;
use frame_support::traits::{OnUnbalanced, Imbalance};

Expand Down Expand Up @@ -148,7 +161,7 @@ pub const TEER: Balance = 1_000_000_000_000;
pub const MILLITEER: Balance = 1_000_000_000;
pub const MICROTEER: Balance = 1_000_000;

/// added by scs
/// added by Integritee
/// A timestamp: milliseconds since the unix epoch.
pub type Moment = u64;

Expand Down Expand Up @@ -328,7 +341,7 @@ parameter_types! {
pub const MaxSilenceTime: Moment =172_800_000; // 48h
}

/// added by SCS
/// added by Integritee
impl pallet_teerex::Config for Runtime {
type Event = Event;
type Currency = pallet_balances::Pallet<Runtime>;
Expand Down Expand Up @@ -381,7 +394,7 @@ construct_runtime!(
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
TransactionPayment: pallet_transaction_payment::{Pallet, Storage},
Sudo: pallet_sudo::{Pallet, Call, Config<T>, Storage, Event<T>},
// added by SCS
// added by Integritee
Teerex: pallet_teerex::{Pallet, Call, Storage, Event<T>},
Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>},
}
Expand Down

0 comments on commit abb0b0d

Please sign in to comment.