Skip to content

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

Open
@phil-vuollet-anterdit

Description

@phil-vuollet-anterdit

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" } ]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions