Skip to content

Conversation

@Antrikshgwal
Copy link
Contributor

@Antrikshgwal Antrikshgwal commented Mar 20, 2025

What was wrong?

download_fixtures method doesn't check for fixture version and re-downloads fixtures even when the same version already exists on the location.

Related to Issue #728

How was it fixed?

Implemented a mechanism that stores the URL while downloading fixtures and compares it with the URL used on subsequent function calls. Since the URL changes on a version change, we can know if the version has been changed and if we need to re-download the fixtures. Otherwise, we can skip the download.

Cute Animal Picture

image

@SamWilsn
Copy link
Contributor

In 8f3ffd3f0d I updated the fixture fetcher to cache downloaded files. Do you think the optimization you have here is still worth it, and if so, would you be interested in rebasing it or should I?

@Antrikshgwal
Copy link
Contributor Author

In 8f3ffd3f0d I updated the fixture fetcher to cache downloaded files. Do you think the optimization you have here is still worth it, and if so, would you be interested in rebasing it or should I?

I think 8f3ffd3f0d is a more robust approach while still optimising the fixture fetching. So, it would be a better option.

@gurukamath
Copy link
Contributor

The issue has been fixed in #1183

@gurukamath gurukamath closed this Jun 5, 2025
danceratopz pushed a commit to danceratopz/execution-specs that referenced this pull request Oct 22, 2025
* ✨ feat(gentest): Type 2 transaction

* ✨ feat: Source of truth for Tx model

* 🥢 nit: Casting to tx

* gentest: src/cli/gentest/tests/test_cli.py refactor

* fix(rpc): Adapt client's response to our model

* fix(rpc): More fixes

* fix(rpc): Use pydantic's AliasChoice

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: Mario Vega <marioevz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants