Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ private static void ApplyArbitrumOverrides(ArbitrumReleaseSpec spec, ulong arbos
{
spec.ArbOsVersion = arbosVersion;

// Arbitrum Stylus support: Allow larger code sizes
spec.MaxCodeSize = 131072; // 128 KB (vs Ethereum's 24 KB)

// Shanghai EIPs (ArbOS v11+)
bool shanghaiEnabled = arbosVersion >= ArbosVersion.Eleven;
spec.IsEip3651Enabled = shanghaiEnabled;
Expand Down Expand Up @@ -76,5 +79,8 @@ private static void ApplyArbitrumOverrides(ArbitrumReleaseSpec spec, ulong arbos

// Disable contract code validation as Arbitrum stores Stylus bytecode
spec.IsEip3541Enabled = false;

// Arbitrum supports larger contracts than Ethereum (128KB+ for Stylus)
spec.IsEip170Enabled = false;
}
}