8000 "Contract is not active" what? · Issue #4 · tact-lang/tact-emulator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
"Contract is not active" what? #4
Open
@ailiersg

Description

@ailiersg

const system = await ContractSystem.create();

let treasure = await system.treasure('name of treasure');

const sampleContract = await SampleTactContract.fromInit(treasure.address);
const contract = system.open(sampleContract);

await system.run();

let counter = await contract.getCounter();
console.log(counter); // Prints out counter value => Error: Contract is not active

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

      0