From 25e69d523d6de0ec41caa08e8bb9e81b90cc01fe Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Wed, 24 Dec 2025 14:25:34 -0700 Subject: [PATCH 1/3] Increase Stylus smart contract size limit via merge-on-activate --- ArbOwner.sol | 6 ++++++ ArbOwnerPublic.sol | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ArbOwner.sol b/ArbOwner.sol index cf20dba..44f40d0 100644 --- a/ArbOwner.sol +++ b/ArbOwner.sol @@ -331,4 +331,10 @@ interface ArbOwner { /// Emitted when a successful call is made to this precompile event OwnerActs(bytes4 indexed method, address indexed owner, bytes data); + + /// @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 + ) external; } diff --git a/ArbOwnerPublic.sol b/ArbOwnerPublic.sol index fb5d11e..59d66f7 100644 --- a/ArbOwnerPublic.sol +++ b/ArbOwnerPublic.sol @@ -64,4 +64,8 @@ interface ArbOwnerPublic { function isCalldataPriceIncreaseEnabled() external view returns (bool); event ChainOwnerRectified(address rectifiedOwner); + + /// @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); } From 37e0018f0bd940e212765bc26504da769789c579 Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Wed, 7 Jan 2026 12:05:32 -0700 Subject: [PATCH 2/3] Resolve concerns --- ArbOwner.sol | 8 ++++---- ArbOwnerPublic.sol | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ArbOwner.sol b/ArbOwner.sol index 44f40d0..47c9f6a 100644 --- a/ArbOwner.sol +++ b/ArbOwner.sol @@ -329,12 +329,12 @@ interface ArbOwner { ArbMultiGasConstraintsTypes.ResourceConstraint[] calldata constraints ) external; - /// Emitted when a successful call is made to this precompile - event OwnerActs(bytes4 indexed method, address indexed owner, bytes data); - - /// @notice Sets the Max amount of stylus contract fragments that can be used to deploy a stylus contract + /// @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 ) external; + + /// Emitted when a successful call is made to this precompile + event OwnerActs(bytes4 indexed method, address indexed owner, bytes data); } diff --git a/ArbOwnerPublic.sol b/ArbOwnerPublic.sol index 59d66f7..9341cb8 100644 --- a/ArbOwnerPublic.sol +++ b/ArbOwnerPublic.sol @@ -63,9 +63,10 @@ interface ArbOwnerPublic { /// @notice Available in ArbOS version 40 with default as false function isCalldataPriceIncreaseEnabled() external view returns (bool); - event ChainOwnerRectified(address rectifiedOwner); - - /// @notice Get the Max amount of stylus contract fragments that can be used to deploy a stylus contract + /// @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); + + + event ChainOwnerRectified(address rectifiedOwner); } From f04daa151944c9d7a44e5cff3cc2c1ca8d3476ec Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Wed, 7 Jan 2026 12:06:54 -0700 Subject: [PATCH 3/3] Fix format --- ArbOwnerPublic.sol | 1 - 1 file changed, 1 deletion(-) diff --git a/ArbOwnerPublic.sol b/ArbOwnerPublic.sol index 9341cb8..50490cf 100644 --- a/ArbOwnerPublic.sol +++ b/ArbOwnerPublic.sol @@ -67,6 +67,5 @@ interface ArbOwnerPublic { /// @notice Available in ArbOS version 60 and above function getMaxStylusContractFragments() external view returns (uint16); - event ChainOwnerRectified(address rectifiedOwner); }