This repo is development with zig, zig is a coding language for more info for basic coding guide
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