Liquid Stake with compassSOL for an 8.63% APY from staking, MEV + fees

Enjoy the freedom of liquid staking in Solana Defi while delegating your stake to the high performance Solana Compass validator. Stake or unstake at any time here, or with a Jupiter swap.

Benefit from our high staking returns and over 2 years experience operating a Solana validator, and receive additional yield from priority fees + MEV tips

Earn 6.9% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.9% APY yield on your SOL, while supporting us to create new guides and tools. Learn more

Stake your SOL

  1. Click to connect your wallet
  2. Enter the amount you wish to stake
  3. Kick back and enjoy your returns
  4. Unstake from your wallet or our staking dashboard

Earn 6.9% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.9% APY yield on your SOL, while supporting us to create new guides and tools.

Learn more

Solana Changelog Jun 19 - Test validator fix, new Syscall, RPC updates, and more

By Changelog

Published on 2024-06-19

Exciting Solana developments: test validator improvements, new GetEpochStake syscall, RPC updates for interest-bearing tokens, and continued Core BPF program migration.

The notes below are AI generated and may not be 100% accurate. Watch the video to be sure!

Solana's Rapid Development: Test Validator Fix and More

The Solana blockchain continues to evolve at an impressive pace, with a series of updates and improvements rolling out to enhance the developer experience and network performance. In this week's Solana Changelog, Nick and Jonas from the Solana Foundation developer relations team highlight several key developments that demonstrate Solana's commitment to continuous improvement.

Test Validator Fix: A Win for Developers

One of the most significant updates this week addresses a critical issue that had been plaguing developers using the local test validator, particularly those working with Anchor. Jean Chinkware's commit to "try to reset deployment slot on all cloned accounts" resolves a bug that was causing problems when cloning accounts in the local validator environment.

This fix represents a remarkably quick turnaround from the initial issue report to implementation, showcasing the responsiveness of the Solana development team. As Jonas notes, "This was a bug. There was recently people had problems like cloning accounts in their local validator, especially using Anchor and Jacob created an issue. And now it's already fixed. So that was very quick and very nice."

The swift resolution of this issue underscores Solana's commitment to providing a smooth and efficient development experience, enabling developers to build and test their applications with greater ease and reliability.

New Syscall: GetEpochStake Unlocks Future Possibilities

A significant addition to Solana's arsenal of tools is the new GetEpochStake syscall. This feature, which will be enabled through a feature gate, opens up exciting possibilities for on-chain governance and consensus mechanisms.

Jonas explains the importance of this new syscall: "It unblocks a few things in the validate. Actually, you can now have like on-chain validator governance, for example, and secondary consensus mechanisms. So this was for before not possible. So it's nice to have."

The introduction of GetEpochStake is a forward-thinking move that lays the groundwork for more sophisticated on-chain governance models and potentially more diverse consensus mechanisms within the Solana ecosystem. This development aligns with Solana's vision of a highly flexible and scalable blockchain platform.

RPC Updates: Enhanced Support for Interest-Bearing Tokens

The Solana team continues to refine and improve its RPC (Remote Procedure Call) endpoints, with John Shinkwe leading the charge on updates related to interest-bearing tokens. These improvements ensure that RPC responses provide more accurate and comprehensive information for tokens utilizing the interest-bearing extension of the token extension program.

Nick elaborates on these updates: "John Shinkwe again, he updated one of the RPC endpoints. I think actually two of the RPC endpoints to include some information about interest-bearing tokens. So if you're using the interest-bearing extension on the token extension program, this update actually includes some of that additional information."

While the current implementation focuses on providing correct UI amounts for parsed token accounts, there are plans to extend this functionality to other aspects of RPC responses in the future. This ongoing work demonstrates Solana's commitment to supporting advanced token features and ensuring that developers have access to accurate and up-to-date information through RPC endpoints.

Core BPF Initiative: Address Lookup Table Program Migration

The Core BPF initiative, a significant effort to optimize Solana's program execution, continues to make progress. Joe Buffalo, described by Nick as "the master of the core BPF initiative," has prepared the Address Lookup Table (ALT) program for migration to Core BPF.

This migration, which will be activated via a feature gate, represents another step forward in Solana's ongoing efforts to enhance the efficiency and performance of its virtual machine. By moving more programs to Core BPF, Solana aims to reduce computational overhead and improve overall network performance.

SIMD-153: Decoupling ZK ElGamal Proof Program

An interesting development in Solana's zero-knowledge capabilities is outlined in SIMD-153, which proposes decoupling the ZK ElGamal Proof program from the token program. This change aims to broaden the applicability of ElGamal proofs beyond just confidential transfers.

Jonas explains the rationale behind this proposal: "And the SIMD is mostly about it that it gets decoupled from the token program, because as you know, like these have been added for the confidential transfers. But theoretically, you can use these ElGamal proofs for all kinds of cool use cases."

While this decoupling may slightly delay the implementation of confidential transfers on mainnet, it opens up a world of possibilities for developers to leverage zero-knowledge proofs in various applications across the Solana ecosystem.

Optimizing Vanity Address Generation

In an exciting development for developers and enthusiasts alike, a Twitter thread by KV details optimizations for generating vanity program addresses on Solana. This technique significantly speeds up the process of creating custom addresses, allowing for longer and more complex vanity strings.

Nick expresses his enthusiasm for this development: "Like I love vanity addresses. KV here wrote this sweet Twitter thread to describes how you could actually kind of optimize the way that the vanity addresses for programs are created. It just speeds it up a lot, which is like really fun and really cool."

The optimizations include clever tricks such as bypassing elliptic curve point arithmetic when using create_account_with_seed. While the code is not yet open-source, KV plans to release it soon, including a GPU version that promises even faster vanity address generation.

Enhanced Gaming Support with Updated Phaser Template

As the Solana ecosystem continues to attract game developers, tools and templates are evolving to meet their needs. Jonas highlights an updated Phaser template that now integrates the official wallet adapter, making it easier for users to interact with Solana-based games.

"And this one is the new Phaser template. It's not new, but it has been updated to use the tippling official wallet adapter. And this one is like really cool because it lets you have a wallet just with the Google email address," Jonas explains.

This update is particularly timely with the upcoming Solana Game Jam, showcasing Solana's growing appeal in the blockchain gaming space. The improved template, which is open-source, demonstrates the community's commitment to lowering barriers for both developers and users in the gaming sector.

Optimizing Smart Contracts: Lessons from Stockpile V2

An insightful article by Joey, a developer known for his contributions to the Solana ecosystem, offers valuable lessons on optimizing smart contracts. The piece details Joey's experience optimizing the Stockpile V2 program, with a focus on quadratic funding mechanisms.

Nick commends the article: "He details a whole bunch of stuff in there, talks a lot about quadratic funding and how that works and how to optimize that specifically. So it's a nice little a really great developer focused article."

This resource is particularly valuable in light of Solana's new scheduler, which places even greater importance on compute unit optimization. The article serves as a practical guide for developers looking to improve the efficiency of their Solana programs.

Solana 1.18 Release: A Deep Dive

For those looking to gain a deeper understanding of Solana's inner workings, Jonas recommends an article by Helios about the Solana 1.18 release. The piece offers an in-depth look at the new scheduler and various stages of Solana's transaction processing.

"You can like learn how Solana works actually, like the ingress, sick verify banking stage and all that stuff. It's a very good read," Jonas enthuses. This article serves as an excellent resource for developers and enthusiasts alike who want to understand the technical improvements and optimizations introduced in the latest Solana release.

Stack Exchange: A Thriving Developer Community

The Solana Stack Exchange continues to be a vibrant hub of knowledge-sharing and problem-solving within the developer community. Nick and Jonas give a shout-out to the top contributors of the week, including Jimmy, Joey, and Ari White Seal Jonas.

This active engagement on Stack Exchange reflects the growing developer ecosystem around Solana and the collaborative spirit that drives its progress. The platform serves as an invaluable resource for both new and experienced developers seeking answers and insights into Solana development.

Conclusion: Solana's Momentum Continues

The updates and developments highlighted in this changelog demonstrate Solana's ongoing commitment to improving its infrastructure, developer tools, and overall ecosystem. From critical fixes and performance optimizations to new features that expand the blockchain's capabilities, Solana continues to evolve at a rapid pace.

The swift resolution of the test validator issue, the introduction of the GetEpochStake syscall, and the ongoing Core BPF migrations all contribute to a more robust and efficient blockchain platform. Meanwhile, developments in vanity address generation, gaming support, and educational resources showcase the vibrant and innovative community that surrounds Solana.

As the ecosystem continues to grow and mature, these regular updates and improvements pave the way for more advanced applications, better developer experiences, and ultimately, a more scalable and user-friendly blockchain infrastructure. With each changelog, Solana reaffirms its position as a leading blockchain platform, ready to meet the challenges and opportunities of the rapidly evolving crypto landscape.

Facts + Figures

  • A critical bug in the local test validator, particularly affecting Anchor users, was swiftly fixed by Jean Chinkware.
  • A new GetEpochStake syscall has been introduced, enabling on-chain validator governance and secondary consensus mechanisms.
  • RPC endpoints have been updated to include information about interest-bearing tokens, improving accuracy for parsed token accounts.
  • The Address Lookup Table (ALT) program is ready to be migrated to Core BPF, continuing the Core BPF initiative.
  • SIMD-153 proposes decoupling the ZK ElGamal Proof program from the token program to broaden its applicability.
  • A new optimization technique for generating vanity program addresses can potentially allow for up to nine-digit vanity strings.
  • An updated Phaser template now integrates the official wallet adapter, simplifying wallet creation for Solana-based games.
  • The Solana Game Jam is upcoming, highlighting Solana's growing presence in the blockchain gaming space.
  • An article by Joey details optimizations for the Stockpile V2 program, focusing on quadratic funding mechanisms.
  • The Solana 1.18 release introduces a new scheduler that improves transaction processing efficiency.
  • Stack Exchange continues to be an active hub for Solana developers, with top contributors recognized weekly.
  • Validator hardware requirements have been updated, recommending 16 cores at 3GHz and increased storage capacity.
  • A new option has been added to the ledger-tool to record transactions on disk, aiding in post-outage analysis.
  • The fee payer check in transaction processing has been optimized to reduce compute on invalid transactions.
  • A GPU version of the vanity address generation tool is planned for future release.

Questions Answered

What was the recent fix for the Solana test validator?

The recent fix for the Solana test validator addressed an issue with cloning accounts, particularly affecting developers using Anchor. Jean Chinkware implemented a solution to reset the deployment slot on all cloned accounts, resolving a bug that had been causing problems in the local validator environment. This quick fix demonstrates Solana's commitment to improving the developer experience and responding rapidly to community-reported issues.

What new syscall has been added to Solana?

Solana has added a new syscall called GetEpochStake. This syscall, which will be enabled through a feature gate, unlocks new possibilities for on-chain validator governance and secondary consensus mechanisms. Previously, these functionalities were not possible, but with the introduction of GetEpochStake, developers can now explore more advanced on-chain governance models and potentially implement diverse consensus mechanisms within the Solana ecosystem.

How have RPC endpoints been updated for interest-bearing tokens?

RPC endpoints have been updated to include information about interest-bearing tokens, particularly improving the accuracy of UI amounts for parsed token accounts. John Shinkwe led these updates, which ensure that RPC responses provide more comprehensive information for tokens utilizing the interest-bearing extension of the token extension program. While currently focused on parsed token accounts, there are plans to extend this functionality to other aspects of RPC responses in the future.

What progress has been made on the Core BPF initiative?

The Core BPF initiative continues to make progress with the Address Lookup Table (ALT) program now ready for migration to Core BPF. This migration, led by Joe Buffalo, will be activated via a feature gate and represents another step in Solana's efforts to optimize program execution. By moving more programs to Core BPF, Solana aims to enhance the efficiency and performance of its virtual machine, ultimately improving overall network performance.

What changes are proposed in SIMD-153 regarding the ZK ElGamal Proof program?

SIMD-153 proposes decoupling the ZK ElGamal Proof program from the token program. This change aims to broaden the applicability of ElGamal proofs beyond just confidential transfers. By separating these components, developers will be able to leverage ElGamal proofs for a wider range of use cases within the Solana ecosystem. While this may slightly delay the implementation of confidential transfers on mainnet, it opens up new possibilities for zero-knowledge applications on Solana.

How has vanity address generation been optimized for Solana programs?

A new optimization technique for generating vanity program addresses on Solana has been developed, significantly speeding up the process. This method, detailed in a Twitter thread by KV, allows for longer and more complex vanity strings, potentially up to nine digits in length. The optimization includes bypassing elliptic curve point arithmetic when using create_account_with_seed. While not yet open-source, the developer plans to release the code soon, including a GPU version for even faster generation.

What updates have been made to support Solana-based gaming?

An updated Phaser template has been released to support Solana-based gaming. This template now integrates the official wallet adapter, making it easier for users to interact with Solana games. A key feature of this update is the ability to create a wallet using just a Google email address, lowering the barrier to entry for new users. This improvement is particularly timely with the upcoming Solana Game Jam and demonstrates the ecosystem's commitment to enhancing blockchain gaming experiences.

How does the new Solana scheduler improve transaction processing?

The Solana 1.18 release introduces a new scheduler that improves transaction processing efficiency. This scheduler implements a dependency graph of accounts, allowing for better organization of actions within a block. The new system optimizes the order in which transactions are processed, potentially increasing throughput and reducing latency. For developers, this change emphasizes the importance of optimizing compute unit usage in their programs to take full advantage of the new scheduling system.

What resources are available for developers looking to optimize their Solana programs?

Several resources are available for developers looking to optimize their Solana programs. An article by Joey details his experience optimizing the Stockpile V2 program, focusing on quadratic funding mechanisms and offering practical advice for improving smart contract efficiency. Additionally, an in-depth article about the Solana 1.18 release provides insights into Solana's inner workings, including the new scheduler and various stages of transaction processing. The Solana Stack Exchange also serves as a valuable resource, where developers can ask questions and share knowledge about optimization techniques and best practices.

How has the Solana developer community been contributing to ecosystem growth?

The Solana developer community has been actively contributing to ecosystem growth through various channels. The Solana Stack Exchange continues to be a vibrant hub of knowledge-sharing, with top contributors regularly recognized for their efforts. Developers are also creating and updating tools and templates, such as the improved Phaser template for gaming. Community members are sharing optimization techniques, like the vanity address generation method, and writing informative articles about program optimization and Solana's technical details. This collaborative spirit and knowledge sharing are crucial drivers of Solana's rapid development and growing ecosystem.

Related Content

Solana Changelog - Test validator fix, new Syscall, RPC updates, and more

Dive into the latest Solana improvements including a test validator fix, new GetEpochStake syscall, RPC updates for interest-bearing tokens, and continued Core BPF migration progress.

Solana Changelog - Test validator fix, new Syscall, RPC updates, and more

Dive into the latest Solana updates including test validator improvements, a new Syscall for on-chain governance, RPC enhancements for interest-bearing tokens, and continued progress on Core BPF migration.

Solana Changelog May 8 - MoveStake, Core Concepts, and Bigtable Support

Explore the latest Solana developments including the MoveStake proposal, CLI enhancements, Bigtable support for test validators, and revamped core concept documentation.

Solana Changelog Oct 2 - Radar, Partitioned Rent, and Simulating Compute in CLI

Latest Solana developments including Radar hackathon, SIMD-175 rent changes, CLI compute simulation, and new developer frameworks Steel and Poseidon

Solana Changelog July 18 - Active Stake Sysvar and Generating IDLs

Explore the latest Solana developments, including a new SYSVAR for active stake, improvements to Anchor IDL generation, and Switchboard's innovative off-chain functions.

Solana Changelog - January 31, 2023 - Geyser Improvements, Program-Test, and Bokken

Explore the latest Solana developments including a proposed fee market for storage, Geyser improvements, and the game-changing Bokken debugger for Solana programs.

Solana Changelog March 7 - Verifiable Builds, Admin RPC, and Geyser

Explore the latest Solana developments including verifiable builds, admin RPC improvements, and Geyser interface updates for enhanced performance and security.

Solana Changelog - January 31, 2023 - Geyser Improvements, Program-Test, and Bokken

Explore the latest Solana updates including a proposed fee market for storage, Geyser improvements, and the game-changing Bokken debugger for Solana programs.

Solana Changelog - Bridge Comparator, Program Loader v4, Feature Gates, and More

Discover the latest Solana developments including Jupiter's bridge comparator, Program Loader v4, feature gates, and more in this comprehensive changelog.

Solana Changelog - August 1 - Gamejam, RWA, Quick Program Deploys

Explore the latest Solana developments including the Game Jam, RWA security token standards, and improved program deployment speeds in this week's Changelog.

Solana Changelog - January 17, 2023 - SIMD 3, Compute Cost Updates, Golana

Dive into the latest Solana developments including the SIMD 3 proposal for dynamic base fees, compute cost updates, and the introduction of Golana for Go developers.

Solana Changelog May 31: Interfaces, Solang, and Solana ChatGPT

Explore the latest Solana developments including interfaces, Solang Compiler v0.3.0, and the new Solana ChatGPT plugin in this comprehensive changelog.

Solana Changelog - MoveStake, Core Concepts, and Bigtable Support

Explore the latest Solana developments including MoveStake proposal, CLI improvements, and revamped core concept documentation. Learn how these changes enhance the Solana ecosystem.

Solana Changelog Jul 3 - RPC Deprecations, Actions, and Blinks

Explore Solana's latest developments including RPC method deprecations, new Actions and Blinks features, and upcoming changes to compute unit charging.

Solana Changelog Jul 17 - Deprecations, Precompiles, and Developer Resources

Explore Solana's latest changes including precompile improvements, deprecated code removals, and exciting new developer resources in this comprehensive update.