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

Add docs to contract spec entries #841

Merged
merged 45 commits into from
Feb 6, 2023
Merged

Add docs to contract spec entries #841

merged 45 commits into from
Feb 6, 2023

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Jan 27, 2023

What

Add docs to contract spec entries. When a developer uses a rust doc in the code on a function, type, field, or enum variant, those docs will be saved into the contract spec.

Why

Close #806

Depends on:

Must be merged after:

leighmcculloch and others added 30 commits January 26, 2023 17:03
The Address is meant to be used in place of the invoker/AccountId/Identifier etc. It also provides a way to call `require_auth` to perform authentication/authorization.

This also has some other Env changes supporting the Host changes for Auth Next.
For now this just contains the context type definition that host passes to the account. This can be extended as needed, hence I'm using a separate library.
@leighmcculloch leighmcculloch marked this pull request as ready for review February 4, 2023 04:06
@leighmcculloch leighmcculloch requested a review from a team February 4, 2023 04:07
@leighmcculloch leighmcculloch enabled auto-merge (squash) February 6, 2023 05:39
@leighmcculloch leighmcculloch merged commit e7910c7 into main Feb 6, 2023
@leighmcculloch leighmcculloch deleted the specdocs branch February 6, 2023 16:46
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.

Add docs to contract spec
3 participants