Skip to content

over allocated global state #395

@nullun

Description

@nullun

I have a contract where two different global states maps could each use all all 64 values, however I'm unable to set both maxKeys to 64. The logic of the contract will grow/shrink each map, e.g. 32:32, or 40:24, or 3:61, but I'm unable to tell TEALScript this.

Error: over allocated global state
    at Compiler.appSpec (~/GitHub/nullun/arc55-msig-app/node_modules/@algorandfoundation/tealscript/dist/lib/compiler.js:5507:19)
    at ~/GitHub/nullun/arc55-msig-app/node_modules/@algorandfoundation/tealscript/dist/bin/tealscript.js:95:59
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    TODO

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions