Solana Activates SIMD-0512 to Reduce On-Chain Signature Costs

iconChainGPT
Share
AI summary iconSummary
Solana activated the SIMD-0512 blockchain upgrade on mainnet at epoch 1103, introducing a native sol_sha512 system call. The change lowers on-chain signature costs and allows developers to replace custom BPF hashing with the new system call. Native hashing uses under 100 compute units, versus thousands in software. Ed25919 verification now runs under 5,000 compute units with Curve25519. Benchmarks show a 22.6% drop in compute use versus Brine. The Ed25519 program supports cross-program calls and aims to replace the old precompile. The blockchain upgrade follows Alpenglow and mainnet’s beta removal.
Anza activated the SIMD-0512 upgrade on Solana (SOL) mainnet at epoch 1103, adding a native sol_sha512 system call, Anza said in a December 2 announcement.

The activation provides a native SHA-512 implementation that cuts the computational cost of hashing inside smart contracts and lets developers drop hand-rolled BPF implementations in favor of a system call, crypto.news reported.

The SIMD-0512 proposal, originally submitted on April 3 by Blueshift developer Dean Little, introduces the sol_sha512 system call and exposes an interface equivalent to Solana’s existing SHA-256 call but producing a 64-byte digest, Little’s proposal said.

Little’s proposal estimated that hashing a short message with a software implementation consumed thousands of compute units, while the native function can perform the same operation using fewer than 100 compute units, Little’s proposal said.

Compute units measure the computational resources required to execute instructions on Solana; reducing CU consumption gives developers more room to perform other operations within a transaction’s execution limit, crypto.news reported.

One immediate application is Ed25519 signature verification when combined with existing Curve25519 system calls. "With the curve25519 syscalls, onchain Ed25519 verification now runs under 5,000 CU," Anza said.

Benchmark results published in the Ed25519 repository detail performance of an experimental verification program. During September 18 testing, verifying signatures attached to 38-byte messages consumed 3,742 compute units using the default verification method, while messages containing 1,024 bytes required 4,235 units; across 32 test cases the prototype averaged 3,808.78 compute units per verification and a stricter configuration averaged 3,822.16 units, the repository said.

In a separate comparison using equivalent strict verification criteria, the prototype consumed 3,757 compute units against 4,853 for version 0.9.3 of the Brine Ed25519 library, representing a 22.6% reduction, the repository said.

The repository noted the measurements were obtained in a controlled testing environment using a metered SHA-512 implementation and represent computational resource consumption, not measured transaction execution times on mainnet, the Ed25519 repository said.

Applications that authenticate externally signed messages — including certain smart contract wallets, blockchain bridges, and financial protocols — could incorporate the new functionality where their verification procedures depend on SHA-512, crypto.news reported. Developers working with zero-knowledge applications could also benefit where their verification processes specifically require SHA-512, although the improvement does not accelerate every type of zero-knowledge proof, crypto.news reported.

The experimental Ed25519 program supports cross-program invocation so one smart contract can request signature verification from another and receive an explicit result; Anza described the implementation as a step toward eventually retiring Solana’s existing Ed25519 precompile, Anza said.

The SIMD-0512 activation follows other infrastructure changes on Solana, including the October 21 deployment of Alpenglow and the removal of beta status when mainnet moved to version 1.0 in November, crypto.news reported.

Anza’s November 30 release schedule identifies December 7 as the tentative date for recommending general mainnet adoption of Agave 4.5, with activation of features associated with that release expected to begin on December 14, Anza’s schedule said.
Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.