Open igamigo opened 1 month ago
https://github.com/0xPolygonMiden/miden-node/pull/434 fixes the faucet build
To ensure that we are always running with the latest of miden-base
but not removing the cache, maybe we can add an update to all deps from that repo (cargo update {miden-tx, miden-objets, miden-lib}
) in the GitHub workflows.
I think we explicitly wanted to decouple updates in miden-base
etc from here. i.e. Only update when we decide to do so - otherwise there will forever be churn.
The lockfile should have prevented the issues you're seeing since it pins the commit of miden-base
as a dependency. This is also why the ci is passing (nothing to do with the caching I hope 😅).
What I don't understand is how you managed to get a compile issue. You'll notice that your fix in #434 changed the lockfile hashes for miden-base
et al, pulling in the new version of it.
Maybe one of
cargo update
locallymake clippy
does not have --locked
so it was happy to use the updated version?Probably we should at least add --locked
to our make
commands.
Currently,
make clippy
(as well ascargo build
in the workspace root) is failing locally due to some recent changes tomiden-base
. Here is the error:The CI (which runs
make clippy
) however has been passing which could be an issue. This could be related to the new caching action (though I'm not too familiar with how it works).