Raising @guix’s question from github here: https://github.com/enigmampc/EnigmaBounties/issues/1#issuecomment-517944732
Here’s the project so far: https://github.com/guix77/enigma-secret-access-control
I’ve implemented it as multiple messages, since 1 thought one would not make sense either for tests or UI. But when I’m trying to get Bob to read again his messages, his tasks fails whereas it does not fail the 1st time and it’s the same code (https://github.com/guix77/enigma-secret-access-control/blob/c15e9ac6a723c368e03c7dd42f738d53123836d9/test/test_secret_access_control.js#L160)
Question is why the task fails when Bob tries to read his message.
And just for clarity, @guix can you describe the data flow of the secret message in your implementation? That would be really helpful for me. Thank you!