Skip to content

Can't write snapshot tests without dev-addresses feature (to set package address to 0) #25550

@mdgeorge4153

Description

@mdgeorge4153

The new package system no longer supports the [dev-addresses] section. Some users have snapshot tests that depend on the root package having a deterministic address. For example, some tests use type_name or @Package and compare the output against a fixed value.

In the old system, you could set package = 0 in [dev-addresses] and get this kind of deterministic behavior. It's not clear how to achieve this in the current system.

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