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

chore: Remove streaming CRS download & indicator #194

Merged
merged 5 commits into from
May 17, 2023

Conversation

phated
Copy link
Contributor

@phated phated commented May 17, 2023

This removes the streaming download of the CRS bytes and removes the indicator about how much is downloaded.

Since we are now adjusting our download on circuit size (and growing the CRS as a circuit grows), the backend will no longer be downloading 307mb in one single download. This was making the indicator go from 0 to complete instantly, which looks strange.

Additionally, this sets us up to use the same download function both natively and in JS.

@TomAFrench
Copy link
Member

I think we'd want something to flag that there's activity even if it's just a spinner, I was on a poor internet connection when downloading SRS to my laptop the first time and having some feedback was helpful.

If it helps with getting JS out however I good with dropping it in the short term. We have a lot of conditional compilation already however so I don't think it would be the end of the world to have some here.

@phated phated merged commit 9d0ca6f into acvm-0.12.0 May 17, 2023
@phated phated deleted the phated/remove-streams-indicatif branch May 17, 2023 18:34
TomAFrench added a commit that referenced this pull request May 19, 2023
* feat!: update to target acvm-84b5d18d

* chore: update to use new black box solver interface

* use patch syntax

* update to latest changes

* feat!: update to acvm with non-homogeneous bb calls (#169)

* feat: update acvm

* feat!: updated acvm to latest master

* chore: update cargo toml

* Update src/barretenberg_structures.rs

Co-authored-by: Tom French <[email protected]>

---------

Co-authored-by: Tom French <[email protected]>

* fix bad rebase

* feat!: Update backend to rely on WitnessMap (#152)

Co-authored-by: Tom French <[email protected]>

* update acvm

* feat!: Implement CommonReferenceString trait (#139)

* chore!: Remove filesystem access and utilize async fetch with range requests

Co-authored-by: Tom French <[email protected]>

* chore: Switch to tokio test macro for async function (#191)

* chore: Remove `sled` & `tempfile` dev-dependencies (#190)

* chore: Remove sled & tempfile dev-dependencies

* chore: space out functions

---------

Co-authored-by: Tom French <[email protected]>

* chore: bump to crates.io release

* Update src/crs.rs

* chore: Remove streaming CRS download & indicator (#194)

* Update src/acvm_interop/common_reference_string.rs

* code review

---------

Co-authored-by: Blaine Bublitz <[email protected]>
Co-authored-by: Álvaro Rodríguez <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants