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

Update: Use PrincipalIds between canisters #22

Merged
4 commits merged into from
Apr 10, 2020
Merged

Update: Use PrincipalIds between canisters #22

4 commits merged into from
Apr 10, 2020

Conversation

ghost
Copy link

@ghost ghost commented Apr 1, 2020

Overview

Canisters were passing back and forth hashes of user IDs, now they use PrincipalId types.

Changes

  • Changed inter-canister calls to use PrincipalIds
  • Removed utilities for converting between supported IDL types
  • Renamed profile to linkedup in the JS
  • Use a single getOwnId to avoid duplication of public methods
  • Removed extra whitespace around colons and parentheses
  • Removed mock profiles
  • Ran Prettier (accidentally) on the JS

@ghost ghost self-assigned this Apr 1, 2020
@ghost ghost marked this pull request as ready for review April 1, 2020 23:14
@ghost ghost self-requested a review as a code owner April 1, 2020 23:14
Copy link
Contributor

@hansl hansl left a comment

Choose a reason for hiding this comment

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

LGTM. And thanks for fixing the weird spaces.

@ghost
Copy link
Author

ghost commented Apr 3, 2020

Going to hold off on merging because this will break demos (removing the database seed). Might add a script to put them back that folks can optionally run. It shouldn't be part of the app though.

@ghost
Copy link
Author

ghost commented Apr 10, 2020

Okay to merge now that we have #25.

@ghost ghost merged commit 59f754c into master Apr 10, 2020
@ghost ghost deleted the sj/principal-ids branch April 10, 2020 17:37
This pull request was closed.
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.

1 participant