Skip to content

Commit

Permalink
Merge branch 'main' into hint_ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen authored Jul 11, 2023
2 parents 7f1af06 + 52ada39 commit dca4b62
Show file tree
Hide file tree
Showing 8 changed files with 1,120 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
uses: actions/checkout@v3

- name: Format
run: cargo fmt --all -- --check
run: make check-fmt

- name: Fetch test programs
uses: actions/cache/restore@v3
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
`get_hint_data(self, &[HintReference], &mut dyn HintProcessor) -> Result<Vec<Box<dyn Any>, VirtualMachineError>`
* Hook methods receive `&[Box<dyn Any>]` rather than `&HashMap<usize, Vec<Box<dyn Any>>>`

#### [0.8.2] - 2023-7-10

* chore: update dependencies, particularly lamdaworks 0.1.2 -> 0.1.3 [#1323](https://github.com/lambdaclass/cairo-vm/pull/1323)

* fix: fix `UINT256_MUL_DIV_MOD` hint [#1320](https://github.com/lambdaclass/cairo-vm/pull/1320)
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ exclude = ["ensure-no_std"]
resolver = "2"

[workspace.package]
version = "0.8.1"
version = "0.8.2"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/lambdaclass/cairo-vm/"
readme = "README.md"

[workspace.dependencies]
felt = { package = "cairo-felt", path = "./felt", version = "0.8.1", default-features = false, features = [
felt = { package = "cairo-felt", path = "./felt", version = "0.8.2", default-features = false, features = [
"alloc",
] }
cairo-vm = { path = "./vm", version = "0.8.1", default-features = false }
cairo-vm = { path = "./vm", version = "0.8.2", default-features = false }
mimalloc = { version = "0.1.37", default-features = false }
num-bigint = { version = "0.4", default-features = false, features = [
"serde",
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,14 @@ test-wasm: $(COMPILED_PROOF_TESTS) $(COMPILED_TESTS) $(COMPILED_BAD_TESTS) $(COM
# NOTE: release mode is needed to avoid "too many locals" error
wasm-pack test --release --node vm --no-default-features


check-fmt:
cargo fmt --all -- --check
cargo fmt --manifest-path fuzzer/Cargo.toml --all -- --check

clippy:
cargo clippy --workspace --all-features --benches --examples --tests -- -D warnings
cargo clippy --manifest-path fuzzer/Cargo.toml --all-targets

coverage:
cargo llvm-cov report --lcov --output-path lcov.info
Expand Down
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
- The versions must be the same.
- You need to update the workspace dependencies `felt` and `cairo-vm`, which
you can find in the root cargo manifest under the section `[workspace.dependencies]`.
- [Here](https://github.com/lambdaclass/cairo-rs/pull/1301/files) is an
example pull request with these changes.
- [ ] Run `cargo update` and `git add Cargo.lock`
- [ ] Update `CHANGELOG.md`:
- Verify that the changelog is up to date.
Expand Down
Loading

0 comments on commit dca4b62

Please sign in to comment.