8000 Rework or remove everything related to `VarAddress` (`addr_var`) from the standard library · Issue #3048 · tact-lang/tact · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Rework or remove everything related to VarAddress (addr_var) from the s 8000 tandard library #3048
Closed
@novusnota

Description

@novusnota

In Version 10 of the TON Blockchain, support of addr_var addresses was almost completely cut down. For example, the addr_var cannot be a destination address of external messages, and if it's used for a destination address of an internal message, it is rewritten as an addr_std.

Furthermore, these TVM instructions drop support for anycast addresses and addr_var: LDMSGADDR(Q), PARSEMSGADDR(Q), REWRITESTDADDR(Q), REWRITEVARADDR(Q). They throw an exit code (usually 9) whenever one attempts to apply them to anything, including addr_var addresses.

That hits our parseVarAddress() function and the respective VarAddress struct. We should either remove those entirely or deprecate/turn into a no-op.

Metadata

Metadata

Assignees

Labels

scope: stdlibThe Tact standard library (src/stdlib)

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0