From fc3e7865b925fd98eef596289671527bfa621eca Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Wed, 28 Jan 2026 08:56:25 -0700 Subject: [PATCH] stylus params: only use one byte for MaxFragmentCount --- ArbOwner.sol | 2 +- ArbOwnerPublic.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArbOwner.sol b/ArbOwner.sol index e04442b..047c342 100644 --- a/ArbOwner.sol +++ b/ArbOwner.sol @@ -366,7 +366,7 @@ interface ArbOwner { /// @notice Sets the max amount of stylus contract fragments that can be used to deploy a stylus contract /// @notice Available in ArbOS version 60 and above function setMaxStylusContractFragments( - uint16 maxFragments + uint8 maxFragments ) external; /// Emitted when a successful call is made to this precompile diff --git a/ArbOwnerPublic.sol b/ArbOwnerPublic.sol index 3223893..8d4e192 100644 --- a/ArbOwnerPublic.sol +++ b/ArbOwnerPublic.sol @@ -80,7 +80,7 @@ interface ArbOwnerPublic { /// @notice Get the max amount of stylus contract fragments that can be used to deploy a stylus contract /// @notice Available in ArbOS version 60 and above - function getMaxStylusContractFragments() external view returns (uint16); + function getMaxStylusContractFragments() external view returns (uint8); event ChainOwnerRectified(address rectifiedOwner); }