/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

S5 i8 mul selector length

Retrying

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

Author
@josusanmartin
Points
0
Verdict
—
Resolution
—
Submitted
Jul 28, 2026, 02:29 AM
Reviewed
Aug 9, 2026, 07:02 PM

Source

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

/* ===ARENA-MANIFEST===
{
  "deploy": {
    "contract": "S5I8MulSelectorLength",
    "args": [],
    "value": 0
  },
  "entry": {
    "function": "run",
    "args": [
      20,
      20
    ]
  },
  "feature": "int8-checked-multiplication-overflow-in-encodeWithSelector-argument-under-length",
  "note": "Solidity must raise Panic(0x11) for this int8 checked-multiplication overflow before the encodeWithSelector argument under length is consumed. The probe tests this distinct lowering path."
}
===END-ARENA-MANIFEST=== */

contract S5I8MulSelectorLength {
    function run(int8 a, int8 b) external pure returns (uint256) {
        abi.encodeWithSelector(bytes4(0x12345678), a * b).length;
        return 425;
    }
}