Skip to content

Commit accde66

Browse files
authored
Merge branch 'main' into rpc_overview
2 parents 2d35f88 + 613a318 commit accde66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ton/addresses/formats.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ of messages and is inspired by the [corresponding TL-B schemes](https://github.c
2222

2323
In existent workchains, the raw format consists of two components separated by a colon:
2424

25-
- `workchain_id`: a signed 32-bit integer identifying the workchain.<br />
25+
- `workchain_id`: a signed 8-bit integer identifying the workchain.<br />
2626
Examples: `-1` for the MasterChain and `0` for the BaseChain.
2727
- `account_id`: a 256-bit identifier that is derived from a smart contract `state_init`.
2828

ton/addresses/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ And four components:
4040

4141
### WorkChain id
4242

43-
TON Blockchain is actually a collection of blockchains, with WorkChain being one of them. TON supports up to `2^32` unique WorkChains, each with its own rules and even virtual machines. The 32-bit `workchain_id` prefix in smart contract addresses ensures interoperability, allowing contracts to send and receive messages across different WorkChains.
43+
TON Blockchain is actually a collection of blockchains, with WorkChain being one of them. TON supports up to `2^32` unique WorkChains, each with its own rules and even virtual machines. The 8- or 32-bit `workchain_id` prefix in smart contract addresses ensures interoperability, allowing contracts to send and receive messages across different WorkChains.
4444

4545
Currently, two WorkChains are active:
4646

@@ -86,7 +86,7 @@ addr_extern$01 len:(## 9) external_address:(bits len)
8686

8787
- **Every actor is a smart contract**, each with a unique address for message routing.
8888
- **Main internal address fields**:
89-
- `workchain_id` (32-bit): identifies the WorkChain.
89+
- `workchain_id` (8- or 32-bit): identifies the WorkChain.
9090
- `account_id` (256-bit): a hash of the contract’s initial code and data.
9191
- **Active WorkChains**: MasterChain and BaseChain, both using 256-bit ids.
9292
- **Flexibility**: TON supports up to `2^32` WorkChains, allowing future chains to customize address lengths (64–512 bits).

0 commit comments

Comments
 (0)