Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article summarizes the changes introduced in Solidity 0.8.30, based on the official release announcement.
Changes
Ethereum's Pectra hard fork introduced several EIPs with direct implications for Solidity behavior and contract design.
- EIP-7623: increased calldata costs for data-heavy transactions.
- EIP-7702: code delegation for externally owned accounts.
- EIP-2537: precompiles for the BLS12-381 curve.
EIP-7623: Increased Calldata Costs
EIP-7623 increases the transaction gas floor associated with calldata, the read-only data supplied to a transaction. The original article discusses this in the context of EIP-7691 and increasing block data capacity; the purpose is to constrain excessive data-heavy transaction payloads and their bandwidth impact.
The change may affect optimization decisions in the Solidity compiler, particularly algorithms such as ConstantOptimizer. For example, there are two ways to encode the value :
- PUSH32 0xffff...ffff (3 gas, 33 bytes).
- PUSH0 NOT (5 gas, 2 bytes).
When evaluating these choices, the size of deployed bytecode and transaction input may influence the cost trade-off.
However, the compiler release did not introduce a specific adjustment for this change.
- The cost increase is nonlocal, depending on the entire transaction, its execution, and its state and branching paths. It is difficult to reflect accurately at the individual opcode level.
- Users can adjust the --optimizer-runs flag to control the balance between deployment and execution costs.
The change in calldata costs can therefore be addressed by tuning optimizer settings, rather than introducing a special adjustment in this release.
Solidity optimization decisions, such as constant handling and PUSH instruction selection, depend on --optimizer-runs.
- A low value, such as 1–10, prioritizes smaller code and lower deployment gas over repeated execution efficiency.
- A high value, such as 100000, prioritizes lower execution costs even when code size increases, because frequent execution is expected.
If increased calldata-related costs make deployment more expensive, users can consider lower --optimizer-runs settings to prioritize deployment efficiency.
EIP-7702: Code Delegation for EOAs
EIP-7702 introduces a transaction type allowing externally owned accounts (EOAs) to designate delegated code. By delegating to a contract, an EOA can execute code in its own account context and behave more like a contract account.
For more information about EIP-7702, see:
This is a significant step toward account abstraction on Ethereum, bringing more flexible signature validation and wallet functionality to EOAs.
Solidity 0.8.30 does not introduce a specific language feature for this EIP, but the preceding version, 0.8.29, introduced custom storage layout control, which can help delegated implementations manage storage when multiple delegates use the same EOA. Layout compatibility still needs to be designed and verified.
EIP-2537: BLS12-381 Curve Precompiles
EIP-2537 introduces precompiles for BLS12-381 operations, enabling applications to implement BLS signature verification on Ethereum.
BLS signatures are notable because:
- Multiple signatures can be aggregated.
- Ethereum's consensus layer already uses BLS signatures.
These precompiles can be accessed using existing low-level calls without introducing new Solidity syntax.
The Solidity team considered external libraries more appropriate for advanced functionality such as BLS operations than direct language integration. Consequently, Solidity does not provide global functions dedicated to BLS operations in this release.
Future inclusion in a standard library remains possible, and feedback about use cases is welcome.
Other Changes
The Pectra-compatible Solidity compiler also includes new features and bug fixes.
Compiler Features
Default EVM Version Changed to Prague
If no target EVM version, such as london or paris, is specified, compilation now targets prague by default.
This aligns the default compilation target with the execution-layer rules introduced by Pectra, including EIP-7702 and EIP-7623, without requiring an explicit --evm-version selection. These EIPs also involve protocol behavior outside the compiler.
NatSpec Comments for Enum Values
NatSpec documentation generation was improved so comments attached to individual enum members are included in the AST.
Documentation and development tools can therefore retrieve and display the meaning of individual enum values more accurately.
Bug Fixes
Incorrect Constant Evaluation of Loop Conditions
A problem in SMTChecker that incorrectly classified certain loop conditions as always true or always false was fixed, avoiding inaccurate warnings and internal compiler errors.
What Is SMT?
SMT stands for Satisfiability Modulo Theories. It is a verification technique for determining whether mathematical constraints can be satisfied.
Examples include checking whether:
- A variable is always nonnegative.
- An if branch can be reached.
- An overflow can occur within a function.
What Is SMTChecker?
SMTChecker is a Solidity compiler feature that uses SMT-based analysis to verify properties of smart contracts.
It can detect integer overflow and underflow, analyze whether assertions and other conditions hold, and identify unreachable code, subject to the capabilities and configuration of the analysis engine.
Incorrect Analysis with --model-checker-contracts
When SMT analysis targeted only selected contracts, state from other contracts could previously lead to incorrect analysis results. This issue was fixed.
Internal Error Initializing User-defined Types Based on Fixed-length Bytes
An internal compiler error when initializing a user-defined type based on a fixed-length byte type, such as bytes4, with a string literal was fixed.
Conclusion
Solidity 0.8.30 aligns the default EVM target with Pectra and introduces compiler functionality and bug fixes, including NatSpec support for enum members and improvements to SMTChecker.
Further reading and author links:






