Prysmatic Labs Releases Shasper Client Demo, Prysm v0.0.0

- Advertisement -

It’s not a complete shasper implementation, but it’s a significant move and an opportunity for community feedback.

Prysmatic Labs has released a demo of its shasper implementation. The team is careful to market the Ethereum client as a work in progress, labeling it Prysm v0.0.0, and clarifying:

“There is still work to be done with respect to wrapping up Phase 0 of Shasper, but we wanted to give the community a taste of what a real client will look like.”

Prysmatic Labs has apparently been working on the Prysm client since late last year/early 2018. Since then, the concept has evolved significantly. It wasn’t until June 15 that the concept of a Casper-meets-sharding beacon chain was announced in a core dev call. Prior to that, the aim was for Casper FFG as a contract, though that was apparently rejected for its incompatibility with sharding and complications with the eventual shift to ewasm. (If you want more background on that whole journey, Vitalik Buterin detailed it all in a tweet storm back in August.) In any case, Prysmatic Labs’ journey to Prysm v0.0.0, as incomplete as it may be, has been full of zigs and zags.

To be clear, this demo is not intended to create a public shasper network. If you want to try it out, the GitHub repository post specifies you’ll need to run your own beacon chain node and validator client(s). Your node does not interact with others, though you can set up multiple validator clients and create a local network. (Setup instructions can be found here.)

While it is true that the release is an incomplete shasper implementation, it does a lot as is. Validators are intermediately shuffled and reshuffled to different shards IDs/slots. Then, during a validator’s assigned slot, it can propose and confirm canonical blocks. Some other notable functions include:

  • Casper FFG rewards and penalties.
  • Locally networked peer-to-peer transactions (read: between your own validator clients, not the public network).
  • A simulator of other beacon nodes sending blocks to yours so that you can see how the thing might actually function.
  • A Web3 Subscription service to listen to latest mainchain blocks and validator registrations.
  • Bazel, a build system used by industry leaders like Google.

Although the demo sorts clients to shard IDs, this is not the same thing as actual sharding functionality. The announcement states:

“Shards, their associated design, and cross-shard transactions are not included in this release. Validators are simply shuffled into shard IDs but do not actually do anything to validator shard blocks yet.”

- Advertisement -

The ETH2.0 fork-choice rule is also not yet included. The fork-choice rule generally refers to the code that determines which blocks to build on, but with sharding this gets complicated. For ETH2.0, the fork-choice rule must specify how shards interact with the main chain. Another necessary core function missing from the demo is randomness of validator selection. It is important for network security that validators do not know ahead of time that they are next in line. Otherwise, collusion and dishonesty are possible. While there are mechanisms to make this possible in the works, they are still being researched.

In the meantime, Prysmatic Labs’ announcement of the Prysm v.0.0.0 demo release welcomes coders proficient in Go to help build and improve the client.  

Alison is an editor and occasional writer for ETHNews. She has a master’s in English from the University of Wyoming. She lives in Reno with her pooch and a cat she half likes. Her favorite things to do include binge listening to podcasts, getting her chuckles via dog memes, and spending as much time outside as possible.

- Advertisement -

Like what you read? Follow us on X @Bitnewsbot to receive the latest Ethereum, shasper or other Ethereum ecosystem news.



Previous Articles:

- Advertisement -

Latest

American Engineer Drugged, Robbed in Sophisticated London Crypto Heist

An American software engineer lost approximately $123,000 in cryptocurrency after being drugged and robbed in London.The victim was targeted by an impersonator posing as...

Max Keiser Doubts New Bitcoin Treasuries’ Discipline in Bear Market

Bitcoin-focused companies are increasingly copying the treasury strategy used by Michael Saylor's Strategy.Max Keiser raised doubts about whether these newer companies can maintain commitment...

South Korea Election Puts Crypto Policy at Center of Debate

Nearly one-third of South Koreans hold digital assets, making crypto a vital issue in the upcoming presidential election.Both major parties support crypto exchange-traded funds...

Scottsdale Residents Lose $6M to Crypto Scams; Police Respond

Scottsdale residents have reported losing over $6 million to cryptocurrency Scams in 2024.Authorities say actual losses could be higher, as not all cases are...

Ethereum Bullish Patterns Signal Altseason, 55% Rally Possible

Ethereum is showing two bullish chart patterns against Bitcoin, indicating a possible 30–55% price increase. Crypto analysts say an ETH/BTC rally could spark a broad...

Must Read

Tutorial: How to Buy a Domain Name Permanently? (Super Easy)

Are you ready to establish a permanent online presence and you want to buy a domain forever?In this tutorial, we'll show you how to...