Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why built compile different .ts file #1288

Closed
eliomain opened this issue Jan 9, 2025 · 6 comments
Closed

Why built compile different .ts file #1288

eliomain opened this issue Jan 9, 2025 · 6 comments

Comments

@eliomain
Copy link

eliomain commented Jan 9, 2025

When I execute the blueprint build command, the.ts file in the build folder is different than it was two months ago, and the different files cause code errors in scripts

provider.open(Test.fromAddress(address));

@anton-trunov
Copy link
Member

Could you please provide more detail about your setup? What Tact version have you been using two months ago and what Tact version are you using now?

@eliomain
Copy link
Author

eliomain commented Jan 9, 2025

@anton-trunov Same version, I have not changed the code during this period

@eliomain
Copy link
Author

eliomain commented Jan 9, 2025

I can't build the same build/test/.ts now

@anton-trunov
Copy link
Member

@eliomain If you have not updated your dependencies, it's not possible to have different outputs, since the Tact compiler is deterministic.

@eliomain
Copy link
Author

eliomain commented Jan 9, 2025

@anton-trunov How do I set the compiler version in my code when I find that the same version of blueprint will have a different version of the compiler

@anton-trunov
Copy link
Member

Blueprint projects do not set a precise Tact version, you can check it in the package.json file

@eliomain eliomain closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants