Engineering optimization eliminates memory allocations in a Geth validation process, reducing execution time from 617 to 94 microseconds in a 10,000-item benchmark.
Antier has demonstrated its expertise in blockchain development services through an optimization to Go Ethereum (Geth), a widely used Ethereum execution client. Its engineering team introduced a merge-walk algorithm for Block Access List validation, achieving approximately 6.5× faster execution in a 10,000-item benchmark. The contribution was merged as PR #36152 on November 20, 2026.
Uncovering Performance Bottlenecks in Ethereum's Core Infrastructure
Block Access Lists (BALs), defined under Ethereum Improvement Proposal EIP-7928, record the accounts and storage locations accessed during block execution, along with relevant state changes. Geth validates these lists to ensure that their structure and contents follow the required consistency rules.
One of these checks ensures that a storage slot is not incorrectly reported in both the read-only and write lists for the same account.
The existing implementation used two separate hash maps to identify overlapping storage slots. It also converted individual storage keys into byte slices before inserting them into the maps. Although this approach produced the correct validation results, it introduced unnecessary memory allocations and processing overhead.
The underlying inefficiency was that both lists had already been checked for sorted order. Creating additional data structures to compare them was therefore unnecessary.
Reengineering Geth's Validation Logic With a Merge-Walk Algorithm
Antier addressed this inefficiency by replacing the hash-map-based comparison with a merge-walk algorithm that directly compares the sorted storage read and write lists.
The optimized implementation maintains a position in each list and advances through the entries based on their relative values. When both positions contain the same storage slot, the validation process identifies an overlap and reports an error. Otherwise, it continues until the comparison is complete.
This approach eliminates the need to create additional hash maps, convert storage keys into temporary byte slices or perform separate lookup operations. It also simplifies the validation logic while preserving its existing behaviour.
Delivering 6.5× Faster Validation With Zero Memory Allocations
Benchmark results demonstrate the measurable impact of the optimization on Geth's Block Access List validation process.
In a benchmark involving 10,000 items across 2,500 accounts, the optimized implementation delivered the following improvements:
- Approximately 6.5× faster execution: Validation time decreased from 617 microseconds to 94 microseconds.
- Zero memory allocations: Allocations per validation call dropped from 7,500 to zero.
- Zero bytes allocated: Memory allocation decreased from 240,000 bytes to zero per benchmark call.
- Expanded validation coverage: The contribution added 19 test cases covering validation errors and scenarios that were not previously exercised by Geth's existing tests.
The engineering work also included fuzz testing, comparing the optimized implementation against a copy of the previous validation logic to verify identical outcomes across inputs. Additionally, both implementations were tested against the EIP-7928 blockchain fixtures, producing identical results.
Subsequent benchmark runs on the current development codebase reproduced similar results, recording execution times of 94, 99 and 95 microseconds across three runs, with zero memory allocations.
These improvements apply specifically to Block Access List validation, not to overall Ethereum transaction throughput or network performance. Nevertheless, they demonstrate how targeted algorithmic optimization can eliminate unnecessary processing overhead within core blockchain software.
Advancing Ethereum Infrastructure Through Core Engineering
The contribution addresses an important aspect of blockchain infrastructure engineering: improving the efficiency of existing software without changing its expected behaviour.
By replacing redundant data structures with a direct comparison algorithm, the optimization reduces temporary memory usage, simplifies the implementation and strengthens automated validation coverage.
The change was submitted as Pull Request #36152, titled "core/types/bal: check read/write overlap with a merge walk." It was reviewed and merged into the official ethereum/go-ethereum master branch on November 20, 2026, by Geth maintainer MariusVanDerWijden.
Explore the merged contribution: https://github.com/ethereum/go-ethereum/pull/36152
Engineering High-Performance Blockchain Infrastructure for Enterprises
Beyond this contribution, Antier works on the engineering challenges involved in developing, optimizing and maintaining blockchain infrastructure.
Its core blockchain engineering capabilities include:
Custom Blockchain Protocol Development: Architecture and development of purpose-built Layer 1 and Layer 2 networks, protocol components and application-specific blockchains.
Blockchain Performance Optimization: Identification of processing bottlenecks, algorithmic inefficiencies and resource-intensive operations to improve infrastructure performance.
Blockchain Client Engineering: Development, integration and optimization of blockchain client software, validation logic and underlying network components.
Blockchain Infrastructure Development: Engineering of node infrastructure, RPC services, validator environments and managed blockchain infrastructure.
Blockchain Network Upgrades and Migration: Technical assessment, network upgrades, protocol enhancements and migration of existing blockchain systems.
Enterprise Blockchain Solutions: Development and integration of blockchain infrastructure aligned with enterprise architecture, operational requirements and business workflows.
By working across blockchain architecture, protocol engineering and infrastructure development, Antier helps enterprises, protocol teams and blockchain ecosystems address complex engineering requirements, improve system efficiency and build infrastructure for evolving network demands.
About Antier
Antier is a blockchain development company specializing in blockchain infrastructure engineering, protocol development and enterprise blockchain solutions. Its core capabilities span custom blockchain development, Layer 1 and Layer 2 engineering, blockchain client optimization, consensus and protocol development, node infrastructure, network upgrades and enterprise blockchain integrations. Antier works with enterprises, blockchain ecosystems and technology innovators to architect, develop and optimize blockchain infrastructure for evolving technical and business requirements.
