archive-ape-starknet
archive-ape-starknet copied to clipboard
Wrongful re-compilation and inconsistent caching behaviors
Ape will not always see contracts that need re-compilation upon changes, this was noticed both in standalone compilation mode (single command) and also as part of ape-starknet flow for running tests, furthermore, during the latter Ape will output that relevant contracts are being re-compiled however test behavior remains unchanged until the .pytest_cache folder is deleted (signaling that Ape either A) did not correctly re-compile all contracts that needed to B) is still loading the old artifacts for running the test)
FTR I also reported several issues related to contracts (re)compilation here: https://github.com/ApeWorX/ape/issues/822.
How are you compiling + making changes the source code? Are the sources being changed mid test?
How are you compiling + making changes the source code? Are the sources being changed mid test?
nope, no changes during test run ofc
as for compilation 👇

if there is any easy way to help reproduce this, it would be much appreciated!