Skip to content

Commit

Permalink
docs(network): remove protoc from prerequisites on papyrus readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonLStarkWare committed Aug 18, 2024
1 parent 4b71ec6 commit 58e4fec
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions docs/papyrus/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,6 @@ Use it at your own risk.

* https://www.rust-lang.org/tools/install[Rust] must be installed. Minimum supported version is `1.76`.
* You must have access to an Ethereum node. For example, you can use a node provider such as Infura.
* link: https://grpc.io/docs/protoc-installation[Protoc]
- You'll need Protoc only for compiling the link:../crates/papyrus_network/[papyrus_network] crate.
- Make sure you have version 15 or higher installed. If not:
1. Remove your current Protoc installation:
+
[source,bash]
----
sudo apt remove protoc/protobuf-compiler
----

2. Install version 15 or higher (replace DIR with your preferred installation directory):
+
[source,bash]
----
DIR="$HOME/.local"
curl -L "https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip" -o protoc.zip
unzip ./protoc.zip -d $DIR
rm ./protoc.zip
----

3. Add DIR to your PATH if it's not already there:
+
[source,bash]
----
export PATH=$PATH:$DIR/bin
----

[discrete]
==== Procedure
Expand Down

0 comments on commit 58e4fec

Please sign in to comment.