-
Notifications
You must be signed in to change notification settings - Fork 117
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
feat(docs): compilation report #1309
Open
novusnota
wants to merge
5
commits into
main
Choose a base branch
from
closes-1094-comp-rep
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+144
−25
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anton-trunov
requested changes
Jan 14, 2025
Comment on lines
+59
to
+69
[TL-B schema][tlb] of each [Message][message] contains its opcode, which is handy for looking up the auto-generated opcodes as well as confirming the [manually provided ones](/book/structs-and-messages#message-opcodes). For example: | ||
|
||
```md | ||
### Deploy | ||
TL-B: `deploy#946a98b6 queryId:uint64 = Deploy` | ||
Signature: `Deploy{queryId:uint64}` | ||
|
||
### Seven | ||
TL-B: `seven#00000007 = Seven` | ||
Signature: `Seven{}` | ||
``` |
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.
Let's
- make it a subsection with its own link
- link the subsection from the messages page
- be more explicit, i.e. provide the corresponding Tact message declarations to their respective TL-B schemes
- explicitly say
0x946a98b6
and0x00000007
are the opcodes - mention that the opcodes are in hex as it is important for something like
foobar#94609816
|
||
There, the `lshift(){:tact}` getter has a single argument `x`, whereas the `gas(){:tact}` getter has no arguments. | ||
|
||
#### Exit codes {#exit-codes} |
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.
we should link this subsection from the exit codes page
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also adjusted the generated report itself, just so it's a valid and readable markdown.
Issue
Closes #1094.
Towards #1136 (created the page).
Checklist