Solana to Prevent Future Network Shutdown If Runtime Bug Arises Again: Details

Solana

Solana takes active step in forestalling future network halt

The Solana network experienced its last outage on June 1, when the Solana Mainnet Beta cluster stopped creating blocks due to stalled consensus. This was created by a runtime bug in the durable nonce transactions feature, which governs how the blockchain handles a specific form of the transaction intended for offline use.

After disabling these “durable nonce transactions,” validators began restarting the network four and a half hours later. The following day, at 9:00 p.m. UTC, block production restarted, and network operators continued to restore client services over the next several hours.

The recent outage suggested a failure in Solana’s ability to handle durable nonces. The network’s validators were double counting these niche entries as a single transaction at two separate block heights, rather than counting them as a single transaction. Solana’s consensus mechanism was effectively broken by this impossible situation.

Solana takes proactive step

To increase throughput, Solana uses parallel processing of nonoverlapping transactions. An incrementing nonce can be used by networks that execute transactions serially; Solana employs a different mechanism to ensure transactions are not handled twice. Because durable nonce transactions are not meant to expire, they require a different approach to avoid double processing and are handled sequentially.

Processing a durable nonce transaction revealed a bug in the runtime that prevented the network from progressing throughout the outage. A successful transaction would not have caused this problem because the durable nonce transaction would have failed.

The durable nonce transaction functionality was deactivated in releases v1.9.28/v1.10.23 to prevent the network from stalling if the same circumstance arose again. Durable nonce transactions will not execute until the mitigation has been deployed and the feature reactivated in a future version.

admin

Read Previous

Here’s When Shiba Inu’s Price Will Start Moving with Higher Volatility, According to Charts

Read Next

TRON-based USDD stablecoin upgraded to offer more security

Leave a Reply

Your email address will not be published. Required fields are marked *

Right Menu Icon