-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify chat interactions on the central chain (#4)
* Ask creation chain to verify chat interactions When a chat interaction is requested to be logged, send a message to the creation chain to check if the interaction was signed by an Atoma node. If the check succeeds, send back a message authorizing the interaction to be logged. * Update chat interacting logging unit test Test if the authorization message leads to the chat being logged, instead of the request operation for logging the chat. * Test for request to verify signature Check that an operation requesting a chat interaction to be logged leads to a message requesting the interaction to be verified. * Test full chat interaction verification flow Ensure that the messages are correctly sent between chains and that it leads to the chat interaction being logged on the chain.
- Loading branch information
Showing
3 changed files
with
163 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters