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

over allocated global state #395

Open
nullun opened this issue Jan 29, 2024 · 0 comments
Open

over allocated global state #395

nullun opened this issue Jan 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nullun
Copy link
Contributor

nullun commented Jan 29, 2024

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
@joe-p joe-p added the bug Something isn't working label Jan 29, 2024
@joe-p joe-p moved this to TODO in TEALScript Jan 29, 2024
@joe-p joe-p added this to the Stable Release milestone Jan 29, 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
Status: TODO
Development

No branches or pull requests

2 participants