Skip to content

startup broken because of missing shard init #1520

@brenzi

Description

@brenzi

The last PR reordered the startup sequence. I we run the service without the -c clean reset flage, we get:

We are the primary worker on this shard and the shard is untouched. Will initialize it
�[0m�[38;5;8m[�[0m2023-12-11T08:53:13Z �[0m�[34mDEBUG�[0m enclave_runtime�[0m�[38;5;8m]�[0m initializing shard creation header: Integritee
�[0m�[38;5;8m[�[0m2023-12-11T08:53:13Z �[0m�[1m�[31mERROR�[0m enclave_runtime�[0m�[38;5;8m]�[0m Failed to initialize first relevant parentchain header [Integritee]: Other("shard not initialized")
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Sgx(SGX_ERROR_UNEXPECTED)', service/src/main_impl.rs:542:22

Metadata

Metadata

Assignees

Labels

F2-bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions