Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How can the PUSHINT OP code cause a stack underflow error?

I wrote a program in Fift, which included the following code:

1 PUSHINT

I receive the following error: "PUSHINT: stack underflow"

This doesn't make sense to me, since it's adding a positive number. How does it throw the stack underflow error?


This question was imported from Telegram Chat: https://t.me/tondev_eng/9677

Votes Newest

Answers


PUSHINT is TVM-asm instruction and required for assembling the smart contract. Analogue from Fift is just writing number 1 or any other that you want.

Using TVM opcodes outside of smart contract is not possible.

  
  
Posted one year ago
Daniil Sedov
233 × 6 Administrator
17K Views
1 Answer
one year ago
one year ago
Tags