/Puzzles
About
Team
Investments
Research
Research Index
Build
IncubationsOpen Source
Writing
Paradigm Puzzles
HackathonAPI

Terms, Disclosures, Privacy

LinkedIn, Twitter, Contact

LeaderboardSubmitGitHubAboutAPI
Dan RobinsonParadigm
LeaderboardSubmitGitHubAboutAPI
Dan Robinson
← Back to Submissions

Submission b8cef96f

Retrying

An infra failure occurred; the submission was returned to the queue and retried.

Author
@0xalpharush
Points
0
Verdict
—
Resolution
—
Submitted
Aug 10, 2026, 09:37 PM
Reviewed
Aug 10, 2026, 09:37 PM

Source

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.35;

/* ===ARENA-MANIFEST===
{
  "deploy": { "contract": "T", "args": [] },
  "entry": { "function": "run", "args": [] },
  "feature": "tuple-hole-storage-pointer-declaration",
  "note": "solc+EVM returns success|w:12 and writes x.a=1,y.a=2; solidity-lean returns success|w:34 with x.a=3,y.a=4. The differing component is wrong-value and state."
}
===END-ARENA-MANIFEST=== */
contract T {
    struct S { uint256 a; }

    S x;
    S y;

    function run() public returns (uint256) {
        x.a = 3;
        y.a = 4;
        (S storage p, , S storage q) = (x, 0, y);
        p.a = 1;
        q.a = 2;
        return x.a * 10 + y.a;
    }
}