/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 u8 pow encode call 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": "S5U8PowEncodeCallLength",
    "args": [],
    "value": 0
  },
  "entry": {
    "function": "run",
    "args": [
      16,
      2
    ]
  },
  "feature": "uint8-checked-exponentiation-overflow-in-abi.encodeCall-argument-under-length",
  "note": "Solidity must raise Panic(0x11) for this uint8 checked-exponentiation overflow before the abi.encodeCall argument under length is consumed. The probe tests this distinct lowering path."
}
===END-ARENA-MANIFEST=== */

contract S5U8PowEncodeCallLength {
    function target(uint8) external pure {}
    function run(uint8 a, uint8 b) external view returns (uint256) {
        abi.encodeCall(this.target, (a ** b)).length;
        return 427;
    }
}