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

chore: Remove sled & tempfile dev-dependencies #190

Merged
merged 2 commits into from
May 17, 2023

Conversation

phated
Copy link
Contributor

@phated phated commented May 16, 2023

This removes sled and tempfile from the merkle tests. By removing these file-based dependencies from the test infrastructure, we'll need less separation between between wasm32 target tests and native tests.

I'm not sure why the file-based dependencies were used, but it seems that the tests can be done with in-memory BTreeMaps.

Tests are passing, but need a review to make sure I didn't mess something up which makes them always pass 😛

@phated phated force-pushed the phated/remove-sled-tmpfile branch from f9c7bdc to 809e670 Compare May 16, 2023 23:00
@TomAFrench TomAFrench changed the title chore: Remove sled & tempfile dev-dependencies chore: Remove sled & tempfile dev-dependencies May 17, 2023
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

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

LGTM, I've checked over this and don't see any way that it would make tests trivially pass.

We can make some more simplifications here imo but low priority for now. e.g. self.db only holds 3 named values so we can just store those in separate fields.

@TomAFrench TomAFrench enabled auto-merge May 17, 2023 05:36
@TomAFrench TomAFrench added this pull request to the merge queue May 17, 2023
Merged via the queue into master with commit 146a842 May 17, 2023
@TomAFrench TomAFrench deleted the phated/remove-sled-tmpfile branch May 17, 2023 06:13
TomAFrench added a commit that referenced this pull request May 17, 2023
* chore: Remove sled & tempfile dev-dependencies

* chore: space out functions

---------

Co-authored-by: Tom French <tom@tomfren.ch>
TomAFrench added a commit that referenced this pull request May 17, 2023
* master:
  chore: Remove `sled` & `tempfile` dev-dependencies (#190)
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 <15848336+TomAFrench@users.noreply.github.com>

---------

Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>

* fix bad rebase

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

Co-authored-by: Tom French <tom@tomfren.ch>

* update acvm

* feat!: Implement CommonReferenceString trait (#139)

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

Co-authored-by: Tom French <tom@tomfren.ch>

* 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 <tom@tomfren.ch>

* 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 <blaine.bublitz@gmail.com>
Co-authored-by: Álvaro Rodríguez <sirasistant@gmail.com>
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