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

2625 port chainmanager from poc #2649

Merged
merged 10 commits into from
Nov 25, 2024
Merged

Conversation

adrastaea
Copy link
Collaborator

@adrastaea adrastaea commented Oct 31, 2024

Adds basic Sigchain classes and tests

Pull Request Checklist

  • I have linked this PR to a related GitHub issue.
  • I have added a description of the change (and Github issue number, if any) to the root CHANGELOG.md.

(Optional) Mobile checklist

Please ensure you completed the following checks if you did any changes to the mobile package:

  • I have run e2e tests for mobile
  • I have updated base screenshots for visual regression tests

@adrastaea adrastaea requested a review from islathehut October 31, 2024 21:03
@adrastaea adrastaea linked an issue Oct 31, 2024 that may be closed by this pull request
@adrastaea adrastaea marked this pull request as ready for review October 31, 2024 21:07
Copy link
Collaborator

@islathehut islathehut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor things. The main one is updating the crypto service to the latest on the isla-perf-test branch as that uses the correct symmetric encryption.

packages/backend/src/nest/auth/services/dm/dm.service.ts Outdated Show resolved Hide resolved
return SigChain.lfa.invitation.generateProof(seed)
}

public validateProof(proof: ProofOfInvitation): boolean {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete validateProof, admitUser, and admitMemberFromInvite. This is handled by the LFA Connection class we use in libp2p.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are useful in testing so I'm going to leave them in for now I think

@adrastaea adrastaea requested a review from islathehut November 25, 2024 17:40
@adrastaea adrastaea merged commit 693f002 into develop Nov 25, 2024
25 of 30 checks passed
@adrastaea adrastaea deleted the 2625-port-chainmanager-from-poc branch November 25, 2024 20:18
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

Successfully merging this pull request may close these issues.

Port ChainManager from PoC
2 participants