Skip to content

Using a full node for reading #6266

Closed
Closed
@Mihail-source-arch

Description

@Mihail-source-arch

Have a nice day and a good mood. Please help me figure out the issue.
I have a rather complex smart contract that performs large calculations, including calls to other smart contracts. I call it via triggerConstantContract, and get the data I need. But in some cases, the calculation process takes more than 80 ms. and my transaction fails with the error "class org.tron.core.vm.program.Program$OutOfTimeException : CPU timeout for 'SWAP1' operation executing". Is it possible to somehow circumvent this limitation when calling ConstantContract, and bring the smart contract function to completion? Is it possible to use a full read-only node? Thanks in advance, I'm sorry if my question is stupid, I'm a beginner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions