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

Incorrect tlb generation for jetton_internal_transfer #1492

Open
glcanvas opened this issue Jan 24, 2025 · 0 comments
Open

Incorrect tlb generation for jetton_internal_transfer #1492

glcanvas opened this issue Jan 24, 2025 · 0 comments

Comments

@glcanvas
Copy link

Hello!

I've noticed that tlb generator generates wrong opcode for jetton_internal_transfer

In TEP: https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md
told that this opcode equals 0x178d4519 but in cpp code it's stored as 0x978d4519 looks like you forgot to & 0x7fffffff.

See what's generated in tokens.h file:
Image

for more details see this PR: https://github.com/toncenter/ton-index-worker/pull/103/files#diff-4e8797600450f2fcb33e9e86531daac646df4213270ab981c9751d70cf5b30d8R54

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

1 participant