Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Document extra steps needed for updating to Nargo v0.11 #374

Closed
Savio-Sou opened this issue Sep 15, 2023 · 1 comment · Fixed by #380
Closed

Document extra steps needed for updating to Nargo v0.11 #374

Savio-Sou opened this issue Sep 15, 2023 · 1 comment · Fixed by #380
Labels
0.11 Part of Noir's v0.11 release

Comments

@Savio-Sou
Copy link
Contributor

Context

≥0.11.0 and until https://github.com/orgs/noir-lang/discussions/2709 or similar is addressed, Nargo lacks the ability to automatically check and upgrade proving backends installed on users' machines.

When an outdated / incompatible proving backend is used, Nargo would prompt the user with:

Error: The backend encountered an error

Location:
    tooling/nargo_cli/src/cli/mod.rs:90:5

Note: This does not affect new users installing Nargo for the first time, only those updating from older versions.

Solution

Add instructions for updating Nargo when encountering the error:

  1. nargo backend uninstall acvm-backend-barretenberg
  2. noirup
  3. nargo compile (to initiate downloading and installing of the latest version of acvm-backend-barretenberg; might take minutes)

cc @TomAFrench would appreciate if you could verify the recommended steps.

@Savio-Sou Savio-Sou added the 0.11 Part of Noir's v0.11 release label Sep 15, 2023
@Savio-Sou Savio-Sou added this to Noir Sep 15, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Sep 15, 2023
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Sep 18, 2023
@Savio-Sou Savio-Sou reopened this Sep 29, 2023
@Savio-Sou Savio-Sou moved this from ✅ Done to 📋 Backlog in Noir Sep 29, 2023
@Savio-Sou
Copy link
Contributor Author

Closed with 9d23ea7.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Sep 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.11 Part of Noir's v0.11 release
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant