Skip to content

encointer/encointer-worker

 
 

Repository files navigation

substraTEE-worker

badge

SubstraTEE worker for SubstraTEE node

This is part of substraTEE

Development environment

Supports Rust nightly-2020-04-07

Build and Run

Please see our SubstraTEE Book to learn how to build and run this.

Tests

environment

Unit tests within the enclave can't be run by cargo test. All unit and integration tests can be run by the worker binary

first, you should run ipfs daemon because it is needed for testing

ipfs daemon

second, you'll need a substraTEE-node running

./target/release/substratee-node --dev --execution native

then you should make sure that the sealed_state is empty (but exists)

substraTEE-worker/bin$ rm sealed_stf_state.bin
substraTEE-worker/bin$ touch sealed_stf_state.bin

execute tests

Run these with

substraTEE-worker/bin$ ./substratee-worker test_enclave --all

About

SubstraTEE worker for encointer-node-teeproxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 89.2%
  • C 7.0%
  • Shell 1.8%
  • Makefile 0.9%
  • Python 0.6%
  • Dockerfile 0.3%
  • Other 0.2%