Skip to content

Remove duplicated cell with JettonWallet code #19

Closed
@anton-trunov

Description

@anton-trunov

When a contract uses initOf on a child contract, Tact automatically stores the child contract code in a cell that gets added as a ref to the contract state, so there is no need to keep this:

jettonWalletCode: Cell;
.

Note that currently Tact uses a dictionary to store all the child contracts if it's just one contract. This will be improved as a follow-up to tact-lang/tact#1213.

Metadata

Metadata

Assignees

No one assigned

    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