Skip to content
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

manual sidechain&TOCW demo with docker in SW mode fails #1430

Closed
brenzi opened this issue Aug 28, 2023 · 3 comments
Closed

manual sidechain&TOCW demo with docker in SW mode fails #1430

brenzi opened this issue Aug 28, 2023 · 3 comments

Comments

@brenzi
Copy link
Collaborator

brenzi commented Aug 28, 2023

following the tutorial here the demo fails with

fd-integritee-worker-1--1  | [2023-08-28T13:35:06Z ERROR enclave_runtime::error] Returning error ParentChainValidation(WrongValue) as sgx unexpected.
fd-integritee-worker-1--1  | thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: EnclaveApi(Sgx(SGX_ERROR_UNEXPECTED))', service/src/main.rs:530:70

please use this branch for testing: #1429

@brenzi
Copy link
Collaborator Author

brenzi commented Aug 28, 2023

just saw that

  • (not the reason) both worker1 and worker2 use /usr/local/bin as datadir. doesn't seem optimal
  • both workers start on clean state

TOCW attempt log here: https://gist.github.com/brenzi/ab6e011e9d124b59a6858579964517e4

@brenzi brenzi changed the title manual sidechain demo with docker in SW mode fails manual sidechain&TOCW demo with docker in SW mode fails Aug 28, 2023
@brenzi
Copy link
Collaborator Author

brenzi commented Aug 28, 2023

could be that a docker container survived from another demo which affects the chain state

@brenzi
Copy link
Collaborator Author

brenzi commented Aug 28, 2023

yes. starting from a clean setup solves this issue. would be nict to have better error logs, but not trivial to solve.....

@brenzi brenzi closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant