Liquid Stake with compassSOL for an 8.82% 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 7.0% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 7.0% 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 7.0% APY staking with Solana Compass

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

Learn more

Solana Changelog - Jan 16 - Lower Program Deploy Costs, Halve Rent, Luzid Test Validator

By Changelog

Published on 2024-01-18

Explore Solana's latest improvements including lower program deployment costs, potential rent reductions, and the innovative Luzid test validator for enhanced developer experience.

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

Solana Changelog: Reducing Costs and Enhancing Developer Tools

In the ever-evolving landscape of blockchain technology, Solana continues to make strides in improving its ecosystem for developers and users alike. The latest Solana Changelog, featuring insights from Nick and special guest Mike McKenna from the Solana Foundation, brings to light several exciting updates and proposals that are set to enhance the Solana experience significantly.

Lower Program Deployment Costs

One of the most notable changes highlighted in this changelog is the reduction in costs associated with deploying programs on Solana. This update is particularly beneficial for developers working on larger, more complex programs.

The Previous Challenge

Prior to this update, deploying large programs on Solana could be problematic. The issue stemmed from the fact that the block hash used in the transaction might expire before the deployment process was complete. This expiration occurs when the block hash is no longer among the last 150 block hashes on the chain.

The Solution

Thanks to a commit by contributor "God Mode Galactus," this issue has been resolved. The fix ensures that even for larger programs, the deployment process can complete successfully without the risk of block hash expiration. This improvement is crucial as it anticipates the trend towards more sophisticated and sizeable programs being developed on the Solana blockchain.

Reduced Storage Requirements

Another significant change relates to the storage requirements for program deployment. Previously, the cost to deploy a program was calculated based on twice the size of the program. This approach was designed to allow for future upgrades and expansions of the program.

However, a new pull request has modified this calculation. Now, the cost is based on just one times the size of the program. This change effectively halves the cost of deploying programs on Solana, making it more economical for developers, especially those working with larger programs.

Mike McKenna elaborates on this point: "It used to be that the cost to deploy programs was twice the size of the program. And the idea behind that was to allow the program to be updated, upgraded over time, and use more space. That has now been changed to one times, which reduces the cost to deploy all programs on Solana, about particularly relevant for people who deploy large programs as well."

Rent Calculation Adjustments

The changes in program deployment costs have led to some interesting discoveries and subsequent fixes in the Solana ecosystem.

Uncovering a Calculation Oversight

With the reduction in the default amount of space used for program deployment, it was discovered that the calculation for rent-exempt lamports (Solana's native currency unit) was slightly off. The original calculation was missing some metadata in its assessment.

Why This Wasn't Noticed Before

This oversight wasn't apparent earlier because the previous method of allocating twice as much space as needed for potential upgrades masked the issue. The excess allocation provided a buffer that compensated for the missing metadata in the calculation.

The Fix

A fix has been implemented to address this calculation discrepancy. This ensures that the correct amount of lamports is allocated for rent exemption, taking into account all necessary metadata. This fix is crucial for maintaining the accuracy and fairness of the Solana ecosystem's economic model.

SIMD-0101: Proposal to Halve Rent

An intriguing proposal currently under discussion is SIMD-0101, which suggests halving the rent on Solana. This proposal, if implemented, could have significant implications for the economics of the Solana blockchain.

Current Rent System

In Solana, accounts are required to maintain a minimum balance to be considered rent-exempt. This system ensures that accounts contribute to the network's resources in proportion to the space they occupy on the blockchain.

The Proposal

The SIMD-0101 proposal suggests reducing the amount of rent required for an account to be considered rent-exempt by half. This change could make it more affordable for users and developers to maintain accounts on the Solana blockchain.

Potential Impacts

Reducing rent could have several effects on the Solana ecosystem:

  1. Lower entry barriers for new users and small-scale projects.
  2. Potentially increased adoption due to reduced costs.
  3. Changes in the economics of running validators and maintaining the network.

Nick comments on the complexity of this proposal: "The discussion in that is really, really interesting. So there's all kinds of, I guess, different incentives at play there. It is a good read if you're into the economics of blockchains."

Enhancing Developer Experience

The Solana team continues to focus on improving the developer experience, recognizing that a smooth development process is crucial for the growth and adoption of the platform.

Streamlining Solana Core Development

A recent commit to the Solana repository aims to speed up the development process for contributors working on Solana core.

Disabling CRON Schedules for Forks

This update disables certain CRON schedules on forked repositories. This change is specific to the Git repository forks, not blockchain forks. By doing so, it significantly reduces the time taken by CI/CD pipelines when developers are working on changes and submitting pull requests.

Mike explains the impact: "This PR actually disabled some of the CRON schedules on any of the forks that would happen and forks on the Git repo, not like forks in the Solana chain as the chain progresses. But it makes it so the CI/CD pipeline is a little bit faster. And so if you're submitting additional PRs and working on making changes, this actually improves your developer experience and your speed a little bit, which is really nice."

The Importance of Fast CI/CD

The significance of this change extends beyond just Solana core developers. Any developer who has worked on projects with slow Continuous Integration/Continuous Deployment (CI/CD) processes can appreciate the frustration of long wait times, especially when multiple iterations are needed.

Nick emphasizes this point: "I think even people who aren't committing to Solana core can appreciate anyone who's ever worked on a project with really slow CI, could appreciate the kind of, just the annoyance when you're waiting for it to fix and get a result either a yes or no, and maybe it's a no when you need to iterate again, and then you need to go through the whole process. So anything that speeds up, that process is more than welcome."

Luzid: A Supercharged Test Validator

One of the most exciting developments highlighted in this changelog is the introduction of Luzid, described as a "Solana test validator on steroids" by its creator, Thorsten Lorenz.

What is Luzid?

Luzid is an enhanced version of the Solana test validator, designed to provide developers with more powerful and flexible tools for local development and testing.

Key Features of Luzid

  1. Snapshots: One of the most notable features of Luzid is its ability to create and manage snapshots of the blockchain state. This allows developers to easily roll back or forward to specific states, which is invaluable for debugging and testing complex scenarios.

  2. State Manipulation: Luzid provides the ability to adjust the actual ledgers within the file system. This means developers can modify the state of accounts and programs directly, offering unprecedented control over the test environment.

  3. Enhanced Debugging: The snapshot feature, in particular, opens up new possibilities for debugging complex issues by allowing developers to analyze the blockchain at specific points in time.

Mike expresses his enthusiasm for Luzid: "I love this and this is my favorite thing from the whole last week. I'm a big, like I love local net. Some people like if they like to develop on DevNet, just the idea of running a local validator is it feels really natural to me as somebody who kind of came from a Web2 background who was like programming against like local host, et cetera."

The Impact on Developer Experience

The introduction of Luzid represents a significant leap forward in the Solana development toolkit. By providing more granular control over the test environment, it allows developers to:

  • Simulate complex scenarios more easily
  • Debug issues that were previously difficult to replicate
  • Gain deeper insights into the behavior of their programs under various conditions

Nick highlights the potential of Luzid for troubleshooting: "The reason I'm excited about this is I can imagine some really kind of complex, hard to debug issue and being able to have like snapshots like this and roll back something to a known state and kind of analyze the blockchain at a point in time is super useful for getting that kind of great visibility you need to like debug difficult problems."

Solana Helpers: Simplifying Common Tasks

Another noteworthy resource discussed in the changelog is the Solana Helpers project, previously known as Node Helpers.

What are Solana Helpers?

Solana Helpers is a collection of utility functions designed to simplify common tasks in Solana development. These helpers aim to reduce the amount of boilerplate code developers need to write or copy-paste for routine operations.

Key Features

  1. Reading and Writing Private Keys: Simplifies the process of handling private keys, whether stored in files or environment variables.

  2. Requesting Confirmed Airdrops: This helper ensures that when requesting an airdrop (typically on test networks), the transaction is fully confirmed before proceeding. This addresses a common issue where developers might attempt to use funds from an airdrop before the transaction is fully processed.

Mike explains the airdrop helper: "So requesting confirm airdrop requests an airdrop, wait till it's actually ready to use and then actually returns back the current balance of your account. I thought that was a nice way to do things."

Future Integration with Web3.js

There are plans to incorporate similar functionality into the Web3.js library in the future, which would make these helpers even more accessible to Solana developers.

Educational Resources for Solana Developers

The changelog also highlighted some valuable educational resources for both new and experienced Solana developers.

SolAndy's Video Tutorials

SolAndy, a popular content creator in the Solana community, was mentioned for his extensive collection of tutorial videos. These videos cover a wide range of topics related to Solana development and are particularly valuable for newcomers to the ecosystem.

Nick praises SolAndy's contributions: "If you're trying to learn Solana development, check out his videos, check out his content. He's really awesome. Very personable."

The Solana Cookbook

While not explicitly mentioned in this changelog, the Solana Cookbook remains a crucial resource for developers. Both Nick and Mike acknowledged its significance in their own learning journeys.

Mike shares: "I think like SolAndy and the cookbook will probably be the two biggest resources I had. I guess probably a year and a half ago now when I was first kind of getting into just Solana development."

Stack Exchange for Solana

The Solana community on Stack Exchange was also highlighted as an important resource for developers seeking answers to specific questions.

Weekly Highlights

The changelog introduced a new tradition of recognizing top contributors on the Solana Stack Exchange. For this week, user "a Mills" was highlighted for their significant contributions in answering questions and engaging with the community.

Community Engagement and Content Creation

The Solana team emphasizes the importance of community-driven content and engagement in fostering a vibrant ecosystem.

Call for Content Creators

Nick made a point to encourage more content creation within the Solana community: "Kind of a PSA if anyone else is out there and you're creating developer content, whether it's written guides and tutorials or videos, then tag the Solana devs Twitter account and tag myself, Nick Frosty and even tag Mike. Tag us all and we can try to help share it out and get some extra discoverability on anyone that's creating content on Solana."

This call to action underscores the Solana Foundation's commitment to supporting and amplifying community-created educational content.

The Role of Community in Ecosystem Growth

By encouraging and highlighting community contributions, the Solana ecosystem aims to:

  1. Diversify the sources of educational content
  2. Address a wider range of developer needs and skill levels
  3. Foster a sense of community and collaboration among developers

Conclusion: A Bright Future for Solana Development

The latest Solana Changelog paints a picture of an ecosystem in constant evolution, with a strong focus on improving developer experience and reducing barriers to entry. From technical improvements like reduced deployment costs and enhanced test validators to community initiatives and educational resources, Solana is positioning itself as an increasingly attractive platform for blockchain developers.

The reduction in program deployment costs and the potential halving of rent requirements demonstrate Solana's commitment to making blockchain development more accessible and cost-effective. Meanwhile, tools like Luzid and Solana Helpers are pushing the boundaries of what's possible in terms of development efficiency and debugging capabilities.

As the Solana ecosystem continues to grow and mature, these improvements and community-driven initiatives will play a crucial role in attracting new developers, fostering innovation, and ultimately driving the adoption of Solana-based applications. With its focus on performance, cost-effectiveness, and developer experience, Solana is well-positioned to remain at the forefront of blockchain technology in the coming years.

Facts + Figures

  • Program deployment costs on Solana have been reduced from 2x program size to 1x program size.
  • A fix has been implemented to address block hash expiration issues during large program deployments.
  • SIMD-0101 proposes halving the rent required for accounts to be rent-exempt on Solana.
  • Luzid, a new enhanced test validator for Solana, introduces features like state snapshots and ledger manipulation.
  • The Solana Helpers project (formerly Node Helpers) provides utility functions for common Solana development tasks.
  • Plans are in place to integrate Solana Helpers-like functionality into the Web3.js library.
  • SolAndy and the Solana Cookbook are highlighted as key educational resources for Solana developers.
  • The Solana Stack Exchange community is growing, with top contributors being recognized weekly.
  • CI/CD improvements have been made to the Solana core repository to speed up the development process.
  • The Solana Foundation is actively encouraging community members to create and share educational content about Solana development.

Questions Answered

What changes have been made to program deployment costs on Solana?

The cost to deploy programs on Solana has been reduced from twice the size of the program to just one times the size. This change effectively halves the cost of deploying programs, making it more economical for developers, especially those working with larger programs. The update also addresses issues with block hash expiration during the deployment of large programs, ensuring a smoother deployment process.

What is the SIMD-0101 proposal about?

SIMD-0101 is a proposal to halve the rent required for accounts to be considered rent-exempt on Solana. If implemented, this change could significantly reduce the cost of maintaining accounts on the Solana blockchain. The proposal aims to lower entry barriers for new users and small-scale projects, potentially increasing adoption due to reduced costs. However, it also involves complex considerations regarding the economics of running validators and maintaining the network.

What is Luzid and how does it enhance Solana development?

Luzid is an enhanced version of the Solana test validator, described as a "Solana test validator on steroids." It introduces powerful features like state snapshots and ledger manipulation, allowing developers to easily roll back or forward to specific blockchain states. This tool significantly improves the debugging process for complex issues by providing unprecedented control over the test environment. Luzid enables developers to simulate various scenarios more easily and gain deeper insights into their programs' behavior under different conditions.

How do Solana Helpers improve the development process?

Solana Helpers, previously known as Node Helpers, is a collection of utility functions that simplify common tasks in Solana development. These helpers reduce the need for boilerplate code in routine operations such as reading and writing private keys and requesting confirmed airdrops. For instance, the airdrop helper ensures that when requesting an airdrop on test networks, the transaction is fully confirmed before proceeding, addressing a common issue where developers might attempt to use funds before the transaction is fully processed.

What educational resources are recommended for Solana developers?

Several key educational resources were highlighted for Solana developers. SolAndy's video tutorials are highly recommended, especially for newcomers to the ecosystem. The Solana Cookbook remains a crucial resource for developers at various skill levels. Additionally, the Solana Stack Exchange community is growing and serves as an important platform for developers to ask questions and share knowledge. The Solana Foundation also encourages community members to create and share their own educational content about Solana development.

Related Content

Solana Changelog - Jan 16 - Lower Program Deploy Costs, Halve Rent, Luzid Test Validator

Explore the latest Solana updates, including lower program deployment costs, a proposal to halve rent, and the innovative Luzid test validator for enhanced developer experience.

Solana Changelog Jun 12 - Optional Borsh, Precompiles, and new Web3.js

Dive into Solana's latest developments including optional Borsh, precompiles, core BPF migration, and exciting Web3.js updates for enhanced developer experience.

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 - January 17, 2023 - SIMD 3, Compute Cost Updates, Golana

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

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.

Solana Changelog March 21 - Priced Compute Units and the Solana Developer Forum

Explore Solana's latest developments, including the Priced Compute Units proposal, validator improvements, and the launch of the Solana Developer Forum.

Solana Changelog - April 16 - Vote Instructions, Bank Forwarding, QoS

Discover the latest Solana upgrades including vote instruction deprecation, bank forwarding filters, and QoS enhancements for improved network performance and developer experience.

Solana Changelog - Token Extensions and Transaction Size Fees

Explore Solana's latest developments including token extensions, transaction size fees, and the upcoming Mountain Dew 5 event in this comprehensive changelog.

Solana Changelog - January 24, 2023 - Bankless Leader, Explorer Updates, Nonvote RPC

Explore Solana's latest developments including the Bankless Leader proposal, Explorer updates, and impressive ecosystem growth in this comprehensive changelog.

Solana Changelog - October 10 - Solana StackExchange, sRFC, and future Feature Activations

Explore Solana's latest updates including the 1.16 release, upcoming confidential transfers, SRFCs, and the importance of Solana StackExchange for developers.

Solana Changelog - Optional Borsh, Precompiles, and new Web3.js

Discover Solana's latest developments including optional Borsh in SDK, precompile standardization, core BPF migration progress, and exciting Web3.js updates for enhanced developer experience.

Solana Changelog April 18 - Automatic Repair, Saga, and Helium

Discover Solana's latest developments including the Saga phone launch, Helium network migration, and innovative automatic cluster repair proposal.

Solana Changelog Jul 10 - Removing deprecated code, new web3.js, and blinks.xyz

Explore Solana's latest changes including deprecated code removal, Web3.js tech preview 4, and the new Blinks.xyz inspector tool for developers.

Solana Changelog - Jan 30: Transaction CU Cost, Simulation for Token Accounts, and Fee for Write Lock

Discover Solana's latest improvements including transaction cost tracking, token account simulation, and a proposal for write lock fees to enhance network efficiency.

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.