Skip to content

[Feature]: Investigate whether Tracking Tags as a Separate static DashMap Improves Performance #83

@0xNeshi

Description

@0xNeshi
Collaborator

What is the feature you would like to see?

The main reason we would want to do this is intuitiveness - currently when a contract is dropped, the whole VM storage related to the current test is dropped, including the tags.
This makes little sense, as "alice" tag will map to 0x9c0257114eb9399a2985f8e75dad7600c5d89fe3 address each time, so why not share this among tests? This would persist tags across test runs.

We need to ensure this won't negatively impact performance though.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @0xNeshi

        Issue actions

          [Feature]: Investigate whether Tracking Tags as a Separate `static DashMap` Improves Performance · Issue #83 · OpenZeppelin/stylus-test-helpers