Skip to content

Conversation

@stubbsta
Copy link
Contributor

@stubbsta stubbsta commented Nov 27, 2025

Description

We need to add specific versions of the RLN dependencies that are verified to work with the waku-rlnv2-contract. This is used for contract deployment and interactions in ci tests.

  • Foundry/Anvil/Force dependency:
    Most of the RLN related tests require a local testnet. We install foundry's anvil for this.
    If anvil is already installed then that version is used or we have a script which will install the latest version.

  • pnpm dependency
    We deploy the waku-rlnv2-contract from the contract repo as part of RLN tests. To build the contract locally we require pnpm.
    Currently if pnpm is not installed, we install the latest version.

Changes

  • Makefile
  • scripts/install-rln-tests_depenedencies.sh
    • scripts/install_anvil.sh
    • scripts/install_pnpm

Issue

Relates to #3643

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3649

Built from 862fa4b

@stubbsta stubbsta changed the title Add foundry version in makefile and install scripts chore: pin rln dependencies to specific version Nov 28, 2025
@stubbsta
Copy link
Contributor Author

TODO:

  • implement pinned version for pnpm
  • rename install_anvil script to install_foundry

@stubbsta stubbsta marked this pull request as ready for review December 9, 2025 07:29
Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is ok, as long as we trust newer versions of those tools :-)

@stubbsta stubbsta force-pushed the chore/pin-rln-dependencies-versions branch from 36ff7a6 to 2ae26b0 Compare December 11, 2025 09:17
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