-
Notifications
You must be signed in to change notification settings - Fork 46
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
substraTEE-worker fails if 'shards' directory not present #176
Comments
Closed
ah, that is a line that I've only put in to avoid dead code for clippy....stupid. ...ah, that might not help because it fails before... |
brenzi
added a commit
to encointer/encointer-worker
that referenced
this issue
Nov 3, 2020
* automatic-shard-joining-and-per-shard-updates-on-block (integritee-network#160) * [enclave] update_map contains options. This is needed if a storage value needs to be deleted in the STF [enclave, stf] perform state updates per shard, auto join new shards * [worker] only feed 100 blocks at a time into the chain relay. Improved logging while syncing to keep track of sync status * [WorkerApi] Remove default protocol ws. * update ipfs version (integritee-network#165) Co-authored-by: bwty <whalelephant@users.noreply.github.com> * Implement Ipfs read and write with verification in enclave this implements gitcoin bounty integritee-network#70 Co-authored-by: bwty <whalelephant@users.noreply.github.com> * Encointer contributions upstreaming (integritee-network#174) * [enclave] ! fix: init-shard if it does not exist * back up chain relay db before update in case of file corruption * clean up chain relay sync logging * Ws server refactor (#13) * changed ws_server completely. Requests from client are now handled in the worker main event loop to prevent race conditions with on state/chain_relay access. * [ws_server] remove unwrap and send instead "invalid_client_request" to client * updating block number in stf state * [enclave/chain_relay] store only hashes of the headers instead of the headers themselves * enclave: patch log and env_logger to mesalock * worker should panic if it can't write to shard * add public getters for unpermissioned statistics (#16) * don't request key provisioning form other worker. assume its there or generate new (dangerous!) * bump version to 0.6.11 like encointer reference release Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com> Co-authored-by: Marcel Frei <marcel.frei@electronix.ch> Co-authored-by: Christian Langenbacher <christian.langenbacher91@gmail.com> * fix integritee-network#176 and update some dependiencies * upgrade to upstream 2.0.0-rc5 fix .dispatch filtering introduced in paritytech/substrate#6318 depend on tag version for sgx-runtime * Upgrade upstream 2.0.0 (integritee-network#182) * enclave builds * worker and client builds * fix metadata module index * successfully tested shielding-unshielding example * fix merge. builds and demo works Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com> Co-authored-by: bwty <18553484+whalelephant@users.noreply.github.com> Co-authored-by: bwty <whalelephant@users.noreply.github.com> Co-authored-by: bwty <email-me@belsy.space> Co-authored-by: Marcel Frei <marcel.frei@electronix.ch> Co-authored-by: Christian Langenbacher <christian.langenbacher91@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error message:
This is caused by the missing
shards
directory. If you create - before performing any actions - the directory, everything is fine.Caused by the line
let shards = state::list_shards().unwrap();
which calls
let files = fs::read_dir(SHARDS_PATH).sgx_error()?;
The text was updated successfully, but these errors were encountered: