vlayer init: Soldeer install error for openzeppelin

Summary

In the vlayer server announcement we detail an error encountered running vlayer init --template simple-teleport. Soldeer fails installing @openzeppelin-contracts~5.0.1 due to a registry request error to api.soldeer.xyz. The post notes the init steps, the install failure, and mentions Foundry version checks to help the community troubleshoot.

Original Post
◆  Done reading config
│  
◆  Installing @openzeppelin-contracts~5.0.1                                      
└  An error occurred during install
2025-04-03T18:24:53.740294Z ERROR vlayer: Error: Soldeer failed: error during install operation: error during registry operation: error with registry request: error sending request for url (https://api.soldeer.xyz/api/v1/revision?project_name=%40openzeppelin-contracts&offset=0&limit=10000)
Reply

On init!

Reply

Standing by 🫡

Reply

Still running into error after updating. What version of foundry are you on? Im on
foundryup: 1.0.1

seanconrad@Mac vlayer-simple % vlayer init --template simple-teleport
2025-04-09T16:43:06.070336Z  INFO vlayer::commands::init: Running vlayer init from directory "/Users/seanconrad/Desktop/vlayer-simple"
2025-04-09T16:43:06.083166Z  INFO vlayer::commands::init: Found foundry project root in "/Users/seanconrad/Desktop/vlayer-simple"
2025-04-09T16:43:06.083252Z  INFO vlayer::commands::init: Created vlayer directory in "/Users/seanconrad/Desktop/vlayer-simple"
2025-04-09T16:43:06.083302Z  INFO vlayer::commands::init: Created vlayer directory in "/Users/seanconrad/Desktop/vlayer-simple/src"
2025-04-09T16:43:06.083349Z  INFO vlayer::commands::init: Created vlayer directory in "/Users/seanconrad/Desktop/vlayer-simple/test"
2025-04-09T16:43:06.083561Z  INFO vlayer::commands::init: Fetching examples from url: https://vlayer-releases.s3.eu-north-1.amazonaws.com/0.1.0-nightly-20250409-cff288e00e84741438a0899406d9f156b09f20ce/examples.tar.gz
2025-04-09T16:43:06.979131Z  INFO vlayer::commands::init: Successfully downloaded vlayer template "simple-teleport"
2025-04-09T16:43:06.979627Z  INFO vlayer::commands::init: Initialising soldeer
2025-04-09T16:43:06.979717Z  INFO vlayer::commands::init: Installing solidity dependencies
┌  🦌 Soldeer Install 🦌
│
◆  Done reading config
│  
◆  Installing @openzeppelin-contracts~5.0.1                                     └  An error occurred during install
2025-04-09T16:43:07.094668Z ERROR vlayer: Error: Soldeer failed: error during install operation: error during registry operation: error with registry request: error sending request for url (https://api.soldeer.xyz/api/v1/revision?project_name=%40openzeppelin-contracts&offset=0&limit=10000)
Reply

FYI everything installing successfully on vlayer 0.2.0-nightly-20250418-78a78bc160c786d9970ecf0704a9bfa7a0447bf7

🥳

The latest from vlayer

vgas_limit error in vlayer SDK

Resolve vgas_limit 10000000 errors in vlayer by using v_refundUnusedGas or estimating usage via local proofs.