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 ContractId::this() documentation to book #6008

Merged
merged 6 commits into from
May 16, 2024
Merged

Add ContractId::this() documentation to book #6008

merged 6 commits into from
May 16, 2024

Conversation

bitzoic
Copy link
Member

@bitzoic bitzoic commented May 14, 2024

Description

There is no documentation on how to get the ContractId of a contract in an internal context. This has been added.

Closes #6001

Checklist

  • I have linked to any relevant issues.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation where relevant (API docs, the reference, and the Sway book).
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
  • I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
  • I have requested a review from the relevant team or maintainers.

@bitzoic bitzoic added the The Sway Book Everything to do with the Sway Book label May 14, 2024
@bitzoic bitzoic requested review from a team May 14, 2024 09:54
@bitzoic bitzoic self-assigned this May 14, 2024
@bitzoic bitzoic linked an issue May 14, 2024 that may be closed by this pull request
@K1-R1 K1-R1 requested a review from a team May 14, 2024 14:04
@bitzoic bitzoic enabled auto-merge (squash) May 16, 2024 09:47
@bitzoic bitzoic merged commit 2353803 into master May 16, 2024
38 checks passed
@bitzoic bitzoic deleted the bitzoic-6001 branch May 16, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
The Sway Book Everything to do with the Sway Book
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document getting a contract id internally
4 participants