Skip to content

Refactor AnanasInterpreter: Move initialization logic to constructor #737

@coderabbitai

Description

@coderabbitai

Context

As discussed in PR #716, if AnanasInterpreter instances are meant to be used once, the initialization logic (currently in resetJam()) should be moved to the constructor for better design.

Original Feedback

If instances are meant to be used once, it would be best if this was part of the constructor instead.

@tomusdrw

File

packages/core/pvm-interpreter-ananas/index.ts

Related Links

Requested by

@DrEverr

Metadata

Metadata

Assignees

No one assigned

    Labels

    M-executionIn-core and on-chain execution related tasks.good first issueGood for newcomers

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions