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

Opcode app_local_get Throws When 'int 1' on Top of Stack #13

Open
phil-vuollet-anterdit opened this issue Jun 30, 2022 · 0 comments
Open

Comments

@phil-vuollet-anterdit
Copy link

phil-vuollet-anterdit commented Jun 30, 2022

given teal with

int 1
byte "mylocal"
app_local_get

and config with

{ "accounts": {
  "john": {
    "appLocals": {
      "0": { "mylocal": 1 }
    }
  },
  "tyler": {
  } 
},
"txn" : {
  "Accounts": {
    "0": "acct:tyler",
    "1": "acct:john"
  }
} }

when the debugger runs
it's failing with

"3 - Expected to pop byte[] from stack, instead found bigint. Stack: [ { "type": "bigint", "value": "1", "from": "1" } ]"

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