Skip to content

Add Tallinn INDEX_ADDRESS/GET_ADDRESS_INDEX and preserve side effects - #48

Open
wyn wants to merge 1 commit into
mainfrom
swp@check-index-address
Open

Add Tallinn INDEX_ADDRESS/GET_ADDRESS_INDEX and preserve side effects#48
wyn wants to merge 1 commit into
mainfrom
swp@check-index-address

Conversation

@wyn

@wyn wyn commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Wire the Tallinn address-registry opcodes through LLTZ IR, Michelson AST, codegen, and oasis specs. Port SmartPy's may_have_side_effects handling so unused INDEX_ADDRESS is not dropped by the Michelson rewriter (it mutates the global address registry), and add regression expect tests.

Wire the Tallinn address-registry opcodes through LLTZ IR, Michelson AST,
codegen, and oasis specs. Port SmartPy's may_have_side_effects handling so
unused INDEX_ADDRESS is not dropped by the Michelson rewriter (it mutates
the global address registry), and add regression expect tests.

Do not treat MImich as having side effects

MImich only tracks CONCAT1/CONCAT2 ambiguity and Michelson parse errors.
It already has may_fail = true; marking it side-effecting is too
conservative and changes optimizer baselines.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wyn
wyn force-pushed the swp@check-index-address branch from 22bc35c to 90db4e6 Compare August 14, 2026 11:23
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

Successfully merging this pull request may close these issues.

1 participant