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

chore: Use ProcessorConfig instead of String; rename session to delegation #461

Merged
merged 22 commits into from
Aug 10, 2023
Merged

chore: Use ProcessorConfig instead of String; rename session to delegation #461

merged 22 commits into from
Aug 10, 2023

Conversation

RyanKung
Copy link
Member

@RyanKung RyanKung commented Aug 7, 2023

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

🔵 What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

docs update, refactor

🟤 What is the current behavior? (You can also link to an open issue here)

  1. function sig fn from_config(String) -> ProcessorConfig is not meanful and clear
  2. Session and delegatedSK is not well clear and well document, function names such as session_pack is not friendly for user.

🟢 What is the new behavior (if this is a feature change)?

  1. Rename (Delegated, Authorizer, Session), to (Session, Account and SessionKey).
  2. Implemented ser/de for ProcessorConfig which can be dump/load directlly.

☢️ Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No

ℹ️ Other information

Closes #issue

@RyanKung RyanKung changed the title chore: Use ProcessorConfig instead of String [DONT MERGE UNTILL I FINISH RINGS EXT] chore: Use ProcessorConfig instead of String Aug 7, 2023
@RyanKung RyanKung changed the title [DONT MERGE UNTILL I FINISH RINGS EXT] chore: Use ProcessorConfig instead of String [DONT MERGE UNTIL I FINISH RINGS EXT] chore: Use ProcessorConfig instead of String Aug 7, 2023
@RyanKung RyanKung changed the title [DONT MERGE UNTIL I FINISH RINGS EXT] chore: Use ProcessorConfig instead of String chore: Use ProcessorConfig instead of String; rename session to delegation Aug 10, 2023
@RyanKung RyanKung requested a review from Ma233 August 10, 2023 09:36
@RyanKung RyanKung merged commit 911535d into RingsNetwork:master Aug 10, 2023
3 checks passed
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.

2 participants