2023-05-02 14:19:22 +00:00
|
|
|
.PHONY: clean setup example run clean
|
|
|
|
|
|
|
|
|
|
|
|
tests:
|
2023-10-15 17:47:53 +00:00
|
|
|
GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/ethereum/consensus-spec-tests
|
|
|
|
cd consensus-spec-tests && git checkout 70dc28b18c71f3ae080c02f51bd3421e0b60609b && git lfs pull --exclude=tests/general,tests/minimal && cd ..
|
2023-05-02 14:19:22 +00:00
|
|
|
mv consensus-spec-tests/tests .
|
|
|
|
rm -rf consensus-spec-tests
|
|
|
|
rm -rf tests/minimal
|
2023-10-14 18:53:16 +00:00
|
|
|
# not needed for now
|
|
|
|
rm -rf tests/mainnet/eip6110
|
|
|
|
# will not implement until i see it on a testnet
|
|
|
|
rm -rf tests/mainnet/deneb
|
2023-05-02 14:19:22 +00:00
|
|
|
|
|
|
|
clean:
|
2023-10-15 17:47:53 +00:00
|
|
|
rm -rf tests
|
2023-05-02 14:19:22 +00:00
|
|
|
|
2023-05-14 22:12:24 +00:00
|
|
|
mainnet:
|
2023-10-15 17:47:53 +00:00
|
|
|
CGO_CFLAGS=-D__BLST_PORTABLE__ go test -tags=spectest -run=/mainnet -failfast -v --timeout 30m
|