Stellar
$0.07832 8.85%
XLM · 2w

Protocol 13 Upgrade Complete! - Developers Blog

Today, the Stellar public network upgraded to Protocol 13.  Woohoo!

Like all important network-wide settings, protocol version is decided by validating nodes, who vote for and agree to a new protocol version the same way they vote for and agree to transaction sets.  For more on how that works, see our Upgrading the Network doc.

It takes a lot of coordination to pull off a major protocol change, and we appreciate the diligence, patience, and effort everyone in the ecosystem put in to prepare.  If you haven't already, we encourage you to sign up for updates on our status page to make sure you're aware of network incidents and scheduled maintenance.   ‍

If you're getting errors

If you haven't upgraded your Stellar-related software, you will likely experience issues today.  The fix is simple: install software that supports Protocol 13.  For links to relevant releases, see our Guide to Protocol 13 Prep. 

For instance: if you're using a Stellar SDK and you get an XDR error while trying to read a transaction envelope, it probably means you're using a version of the library that doesn't support Protocol 13.  Here's an example of what that error looks like:

{% code-line %}Error: XDR Read Error: Unknown PublicKeyType member for value 2{% code-line-end %}

If you're using an outdated version of Horizon, you'll get an error indicating a problem ingesting ledgers, ingesting history archives, loading transactions, validating the bucket list, or something along those lines. Here are two examples:

{% code-block language="sql" %} "Error ingesting ledgers" err="failed to load transactions: select failed: sql: Scan error on column index 5, name \"txmeta\": xdr:decode: switch '2' is not valid for union" first_ledger=30191538 last_ledger=30192867 pid=31343 service=ingest {% code-block-end %} ‍

{% code-block language="sql" %} "Error in ingestion state machine current_state=“buildFromCheckpoint(checkpointLedger=528383)” err...

Continue on stellar.org
Recent news
No posts found