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

Fix account preset link in extensibility.adoc #431

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

ivpavici
Copy link
Contributor

chore: changed broken link for Account contract preset

Fixes #????

PR Checklist

  • Tests
  • Documentation
  • Changelog entry

chore: changed broken link for Account contract preset
Copy link
Contributor

@martriay martriay left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! Left a small comment.

@@ -79,7 +79,7 @@ They can be deployed as-is or used as templates for customization.

Some presets are:

* https://github.com/OpenZeppelin/cairo-contracts/blob/ad399728e6fcd5956a4ed347fb5e8ee731d37ec4/src/openzeppelin/account/Account.cairo[Account]
* https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/openzeppelin/account/presets/Account.cairo[Account]
Copy link
Contributor

Choose a reason for hiding this comment

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

we avoid linking to main directly to preven broken links down the road. We prefer permalinks, this is, linking to a specific commit hash.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks! In that case, I've also changed the link below to permalink :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

changed main to permalink
@martriay martriay merged commit 627ef34 into OpenZeppelin:main Aug 11, 2022
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