-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add more support for entitlements (ReferenceType.Authorization
) to CCF codec
#3139
Add more support for entitlements (ReferenceType.Authorization
) to CCF codec
#3139
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
f7b7185
to
18b95bc
Compare
This is basically an enum to prevent accidental changes from outside CCF codec.
This commit updates code to use the new API which uses pointer to EntitlementSetAuthorization.
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit cbfc41c Collapsed results for better readability
|
This update corresponds to Cadence PR 3139: onflow/cadence#3139 This change does not affect CCF Codec because it was already implemented and deployed in CCF codec.
Closes #2379
Support for
ReferenceType.Authorization
is needed for CCF codec to support entitlements.Add support in CCF codec for:
Unauthorized
,EntitlementSetAuthorization
,EntitlementMapAuthorization
inReferenceType
Unauthorized
,EntitlementSetAuthorization
,EntitlementMapAuthorization
inTypeValue{ReferenceType}
This PR also adds
EncOptions.SortEntitlementTypes
to sort entitlementsDecOptions.EnforceSortEntitlementTypes
to enforce sorted entitlementsmaster
branchFiles changed
in the Github PR explorer