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

feat: rbac metadata #619

Merged
merged 9 commits into from
Jul 16, 2024
Merged

feat: rbac metadata #619

merged 9 commits into from
Jul 16, 2024

Conversation

dtscalac
Copy link
Contributor

@dtscalac dtscalac commented Jul 15, 2024

Description

Adds support for Role Based Access Control Transaction Metadata to catalyst_cardano_serialization package. The scope of this PR is to build a RbacMetadata that will be serialized into cbor.

Next PRs will compress the RbacMetadata, chunk it into parts and provide these chunks as fields 10/11/12 defined in metadata-signed.

Breaking change:

  • Renamed VKey to Ed25519PublicKey as this allows the class to be used in more contexts, not only in witness set.

Documentation:

Please confirm the following checks

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

@dtscalac dtscalac added review me PR is ready for review dart Pull requests that update Dart code labels Jul 15, 2024
@dtscalac dtscalac self-assigned this Jul 15, 2024
@dtscalac dtscalac requested review from minikin and stevenj as code owners July 15, 2024 06:44
Copy link
Contributor

github-actions bot commented Jul 15, 2024

Test Report | ${\color{lightgreen}Pass: 97/97}$ | ${\color{red}Fail: 0/97}$ |

@minikin minikin enabled auto-merge (squash) July 15, 2024 06:53
Copy link
Collaborator

@minikin minikin left a comment

Choose a reason for hiding this comment

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

Left two comments.

@dtscalac dtscalac requested a review from minikin July 16, 2024 07:44
Copy link
Collaborator

@minikin minikin left a comment

Choose a reason for hiding this comment

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

lgtm

@minikin minikin merged commit daf24a1 into main Jul 16, 2024
14 checks passed
@minikin minikin deleted the feat/rbac_metadata branch July 16, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code review me PR is ready for review
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants