Solana devs weigh proposal to juice validator revenue

The proposed amendment takes aim at Solana’s “compute budget” program, which was put in as a safeguard against computational waste

article-image

Artwork by Crystal Le

share


Today, enjoy the Lightspeed newsletter on Blockworks.co. Tomorrow, get the news delivered directly to your inbox. Subscribe to the Lightspeed newsletter


In an attempt to pack Solana blocks more efficiently, Anza engineer Tao Zhu is proposing a core change to the Solana protocol. The amendment — laid out in Solana Improvement Document (SIMD) 0172 — takes aim at Solana’s “compute budget” program, which was put in as a safeguard against computational waste. Zhu argues this leads to an inefficient use of Solana blockspace. 

While there seems to be reasonably broad agreement that the compute budget program should be changed, some Solana developers have argued that SIMD-0172 doesn’t go far enough. At its core, the proposal strikes a familiar chord in Solana engineering — the problem of handling data while building a blockchain that is fast, cheap and shares state across an entire network. 

The compute budget is a line of code that dictates how many compute units — a Solana-native measure of computational resources — a transaction can use. Different transactions do different things, so they take up different amounts of CUs. But Solana doesn’t want wasteful transactions adding to the massive amount of data it already needs to keep track of, so transactions are given a limit of 200,000 CUs by default. 

This means every Solana block — which contains a maximum of 48 million CUs — will save 200,000 CUs worth of space for transactions with the default compute budget.

The problem, in Zhu’s view, is that 200,000 is often an overestimation. Often, transaction creators don’t ask for a more precise compute budget, so blocks are essentially reserving empty space. (For what it’s worth, I glanced at my most recent SOL transfer, and it used 86,000 CUs).

Instead, Zhu wants to ramp the default of 200,000 down to zero CUs over 10 epochs, or roughly 20 days. Then, transactors will need to request a more exact amount of compute. 

As a result, the 48 million CUs in a Solana block would be able to include more transactions, which means more fees would be paid to validators. This will be a welcome sight for validators who — as we’ve covered before — aren’t having the easiest go of things recently.

Not everyone is thrilled with Zhu’s proposed fix. Basically, even if the compute budget is defaulted to zero, transactions would still need to include instructions for the compute budget.

These instructions count against the maximum of 1232 bytes (a measure of data) that can be included in a transaction. Compute budget instructions take up 4% of the total, by one developer’s estimate.

This side would favor moving the compute budget to the transaction header, which is separate from instructions and could take up fewer bytes. 

Solana could get rid of the compute budget program entirely, Zhu has said, but that’s for down the road. Not everyone was thrilled.

“Adding an interim fix just adds more pain for developers,” one Solana dev wrote.


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the On the Margin newsletter.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.

Tags

Upcoming Events

Salt Lake City, UT

MON - TUES, OCT. 7 - 8, 2024

Blockworks and Bankless in collaboration with buidlbox are excited to announce the second installment of the Permissionless Hackathon – taking place October 7-8 in Salt Lake City, Utah. We’ve partnered with buidlbox to bring together the brightest minds in crypto for […]

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Permissionless is a conference for founders, application developers, and users. Come meet the next generation of people building and using crypto.

recent research

Unlocked by Template.jpg

Research

SKALE is a network of EVM-compatible chains with pooled security. SKALE stands out by offering a gas-free blockchain experience for end-users. It is able to do this by shifting validator compensation to developers. This business model has allowed SKALE to find traction in the gaming sector, demonstrated by the activity in the Nebula and Calypso hubs. As the network matures, SKALE chain growth will be a key metric to follow as the network’s economic sustainability depends on new chains joining the network and paying their monthly subscription fee.

article-image

Coinbase’s team told a three-judge panel on Monday that the SEC has failed to provide a path for actors in the digital asset space

article-image

A former Silvergate exec said the shuttering wasn’t due to the bank being ill-equipped to deal with bank runs post-FTX, but rather because of the regulatory environment

article-image

The SEC noted in its Friday filing such options would “help investors to hedge their positions and manage crypto-related risk”

article-image

The conference just wrapped up, but a few questions are lingering

article-image

Months after Riot’s so-called hostile takeover bid of Bitfarms, the two bitcoin miners forge an agreement

article-image

Plus, fun and games at Solana Breakpoint and crypto meets F1