chore: regenerate test vectors against leanSpec main and fix fork-choice harness - #120
chore: regenerate test vectors against leanSpec main and fix fork-choice harness#120SoarinSkySagar wants to merge 4 commits into
Conversation
ArtiomTr
left a comment
There was a problem hiding this comment.
Everything looks good, only minor nitpicks need to be fixed
|
@ArtiomTr all required changes done! |
|
looks like client build fails? something with http_api test driver: |
yeah sorry about that, I forgot to check build before committing. should be fine now. |
|
hey @ArtiomTr @SoarinSkySagar , I was just in general looking through this and is there a reason why you guys are directly adding the JSON fixtures to the repository. |
Sahilgill24
left a comment
There was a problem hiding this comment.
something like this and now the fixtures are in the local and test's can be run on it, I believe all the other lean clients follow this only.
LEAN_SPEC_FIXTURES_URL ?= https://github.com/leanEthereum/leanSpec/releases/latest/download/fixtures-prod-scheme.tar.gz
fixtures-temp:
tmpdir=$$(mktemp -d); \
echo "Extracting fixtures to $$tmpdir"; \
curl -L -f "$(LEAN_SPEC_FIXTURES_URL)" | tar -xz -C "$$tmpdir"; \
echo "Fixtures available at: $$tmpdir"
used
make generate-test-vectors LEAN_SPEC_COMMIT=0f5b8e58e58c0e155ae8b95eabbbde0b9ad8840ato download the latest leanSpec tests and fixed the harness forfork_choice, the previous test suite hadfcin the directory but new suite hasfork_choice, so had to to change it.