Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Some problems with the address state changes diagram #1399

@Karkarmath

Description

@Karkarmath

On this page in the account status subsection there is a diagram that

illustrates the lifecycle of an account in the TON blockchain, showing how its state changes under different conditions

The diagram is userfriendly but incomplete. There are no arrows from frozen and uninit to nonexist which actually exist.

Also the phrase negative balance is absolutely wrong, account balance cannot be negative, see TLB: Grams, CurrencyCollection, and the balance field in AccountStorage. So, this phrase and every describtion where it is used may create the wrong impression for a beginner developer about the internals of the blockchain. In fact, when there are not enough coins on the balance to pay the storage debt, the balance is set to zero, and the remaining debt is added to storage_fees_due.

I think that the describtions of changes between active and frozen account states should be rewritten according to the remarks above.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions