Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Jetton output files issue #4

Closed
reveloper opened this issue Jan 30, 2023 · 2 comments
Closed

Jetton output files issue #4

reveloper opened this issue Jan 30, 2023 · 2 comments

Comments

@reveloper
Copy link
Contributor

reveloper commented Jan 30, 2023

I created a workable/deployable jetton demo project based on your jett.tact example.
I want to share with people the guide on deployment for this example according to what was in the footstep promised, but I can't figure out how to solve an issue with output files.

When I commented following code in jetton_SampleJetton.ts:

    if (res.exitCode !== 0 && res.exitCode !== 1) {
         if (SampleJetton_errors[res.exitCode]) {
             throw new ComputeError(SampleJetton_errors[res.exitCode].message, res.exitCode, { logs: res.vmLogs });
         } else {
             throw new ComputeError('Exit code: ' + res.exitCode, res.exitCode, { logs: res.vmLogs });
         }
     }

all build and test processes from first sight work nicely (didn't test properly yet).

What can I do to exclude this problem from built output files?

@reveloper
Copy link
Contributor Author

@ex3ndr Is it possible to build without this issue for jetton.tact? Can you advise what I can do?

@ex3ndr
Copy link
Contributor

ex3ndr commented Feb 4, 2023

If you are commenting this code, you are ignoring errors. If you have typescript compilation errors, then try to update ton-core library to the latest version in your project.

@ex3ndr ex3ndr closed this as completed Feb 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants