curl https://sh.rustup.rs | sh
. "$HOME"/.cargo/env
rustup install nightly-2024-10-28
rustup component add rust-src --toolchain nightly-2024-10-28-x86_64-unknown-linux-gnu
sudo apt-get install libssl-dev
sudo apt-get install pkg-config
sudo apt-get install clang
sudo apt-get install protobuf-compiler
cd 3rd/web-prover
make artifacts
bash ./patch_code.sh origo.patch
Or
bash ./patch_code.sh origo-memory.patch
Note: the first patch will not profiler memory usage. If you need to profiler memory usage, you should use the second patch file.
bash ./build_native_x86.sh
bash ./build_native_arm.sh
bash ./build_wasm_x86.sh
bash mock_server.sh
bash notary_server.sh
bash bench.sh 38081 lo
bash mock_server.sh
bash notary_server.sh
bash http_server.sh
bash bench.sh 38081 lo wasm