This repo is development with zig, zig is a coding language for more info for basic coding guide
The current version being used in development is 0.14.0-dev.2079+ba2d00663
. You may use zigup
to download and use this specific version.
git clone --recursive https://github.com/optimism-java/zephyrus.git
cd zephyrus
git submodule update --init --recursive
cd bls
make -f Makefile.onelib ETH_CFLAGS=-DBLS_ETH LIB_DIR=lib
zig build
first you should build bls as described above
when you run zig build test
, the spec tests are not run by default.
if you want to run spec tests, you need to download the test vectors and add -Dspec=true
to the zig build command.
# download test vectors
make deps_test
# add -Dspec=true to run spec tests
zig build test -Dspec=true