Skip to content

Commit

Permalink
chore!: remove circuit methods from noir_wasm (#3869)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

This PR removes the unused `circuit` module from `noir_wasm`. We never
need to use these methods as all they do is convert between the
canonical circuit serialisation format and a huge serde-ed json
representation.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
TomAFrench authored Dec 19, 2023
1 parent 9b713f8 commit 12d884e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
18 changes: 0 additions & 18 deletions compiler/wasm/src/circuit.rs

This file was deleted.

2 changes: 0 additions & 2 deletions compiler/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ use serde::{Deserialize, Serialize};
use std::str::FromStr;
use wasm_bindgen::prelude::*;

mod circuit;
mod compile;
mod compile_new;
mod errors;

pub use circuit::{acir_read_bytes, acir_write_bytes};
pub use compile::compile;

// Expose the new Context-Centric API
Expand Down

0 comments on commit 12d884e

Please sign in to comment.