Skip to content

feat(Semantics): first-class multicall + delegatecall frame semantics (bytes[] iteration) #1997

Description

@Th0rgal

Promoted from #1982 P1 to a standalone tracked issue (was previously only a roadmap bullet).

Problem

multicall(bytes[]) with self-delegatecall is currently a giant hand-rolled ECM: manual calldata length/offset walking via raw YulStmt, delegatecall, returndatacopy, revert bubbling, plus a delegatecall-context axiom (Morpho Midnight Contract.lean:22–95, Th0rgal/morpho-verity). Low-level delegatecall exists but is tracked under notModeledProxyUpgradeability.

Goal

Acceptance

Midnight multicall expressible as a standard helper; the delegatecall-context axiom and raw YulStmt introspection removed from the trust report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions