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: typos in addr_std$10 description #899

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YanhuiJessica
Copy link

addr_std is an internal address, but the description says it is an external address, which may cause confusion.

@@ -272,7 +272,7 @@ workchain_id:int8 address:bits256 = MsgAddressInt;

| Structure | Type | Required | Description |
|--------------|-------------|----------|------------------------------------------------------------------------------------------------------------------|
| addr_std$10 | Constructor | Required | `$10` tag means, that in the serialization MsgAddressExt started with a `10` bits describes an external address. |
| addr_std$10 | Constructor | Required | `$10` tag means, that in the serialization MsgAddressInt started with a `10` bits describes an internal address. |
| anycast | Anycast* | Optional | Additional address data, currently do not used in ordinary internal messages |
| workchain_id | int8 | Required | Workchain where smart contract of destination address placed. At moment always equals zero. |

Choose a reason for hiding this comment

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

At moment always equals zero.

I honestly don't really understand what part of documentation it is, but it's definitely not true.

Choose a reason for hiding this comment

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

@Shvandre Let's open a separate issue on this, because this part has not been touched by this PR

@@ -272,7 +272,7 @@ workchain_id:int8 address:bits256 = MsgAddressInt;

| Structure | Type | Required | Description |
|--------------|-------------|----------|------------------------------------------------------------------------------------------------------------------|
| addr_std$10 | Constructor | Required | `$10` tag means, that in the serialization MsgAddressExt started with a `10` bits describes an external address. |
| addr_std$10 | Constructor | Required | `$10` tag means, that in the serialization MsgAddressInt started with a `10` bits describes an internal address. |

Choose a reason for hiding this comment

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

Well, $10 tag means that the address that follows is an internal address written in std form, but in general it doesn't make much difference, it doesn't necessarily need to be fixed.

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.

3 participants