-
Notifications
You must be signed in to change notification settings - Fork 508
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
Adding expiration for delegates #1063
base: master
Are you sure you want to change the base?
Commits on Apr 4, 2023
-
* Add support in Delegate and Revoke for Authority, Data, CollectionItem, and ProgrammableConfigItem Metadata delegates. * Remove Update Metadata delegate.
Configuration menu - View commit details
-
Copy full SHA for 5f7b7aa - Browse repository at this point
Copy the full SHA 5f7b7aaView commit details -
Changes to Update to support new and changed delegates
* Modify authority check to separate out item and collection-level delegates. * Add V2 Update args struct to allow user to specify token standard. * Check that new delegates are only changing metadata for which they are meant to have access. * Modify Update handler to update metadata fields based on the delegate type.
Configuration menu - View commit details
-
Copy full SHA for 12ce7d7 - Browse repository at this point
Copy the full SHA 12ce7d7View commit details -
Update tests to support new version of UpdateArgs
* Also add macro to help destructure UpdateArgs fields.
Configuration menu - View commit details
-
Copy full SHA for 8d3e5f4 - Browse repository at this point
Copy the full SHA 8d3e5f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fcadd8 - Browse repository at this point
Copy the full SHA 7fcadd8View commit details
Commits on Apr 6, 2023
-
Put enums back in original order
* Update is still changed to Data but order is preserved. * Also remove unnecessary Option for token_record in Update. * Add some comments clarifying authority types in Unverify.
Configuration menu - View commit details
-
Copy full SHA for ce19636 - Browse repository at this point
Copy the full SHA ce19636View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5789cfb - Browse repository at this point
Copy the full SHA 5789cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23cfe43 - Browse repository at this point
Copy the full SHA 23cfe43View commit details -
Modify DA test util object to return delegate or token record
* Return the value derived in the delegate method. * Also add a test for Authority delegate.
Configuration menu - View commit details
-
Copy full SHA for 71db91a - Browse repository at this point
Copy the full SHA 71db91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cf0e57 - Browse repository at this point
Copy the full SHA 8cf0e57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2920b21 - Browse repository at this point
Copy the full SHA 2920b21View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc4852c - Browse repository at this point
Copy the full SHA dc4852cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fd48e7 - Browse repository at this point
Copy the full SHA 5fd48e7View commit details -
Adding expiration for delegates
* Creation time set when PDA is created. * Expiration checked during get_authority_type. * This is a draft idea that passes existing tests, but expiration functionality has not been thoroughly tested.
Configuration menu - View commit details
-
Copy full SHA for fcb5418 - Browse repository at this point
Copy the full SHA fcb5418View commit details