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

TVM Instruction PREVBLOCKSINFOTUPLE return empty tuple #42

Open
biez opened this issue Mar 9, 2024 · 0 comments
Open

TVM Instruction PREVBLOCKSINFOTUPLE return empty tuple #42

biez opened this issue Mar 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@biez
Copy link

biez commented Mar 9, 2024

When i use new TVM Instructions like PREVBLOCKSINFOTUPLE, I am not getting the expected result.

Simple func contract example:

tuple get_prevblocksinfotuple() asm "PREVBLOCKSINFOTUPLE";

() recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body) impure {
    ~dump(get_prevblocksinfotuple());
}

Expected result: [last_mc_blocks, prev_key_block]
Result: #DEBUG#: s0 = ()

Packages:
"@ton/blueprint": "^0.17.0",
"@ton/sandbox": "^0.16.0",

@biez biez added the bug Something isn't working label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant