# Prysm

**URL:** https://collective.flashbots.net/t/prysm/4792
**Category:** References
**Tags:** software
**Created:** [March 21, 2025, 2:55pm UTC](https://collective.flashbots.net/t/prysm/4792 "2025-03-21T14:55:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![guayabyte](https://collective.flashbots.net/user_avatar/collective.flashbots.net/guayabyte/32/4_2.png) [@guayabyte](https://collective.flashbots.net/u/guayabyte)
#### Post date: [March 21, 2025, 2:55pm UTC](https://collective.flashbots.net/t/prysm/4792/1 "2025-03-21T14:55:31Z")

</div>

> **[GitHub - OffchainLabs/prysm: Go implementation of Ethereum proof of stake](https://github.com/OffchainLabs/prysm)**
>
> Go implementation of Ethereum proof of stake

See also:

- [gohashtree](https://collective.flashbots.net/t/gohashtree/4795)
- [bls-eth-go-binary](https://collective.flashbots.net/t/bls-eth-go-binary/4854)

# Debian packaging

Intent to package: [bug 1109492](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109492)  
Dependencies:

- [go-bitfield](https://pkg.go.dev/github.com/OffchainLabs/go-bitfield): [intent to package](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107198)

# RISC-V support

Status: fails to build

## Log

- [july, 2024] [lazyprogrammerio](https://github.com/lazyprogrammerio) [reported](https://github.com/eth-educators/eth-docker/issues/1873#issuecomment-2230076446) that prysm does not work on RISC-V because [bazelisk](https://github.com/bazelbuild/bazelisk) does not support RISC-V. They reported it: [[riscv][risc-v][riscv64]Cannot build Bazel 7.1.0 on RISC-V 64 (Lichee PI4A) · Issue #23018 · bazelbuild/bazel · GitHub](https://github.com/bazelbuild/bazel/issues/23018)
- [july, 2024] [lazyprogrammerio](https://github.com/lazyprogrammerio) [reported](https://github.com/eth-educators/eth-docker/issues/1873#issuecomment-2231782789) that prysmaticlab’s [gohashtree](https://github.com/prysmaticlabs/gohashtree) library is written in assembly and supports only amd64 and arm64.
- [august, 2024] [diglos](https://github.com/diglos) [reported](https://github.com/eth-educators/eth-docker/issues/1873#issuecomment-2308941114) that prysm fails with bls errors.

## Cross-compile

> Last tested on april 2nd, 2025

```auto
GOARCH=riscv64 go build -v ./...
github.com/herumi/bls-eth-go-binary/bls
# github.com/herumi/bls-eth-go-binary/bls
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:9:28: undefined: SecretKey
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:9:40: undefined: Fr
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:13:26: undefined: Fr
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:13:31: undefined: SecretKey
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:19:28: undefined: PublicKey
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:19:40: undefined: G1
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:23:26: undefined: G1
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:23:31: undefined: PublicKey
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:29:23: undefined: Sign
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:29:30: undefined: G2
../../../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.31.0/bls/cast.go:29:30: too many errors
github.com/prysmaticlabs/gohashtree
# github.com/prysmaticlabs/gohashtree
../../../go/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.4-beta.0.20240624100937-73632381301b/hash.go:46:5: undefined: supportedCPU
../../../go/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.4-beta.0.20240624100937-73632381301b/hash.go:56:5: undefined: supportedCPU
../../../go/pkg/mod/github.com/prysmaticlabs/gohashtree@v0.0.4-beta.0.20240624100937-73632381301b/hash.go:86:5: undefined: supportedCPU
github.com/dgraph-io/ristretto/z
github.com/prysmaticlabs/prysm/v5/tools/eth1exporter
github.com/prysmaticlabs/prysm/v5/tools/gocovmerge
github.com/prysmaticlabs/prysm/v5/tools/replay-http
github.com/prysmaticlabs/prysm/v5/tools/analyzers/maligned
# github.com/dgraph-io/ristretto/z
../../../go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.4-0.20210318174700-74754f61e018/z/buffer.go:77:35: undefined: MaxBufferSize
github.com/prysmaticlabs/prysm/v5/tools/nogo_config

```

---

<div class="post-metadata">

### Author: ![guayabyte](https://collective.flashbots.net/user_avatar/collective.flashbots.net/guayabyte/32/4_2.png) [@guayabyte](https://collective.flashbots.net/u/guayabyte)
#### Post date: [March 29, 2025, 1:38am UTC](https://collective.flashbots.net/t/prysm/4792/2 "2025-03-29T01:38:07Z")

</div>

> **[Crushing Prysm's Hasher - HackMD](https://hackmd.io/80mJ75A5QeeRcrNmqcuU-g)**
